Every guide lists its sources, tips, and warnings. Read our editorial policy.

How to Choose a Local AI Model (Step by Step)

A guide to Phase 1 — Define the Job and Measure Your Hardware, Phase 2 — Read the Specs and Shortlist, Phase 3 — Install, Run and Benchmark, Phase 4 — Decide, Integrate and Maintain

Download checklist (PDF)
Interactive Step Checklist0 of 28 steps completed (0%)

There is no single best local model, only the best fit for your tasks, your memory and your tolerance for trading a little quality for speed. Choosing well is mostly measurement: know your hardware, shortlist a few candidates, then run the same real prompts through each one. This guide takes you through 28 concrete steps, from writing a small test set to pinning the exact version you deployed. By the end you will have a model you can justify with numbers rather than one you picked from a leaderboard. Browse all illustrated guides or the AI Models & Technology category for more illustrated walkthroughs on Howcompass.

How do you choose a Local AI Model (Step by Step)?

Overview: How to Choose a Local AI Model (Step by Step)Howcompass | How to Choose a Local AI Model (Step by Step)
Method1

Phase 1 — Define the Job and Measure Your Hardware

Step 1: a checklist listing the tasks a local model will handleHowcompass

List the exact tasks it will handle

List the exact tasks it will handle. Name the concrete jobs — summarising notes, question answering, coding, classification or searching documents. Tasks decide the model family and size; a small model that is excellent at classification may be poor at long reasoning. For the primary source behind this phase, see Anthropic — AI research and documentation.

Step 2: a card listing five sample test promptsHowcompass

Prepare five to ten real test prompts

Prepare five to ten real test prompts. Collect prompts you actually intend to use and keep them as a fixed test set for comparing candidates. Judging models on your own inputs beats any general leaderboard, which rarely reflects your workload.

Step 3: a table mapping devices to available memoryHowcompass

Decide where the model will run

Decide where the model will run. State whether it is a laptop, a desktop with a discrete GPU, a server or a phone. The device sets the ceiling on memory, file format and acceptable model size before you look at any model at all.

Step 4: a requirements card marked 'offline only, no telemetry'Howcompass

Fix your privacy and offline requirements

Fix your privacy and offline requirements. If source material cannot leave the machine, require fully offline operation with no telemetry and no cloud fallback. Write this down now, because it rules out convenient hosted options later.

Step 5: a system-information printout showing available memoryHowcompass

Read the available memory

Read the available memory. Check usable unified memory or VRAM rather than the advertised total, since the system and other apps reserve a share. Memory capacity and bandwidth, not raw processor speed, usually decide whether a model runs smoothly.

Step 6: a table listing CPU, GPU and supported backendsHowcompass

Check CPU, GPU and supported backends

Check CPU, GPU and supported backends. Confirm whether your hardware supports Metal, CUDA, ROCm or Vulkan, because the runtime backend determines how fast inference can be. A model that loads on an unsupported backend may run, but painfully slowly.

Step 7: a bar chart comparing model size against a memory budgetHowcompass

Set a realistic size budget

Set a realistic size budget. As a rule of thumb, the quantised model file should fit well inside available memory with room left for context and the operating system. Filling every last gigabyte leads to sluggish swapping, not a bigger model for free. Related on Howcompass: make a monthly budget.

Method2

Phase 2 — Read the Specs and Shortlist

Step 8: a comparison table explaining parameter counts and quantisation levelsHowcompass

Decode parameter count and quantisation

Decode parameter count and quantisation. Parameter labels such as 7B or 70B indicate capacity and resource hunger, while quantisation like Q4 or Q8 trades precision for a smaller file. Bigger is not automatically better for a narrow task, and a well-chosen quant is often indistinguishable from full precision. For the primary source behind this phase, see NIST — AI Risk Management Framework.

Step 9: a bar chart of memory use across quantisation levelsHowcompass

Match quantisation to available memory

Match quantisation to available memory. A Q4 quant uses roughly half a byte per parameter and is the practical default on most consumer machines. If memory allows, Q5 or Q6 can recover a little quality, so spend the budget where it benefits your tests.

Step 10: a pairing card matching file formats to runtimesHowcompass

Choose a file format for your runtime

Choose a file format for your runtime. GGUF suits CPU and Apple-silicon inference through llama.cpp or Ollama, while formats like EXL2 or AWQ target GPU runtimes. The wrong format will fail to load or run far slower than the same weights in the right one.

Step 11: a spec card listing context length and special abilitiesHowcompass

Check context length and special abilities

Check context length and special abilities. Long documents need a larger context window, and coding, maths or multilingual work have their own benchmarks. Do not pick by parameter count alone when a smaller specialised model may serve you better. Browse all illustrated guides or the AI Models & Technology category for more.

Step 12: a licence text with commercial and redistribution clauses highlightedHowcompass

Read the licence before downloading

Read the licence before downloading. Check the terms for commercial use, redistribution and limits on derivative models, since weights can carry restrictions that code does not. A model you cannot legally deploy is a poor bargain no matter how well it scores.

Step 13: a model card listing release date, maintainer and update historyHowcompass

Check provenance and maintenance

Check provenance and maintenance. Prefer models with a clear source, official documentation and recent updates over anonymous weight files. A maintained model has a place to report bugs and a path to security fixes.

Step 14: a comparison table of two or three shortlisted modelsHowcompass

Shortlist two or three candidates

Shortlist two or three candidates. Filter by task, memory budget and licence until only two or three remain. A longer list turns selection into endless comparison, when a few well-chosen candidates are enough to decide. Related on Howcompass: protect your privacy when using AI.

Method3

Phase 3 — Install, Run and Benchmark

Step 15: a terminal showing the runtime version and help outputHowcompass

Install a local inference runtime

Install a local inference runtime. Set up a runtime such as llama.cpp, Ollama or a GPU-oriented server that matches your backend, and confirm its command line lists available models. A working runtime gives you a stable base for fair comparisons. For the primary source behind this phase, see Mozilla — web and browser resources.

Step 16: a download list showing model files and verification hashesHowcompass

Download weights from a trusted source

Download weights from a trusted source. Pull the model files from an official repository or a well-known hub and verify the size and checksum before use. A corrupted or tampered file can fail mysteriously or behave in ways you did not intend.

Step 17: a terminal showing a model load log and memory useHowcompass

Load the model and confirm it answers

Load the model and confirm it answers. Start with one simple prompt and read the load log for how many layers were placed on the GPU and how much memory was used. If this baseline is unhealthy, no benchmark that follows will be meaningful.

Step 18: a settings panel showing the GPU offload layer countHowcompass

Tune how many layers go to the GPU

Tune how many layers go to the GPU. If memory headroom remains, increase GPU-offloaded layers in small steps to gain speed, stopping before usage reaches the limit. Pushing one layer too far trades a fast model for constant, slow swapping.

Step 19: a comparison table recording answers from several candidatesHowcompass

Run the same prompt set on every model

Run the same prompt set on every model. Feed the fixed test prompts prepared earlier to each candidate and record the answers side by side. Identical inputs are what make a quality comparison fair rather than a matter of impression.

Step 20: a benchmark table of tokens per second and load timeHowcompass

Measure speed and time to first token

Measure speed and time to first token. Log tokens per second and the delay before the first word appears, since responsiveness shapes everyday use as much as raw answer quality. A slightly weaker model that answers instantly often feels better in practice.

Step 21: a printed output answering a long-document taskHowcompass

Save the hardest real task for last

Save the hardest real task for last. Finish by running your most demanding prompt, such as a long document or a complex code change, on the leading candidate. Models that look strong on short questions can fall apart once the context grows. Related on Howcompass: make a monthly budget.

Method4

Phase 4 — Decide, Integrate and Maintain

Step 22: a weighted decision table scoring candidate modelsHowcompass

Score candidates on quality, speed and fit

Score candidates on quality, speed and fit. Put quality, speed, memory use and licence into one weighted table, then pick the best total rather than the winner of a single column. This makes the decision defensible to yourself and to anyone who repeats it. For the primary source behind this phase, see Microsoft Learn.

Step 23: a settings card naming a default model and a fallbackHowcompass

Set a default model and a fallback

Set a default model and a fallback. Choose one everyday default and name a second option for demanding tasks or when the first fails. Deciding this once avoids re-litigating the choice every time you open an application.

Step 24: a sample local API endpoint and configurationHowcompass

Connect it through a local API

Connect it through a local API. Expose the runtime through a local, OpenAI-compatible endpoint so applications can switch models without rewriting code. Keeping the endpoint on your machine means prompts and keys never need to leave it.

Step 25: a checklist recording exact model version and quantisation tagHowcompass

Pin the exact version and quantisation

Pin the exact version and quantisation. Record the precise model revision and quant tag you deployed, and change only one variable at a time when upgrading. When a later update changes behaviour, a pinned version gives you something reliable to roll back to.

Step 26: a monitoring chart of memory and temperature over timeHowcompass

Watch memory and thermal headroom

Watch memory and thermal headroom. Monitor memory use and temperature during long sessions, since sustained full load throttles speed and stresses hardware. Leaving a margin keeps responses consistent when a long conversation grows.

Step 27: a regression table comparing answers before and after an updateHowcompass

Keep a small regression prompt set

Keep a small regression prompt set. Re-run your test prompts after every model or runtime update and compare against saved answers. Silent quality regressions are common, and they are invisible unless you check deliberately.

Step 28: a calendar marked for periodic model re-evaluationHowcompass

Re-evaluate every few months

Re-evaluate every few months. Local models and quantisation methods improve quickly, so revisit the same benchmark on a loose schedule to see whether a newer option is worth switching to. A dated comparison keeps the decision current without chasing every release. Related on Howcompass: protect your privacy when using AI.

Frequently Asked Questions

Question: How much memory do I actually need?

Enough to hold the quantised model file plus room for context and the system, typically leaving at least a few gigabytes spare. Check usable unified memory or VRAM rather than the advertised total, and match the quantisation to that figure.

Question: What is quantisation, in plain terms?

It stores the model's numbers at lower precision, shrinking the file and speeding up inference with a small quality cost. Q4 is a common sweet spot on consumer hardware, while Q5 or Q8 use more memory for finer answers.

Question: Is a local model as good as a cloud model?

Top-tier cloud models still lead on the hardest reasoning tasks, but a well-matched local model handles many everyday jobs well, keeps data private and costs nothing per call. Benchmark on your own tasks to see where the gap actually matters.

Warnings

  • Choosing by parameter count alone: A larger model is not automatically better for your workload and will demand more memory and bandwidth; compare candidates on a fixed set of your own prompts instead of a leaderboard.
  • Ignoring the licence: Weight files can restrict commercial use, redistribution or derivatives, so read and record the terms before investing time in a model you may not be able to deploy.
  • Downloading an oversized quantisation: A model that barely fits in memory will swap constantly and feel unusable; leave headroom for context and the operating system, then raise quantisation only if your tests show a benefit.

References (4)

  1. Anthropic — AI research and documentationanthropic.com
  2. NIST — AI Risk Management Frameworknist.gov
  3. Mozilla — web and browser resourcesmozilla.org
  4. Microsoft Learnlearn.microsoft.com

Sources are listed so you can read the underlying guidance yourself. Our editorial policy explains how guides are reviewed.

Did this article help you?

0 readers found this helpful — add your vote.

Reader Comments (0)

No comments yet — be the first to share your results.