Coding leaderboard

Best LLMs for coding

This leaderboard weights the benchmarks that actually predict real developer productivity: SWE-bench Verified (real GitHub bugs), Aider Polyglot (multi-language edits), Terminal-Bench (end-to-end shell agents), and LiveBench (contamination-resistant reasoning). Scores update every refresh cycle.

Composite weightingHow this is calculated →

Category leader

#01Anthropic

Anthropic: Claude Fable 5.1.

Claude Fable 5.1 improves on Claude Fable 5 across the board, with the biggest gains in agentic coding, long-running agentic workflows, and knowledge work: long code refactors, front-end and visual...

Composite score
83.3
/ 100

+1.9 vs #2

Ranking

N=45
#ModelCompositeSWE-benchAider PolyglotTerminal-BenchLiveBenchAA Index
0183.382.490.773.987.477
0281.379.588.174.485.875
0381.078.886.972.688.677
0480.478.688.970.984.974
0579.877.387.571.885.574
0677.575.885.169.682.170
0777.575.485.269.782.770
0877.276.384.166.982.774
0977.274.985.569.481.669
1076.974.684.868.982.370
1175.873.585.663.784.865
1275.573.784.166.680.267
1374.972.982.866.880.167
1474.372.482.266.179.566
1574.271.882.965.979.466
1673.771.681.965.179.166
1773.771.780.463.882.767
1873.170.881.264.778.765
1973.170.683.764.276.263
2072.369.982.163.176.963
2172.369.580.863.878.365
2272.272.982.258.377.458
2372.171.978.463.180.552
2472.069.879.863.677.764
2571.972.879.860.978.849
2671.671.882.955.178.260
2771.368.779.762.477.863
2870.968.178.663.477.164
2970.970.879.857.977.260
3070.770.782.453.877.559
3170.470.081.057.075.060
3269.868.978.660.471.464
3369.767.176.959.878.565
3469.666.777.961.875.662
3569.667.878.659.376.259
3669.170.875.557.275.155
3768.170.873.653.974.161
3866.263.577.452.473.562
3966.068.272.149.674.659
4065.264.775.450.872.453
4164.861.672.756.172.858
4264.164.374.347.572.852
4360.659.868.746.472.149
4460.057.471.446.868.548
4558.054.771.538.171.453

How to read the coding leaderboard

Coding ability is the hardest capability to summarise in one number, because 'writing code' is really four separate skills: producing a correct patch, applying that patch to an existing file without mangling it, navigating an unfamiliar repository, and recovering when a test fails. Each of the benchmarks below measures a different one, which is why we weight rather than pick.

SWE-bench Verified carries the most weight because its pass criterion cannot be argued with: the model's patch either makes the project's own hidden tests go green or it does not. It is the closest public proxy for 'can this model close a real ticket'. Its limits are worth knowing — it is Python-only, drawn from a narrow set of large repositories, and results shift by ten points or more depending on the agent harness wrapped around the model. Compare scores from the same harness or not at all.

Aider Polyglot fills the language gap and, more importantly, measures edit-format compliance across C++, Go, Java, JavaScript, Python and Rust. A model that reasons brilliantly but emits malformed diffs will feel broken inside an IDE regardless of its SWE-bench number, and this is the benchmark that exposes that failure. Terminal-Bench then adds the long-horizon dimension: planning, running commands, reading stderr and course-correcting without a human in the loop. LiveBench acts as the contamination-resistant control, since its questions rotate and cannot have been memorised.

A practical way to use the table: shortlist the top three, then check price and throughput before committing. Coding workloads are token-hungry, and a model two points behind at a third of the cost is usually the better production choice. Reasoning models also emit large volumes of hidden thinking tokens, so measure cost per merged pull request rather than cost per token — the ordering often changes when you do.

Finally, treat gaps under roughly three points as ties. These evaluations have a few hundred items each, which puts several points inside the noise band. If two models are that close, the deciding factors should be latency, context window, tool-calling reliability and how they behave on your own repository — not the leaderboard.

More on how these numbers are produced in the methodology and what each evaluation measures in the benchmark guide. Spotted a score that disagrees with its source? Tell us.

Frequently asked

What is the best LLM for coding right now?
The current #1 on this coding-weighted composite is shown at the top of the table. It aggregates SWE-bench Verified (35%), Aider Polyglot (25%), Terminal-Bench (20%), LiveBench (15%) and AA Index (5%).
Why isn't a benchmark like HumanEval used?
HumanEval is saturated and heavily contaminated in modern training data, so it no longer discriminates between frontier models. SWE-bench Verified and Aider Polyglot are today's stronger signals.