cat ./picks.md
Pick a Coding Model by Your Workload.
Choosing a local coding model is three questions in order: what languages, what hardware, what job. Leaderboards answer none of them for your situation.

Leaderboards rank coding models on benchmark problems that look nothing like a Tuesday afternoon in a real repository. They are useful for narrowing a long list. They are useless for the final choice. This is the selection page of the page on local ai for coding, and it is deliberately short on names and long on method.
Start With the Job

Completion wants a small model trained for fill-in-the-middle and a response time you do not notice. Chat wants a larger instruction-tuned model and tolerates a pause. An agent wants tool calling, a long context window and the judgement to stop. These pull in different directions, and the usual answer for a team is two models, not one: a small completer on every laptop and a larger chat or agent model on a shared server. The agent side has its own demands, which we cover in our guide to agents.
Then the Languages
Coding models are trained on public code, and public code is overwhelmingly Python, JavaScript, TypeScript and a handful of others. If your shop writes Go or Rust you are still well served. If it writes PL/SQL, ABAP, COBOL, Delphi or a proprietary scripting language, test before you commit, because the model may complete it fluently and wrongly. A ten-minute trial on your own files tells you more than any published table.
Then the Hardware

The model has to fit in the memory you have, with room left for the context. A completion model that spills from the graphics card into system memory becomes slow enough to be worse than no completion at all. Decide the memory budget first, then look at what fits at a quantisation level that does not visibly hurt quality. For a shared server, multiply the context by the number of people typing at once.
How to Trial a Candidate
Take twenty real tasks from last month's commits. Small ones. Run each candidate on them and score the output yourself, not by whether it compiles but by whether you would have merged it. Note the failures, because a model that fails loudly is safer than one that fails plausibly. The failure patterns to watch for are catalogued in local ai code quality, explained.
One Page Below
- best local ai model for coding, where we say what we actually run and why, with the caveats.
The method is the same one we use for document models: freeze a test set from real work, score every candidate on it, publish the misses. The model that wins on your files is the best one, whatever the leaderboard says.

Prove it on your documents.
Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.