Best models for coding agents
An agent works for minutes at a time without anyone watching, so the wait before the first token is close to irrelevant. What decides it is whether the model writes code that passes, drives tools without losing the thread, and holds a large repository in context — and what that costs over a long session, since an agent burns tokens at a rate a chat never does.
As of 15 Nov 2026, Muse Wonder Full at max effort fits this best, with coding of 70 and tool use of 64.
Ranked on one measure instead: Best LLM for coding (November 2026) · Best LLM for agents (November 2026)
How this is weighted
- 35%Codingthe work is writing code that actually runs
- 30%Tool usean agent spends most of its turns calling tools and reading what came back, not composing prose
- 20%Long contexta real repository does not fit in a small window, and attention that degrades over length shows up as forgotten decisions
- 15%Price per 1Msessions run long, so a price difference that is invisible in a chat is the whole budget here
246 of 339 ranked models qualify: the rest either miss one of the measurements the weighting depends on, or fall outside a limit above. We would rather leave a model out than score it on the dimensions it happens to have.
Benchmark scores above are pooled across a model’s reasoning-effort settings, weighted by how many benchmarks each rests on. Publishers rarely run the same board at every setting, so a single setting’s category score often comes from one result — and one result moves too much to decide an order. Latency and price stay per-setting, because those genuinely differ.
| # | Model | Fit | Coding | Tool use | Long context | Price per 1M | Context window | OpenRouter share |
|---|---|---|---|---|---|---|---|---|
| 1 | 93 | 70 | 64 | 67 | – | 1M | – | |
| 2 | 87 | 65 | 65 | 64 | – | 262k | – | |
| 3 | 84 | 61 | 64 | 65 | $0.230 | 256k | – | |
| 4 | 83 | 71 | 69 | 64 | $4.00 | 1.0M | 0.24% | |
| 5 | New | 83 | 75 | 81 | 66 | $16.00 | 1M | 0.36% |
| 6 | 82 | 62 | 65 | 61 | – | 256k | – | |
| 7 | 81 | 65 | 64 | 68 | $4.00 | 1.0M | 1.9% | |
| 8 | 80 | 65 | 64 | 66 | $4.00 | 1.1M | 1.9% | |
| 9 | 80 | 63 | 64 | 64 | $2.00 | 1.1M | 0.59% | |
| 10 | 78 | 71 | 63 | 66 | $20.00 | 1M | 0.01% | |
| 11 | 78 | 67 | 63 | 67 | $20.00 | 1M | 0.08% | |
| 12 | 78 | 64 | 64 | 64 | $4.00 | 1.0M | 0.43% | |
| 13 | 78 | 69 | 62 | 66 | $8.00 | 1M | 3.3% | |
| 14 | 78 | 70 | 64 | 65 | $20.00 | 1.1M | 0.14% | |
| 15 | 77 | 66 | 65 | 64 | $8.00 | 1.1M | 0.11% | |
| 16 | 77 | 60 | 55 | 66 | $0.475 | 1.0M | 0.48% | |
| 17 | 76 | 59 | 64 | 65 | $3.00 | 500k | 0.03% | |
| 18 | 76 | 61 | 65 | 64 | $4.00 | 1M | 1.2% | |
| 19 | 76 | 59 | 55 | 68 | $0.548 | 1.0M | 0.46% | |
| 20 | 75 | 60 | 59 | 66 | $2.00 | 1.0M | 0.03% | |
| 21 | 75 | 56 | 72 | 65 | $2.92 | 262k | – | |
| 22 | 75 | 57 | 65 | 66 | $4.81 | 400k | <0.01% | |
| 23 | 74 | 65 | 63 | 65 | $10.00 | 1M | 0.09% | |
| 24 | New | 74 | 63 | 62 | – | $3.00 | 1.0M | 0.05% |
| 25 | 72 | 61 | 59 | 65 | $3.00 | 1M | 0.10% | |
| 26 | 72 | 55 | 68 | 66 | $4.81 | 272k | <0.01% | |
| 27 | 72 | 62 | 62 | 65 | $8.00 | 1.0M | 0.06% | |
| 28 | 72 | 61 | 57 | – | $1.25 | 960k | 9.0% | |
| 29 | 72 | 57 | 62 | 71 | $3.50 | 200k | <0.01% | |
| 30 | 72 | 58 | 61 | 62 | – | – | – | |
| 31 | 71 | 62 | 53 | 65 | $1.50 | 1.0M | 0.14% | |
| 32 | 71 | 63 | 64 | 63 | $10.00 | 1M | <0.01% | |
| 33 | 71 | 62 | 59 | 64 | $4.00 | 1.1M | 0.12% | |
| 34 | 70 | 53 | 58 | 65 | $0.175 | 1.0M | 1.1% | |
| 35 | 70 | 58 | 62 | 56 | $0.150 | 256k | – | |
| 36 | 70 | 65 | 54 | 63 | $2.00 | 1.0M | <0.01% | |
| 37 | 70 | 55 | 55 | 65 | $0.262 | 1M | 1.6% | |
| 38 | 69 | 60 | 55 | 67 | $6.00 | 1.0M | 0.55% | |
| 39 | 69 | 55 | 55 | 65 | $0.238 | 1M | 5.6% | |
| 40 | 69 | 58 | 67 | 62 | $10.00 | 200k | <0.01% |
How to read this
Fit is a percentile blend, not a score out of a hundred: each dimension is ranked against every other model that could be judged here, then combined with the weights above. It says how well a model matches this job compared with the alternatives — a model can fit voice work superbly and sit well down the quality leaderboard, which is the point of ranking by job rather than by index.
The last column is not part of the fit score. It is the share of a week’s tokens that went to each model on OpenRouter, which is what people chose rather than what measured well — often a different answer. Read it as one marketplace’s slice: traffic sent straight to a maker’s own API never appears, and a model you run on your own hardware never appears at all, so a small share is not evidence that nobody uses it.
Disagree with the weighting? That is a reasonable thing to do, which is why it is printed rather than hidden. To set your own constraints instead, use the model finder.
Cite as: BenchLeader, “Best models for coding agents”, data as of 15 Nov 2026, https://www.benchleader.com/use/coding-agents.