Use LiveCodeBench for code generation, SWE-bench for repository repair, Terminal-Bench for tool-using agents, and SciCode for scientific programming. If you are choosing a production coding assistant, use at least one repository benchmark, one terminal or agent benchmark, and a private evaluation from your own code.
A coding benchmark is a compressed description of a job. When people ask “which model is best at coding?”, they often combine autocomplete, algorithmic problem solving, code review, debugging, repository search, terminal use, test repair, architecture, and frontend taste into one word. No single public benchmark covers that surface.
What each coding benchmark actually measures
SWE-bench Verified
- Job
- Fix a real GitHub issue
- Unit
- Repository-level patch
- Best signal
- Software-engineering agents
- Blind spot
- Scores depend heavily on the agent, tools, retrieval, retries, and harness version.
Terminal-Bench 2.1
- Job
- Complete work in a terminal
- Unit
- Long-horizon environment task
- Best signal
- Tool use and recovery
- Blind spot
- Not a pure code-generation test; operational reasoning and scaffold quality matter.
LiveCodeBench
- Job
- Solve fresh programming problems
- Unit
- Generated solution
- Best signal
- Code reasoning with lower contamination risk
- Blind spot
- Does not reproduce repository navigation, code review, or multi-file agent work.
SciCode
- Job
- Implement scientific problems
- Unit
- Research-oriented code task
- Best signal
- Scientific programming
- Blind spot
- Specialized domain; weaker proxy for web development or routine product engineering.
HumanEval
- Job
- Complete a Python function
- Unit
- Small isolated function
- Best signal
- Basic code generation
- Blind spot
- Older, narrow, and increasingly saturated; poor proxy for modern coding agents.
Coding Index
- Job
- Aggregate several coding signals
- Unit
- Composite score
- Best signal
- Fast cross-model orientation
- Blind spot
- The weighting is a judgment. A composite can hide the exact failure mode you care about.
HumanEval still appears in many comparison articles because it is simple and familiar. It is now more useful as a historical baseline than a selection benchmark. Modern frontier models can saturate narrow function-completion tests while still failing to navigate an unfamiliar repository or recover from a broken test run.
What changed in the latest coding benchmarks?
Terminal-Bench 4.0 changes the task set, environments and resource limits; the benchmark authors say those changes require new runs. A score on 2.1 is therefore not a 4.0 score. Our table below shows 2.1 only when the data feed supplies it; it is not the current Terminal-Bench leaderboard.
See our Terminal-Bench 2.1 vs 4.0 guide for the version differences and the limits of the available scores.
Artificial Analysis introduced Intelligence Index v5 on October 27, 2026, with FrontierCode 2.0 and Terminal-Bench 4.0 in its coding category. Its separate Coding Agent Index evaluates an agent system under its own methodology. Neither an index version nor an agent leaderboard score should be inferred from a model name. Check the configuration, harness and evaluation version before comparing results.
One dataset, four different ranking questions
The tables below use the same model dataset but sort it by four different metrics. If the first-place model changes, the benchmark is not necessarily contradicting itself. The question changed.
Composite coding capability
Coding Index leaders
- No scores for this benchmark are available in the current data.
Terminal agent work
Terminal-Bench 2.1 leaders
- 1Claude Fable 5.1 (Max, Default Fallback)Anthropic · Proprietary91%
- 2GPT-5.6 Sol (Xhigh)OpenAI · Proprietary90%
- 3GPT-6 Astra (High)OpenAI · Proprietary90%
- 4Qwen3.8 Max (0902)Alibaba · Proprietary89%
- 5Claude Opus 5 (Max)Anthropic · Proprietary89%
Fresh code generation
LiveCodeBench leaders
- No scores for this benchmark are available in the current data.
Scientific programming
SciCode leaders
- 1Claude Fable 5.2 (Max, Default Fallback)Anthropic · Proprietary67.7%
- 2Claude Opus 5.5 (Max, Default Fallback)Anthropic · Proprietary66.9%
- 3Claude Fable 5.1 (Max, Default Fallback)Anthropic · Proprietary63.1%
- 4Muse Wonder Full (Max)Meta · Proprietary62.6%
- 5Gemini 4 Argon (High)Google · Proprietary61.8%
A composite Coding Index is an efficient shortlist. It should not be the final decision. If your product is a terminal agent, a two-point composite advantage can matter less than a ten-point Terminal-Bench difference. If your users mostly ask for small Python functions, the reverse may be true.
SWE-bench scores models and systems unless you control the harness
SWE-bench Verified contains 500 human-validated, solvable GitHub issues. That makes it far more realistic than isolated code generation. It also makes the evaluation a system test: an agent must inspect a repository, decide what to open, create a patch, and often interpret tests.
The official leaderboard therefore separates the full system leaderboard from a bash-only language-model view using mini-SWE-agent. Even the bash-only view tracks harness releases because tool-calling and prompt changes affect comparability. Compare models only under the same agent and release. Compare products on the full leaderboard only when the product—not the base model—is what you are buying. See the official SWE-bench Verified notes.
The comparison rule
Same model, different agent
Measures scaffolding
Different model, same agent
Measures model contribution
Different model and agent
Measures complete product systems
Build a coding scorecard around failure, not prestige
The right scorecard starts with what an incorrect answer costs. A failed autocomplete is cheap. A plausible patch merged into a production repository is not. Weight your evaluation accordingly.
The weights above are a starting hypothesis, not a universal formula. Change them for your workflow, preregister the acceptance rule, and keep the failed outputs. The failure clusters usually teach more than the average score.
Methodology and sources
- Leader tables use available Artificial Analysis metrics exposed through the WhatLLM data layer; the data source and snapshot status appear above.
- Terminal-Bench 4.0 release notes describe task and resource changes.
- Artificial Analysis Coding Agent Index methodology describes the evaluated system and index.
- SWE-bench Verified documents its 500 tasks and harness distinctions.
- Scores with missing coverage are excluded rather than imputed.
- Model variants are deduplicated by base name within each top-five table.
For the current multi-benchmark ranking, continue to Best LLM for Coding.