Guides · 5 min read

Set up a local coding assistant

What a coding model needs that a chat model does not: context, tool use and a steady speed. Plus the agents that work with local models.

Coding is the hardest everyday job for a local model, for three reasons. The prompts are huge, because an agent sends the files it is working on. The model must follow strict formats, so it can call tools and edit files. And an agent makes many calls in a row, so a slow model is a slow afternoon.

What to choose

  1. A model tagged for coding or agents. The task tags on each model page and the “Best for” lists show which models are built for it (reading the tags).
  2. The biggest one that runs well. Coding quality climbs with size more than casual chat does. Prefer one that Runs well over one that is slow but a grade higher (ratings).
  3. An agent or editor integration. The apps page lists several that work with local models, including OpenCode, Aider, Cline, Zed, Goose and Codex CLI. They connect through the local API.

Settings that matter

Expectations

A local model on a single consumer card will not match the largest hosted models on big, multi-file tasks. It will handle explanations, small edits, tests, shell commands and refactors well, and your code never leaves the machine. Many people use a local model for routine work and keep a hosted one for the hardest problems.

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.