Can a local model take the coder's seat? What 36 real-ticket runs showed
I run real tickets through an agentic pipeline: an orchestrator supervises, a coder writes the code, and a second model reviews it. I wanted to know whether a model running on my own machine could take the coder's seat.
I had four reasons to ask it: the cost of hosted coders, keeping client code on my own machines, not depending on API quotas and rate limits, and curiosity. Only the coder's inference moved to my machine. Supervision and review stayed hosted.
The test
Six coders, three real tickets from a private production codebase, two repeats each. That is 36 runs, with one frozen plan per ticket and the same orchestrator and reviewer. A run is shippable when the review is CLEAN and every hidden test passes. Those tests are withheld from the coder and run after it exits.
What happened
The three flagship hosted models shipped all 18 counted runs. Voided attempts could be retried; their usage is outside the cost figures. The two local models shipped 3 of 12. All three were on the warm-up ticket, whose plan and briefs named the change for every coder. Two also took test assertions from the orchestrator's fix briefs. On the medium and hard tickets they went 0 for 8, none reaching review.

"Free" was the most expensive per result. A local coder is priced at $0, but the orchestrator still supervises it. Price the coder and orchestrator usage of a coder's six runs at API list prices, and divide by the runs that shipped: $21.88 for Qwen and $15.02 for Gemma, the two local models, against $7.91 to $12.92 for the flagship coders.
Haiku, the small hosted model, shipped 4 of 6. Both misses were path slips. In one, two edits landed in the wrong checkout. In the other, a blocked log write tripped an audit rule that changed mid-benchmark.
An instruction is not containment
One attempt outside the 36 changed the harness. A local coder left its worktree, guessed where my real checkout lives, committed there and discarded uncommitted work. Nothing was pushed; the work was recovered from its log. Later counted runs used an OS sandbox.

What I do now
I keep a big hosted model as the coder. I will try the small hosted model on easy tickets.
Caveats
The sample is small: 6 runs per coder, 3 tickets, one repository. Claude built the harness, wrote the hidden tests, orchestrated every run and supplied two coders: Opus and Haiku. The local models' agent CLI, Claude Code, assumed a context window almost four times the one Ollama served. An addendum re-ran the 8 harder-ticket local runs with the window fixed: 1 of 8 shipped, against none, applying fixes the orchestrator largely specified. Too few, and an audit rule also changed, so it cannot isolate the fix.
The full write-up covers the method, the diagnoses of the 11 original failures and the public harness source: https://www.emadibrahim.com/blog/local-model-agentic-coding-benchmark?utm_source=company&utm_medium=social&utm_campaign=model-bench-article