Terminal-Bench 4.0
Terminal-agent tasks · 32 models · source Stanford / Laude Institute · updated 2026-10
Software-engineering tasks inside a real container: install the environment, run the tests, read the errors, fix the code. Every model runs the same mini-SWE-agent scaffold so scaffolding is not a variable.
This is the best available predictor of whether you can hand over a repository and walk away. The spread is enormous: 67% at the top, 20-40% in the middle, 1-2% for light open models.
Full ranking
| # | Model | Score | Vs. best | Input $ | Output $ | Type |
|---|---|---|---|---|---|---|
| 1 | Kimi K3.1 Pro Open sourceMoonshot AI | 67.2 | Best overall | $2.00 | $10.00 | Open source |
| 2 | Gemini 4 CarbonGoogle | 65.2 | 97% | $2.00 | $10.00 | |
| 3 | GPT-6.2 AstraOpenAI | 64.1 | 95% | $8.00 | $40.00 | |
| 4 | Claude Sonnet 5.5Anthropic | 63.6 | 95% | $2.00 | $10.00 | |
| 5 | Gemini 4 NeonGoogle | 63.6 | 95% | $3.00 | $15.00 | |
| 6 | GPT-6.2 SolOpenAI | 60.1 | 89% | $2.00 | $10.00 | |
| 7 | Claude Opus 5.5Anthropic | 59.6 | 89% | $4.00 | $20.00 | |
| 8 | Claude Fable 5.2Anthropic | 59.6 | 89% | $8.00 | $40.00 | |
| 9 | Gemini 4 ArgonGoogle | 57.1 | 85% | $2.00 | $10.00 | |
| 10 | Muse Wonder FullMeta | 57.1 | 85% | — | — | |
| 11 | GPT-6.1 TerraOpenAI | 55.6 | 83% | $1.00 | $5.00 | |
| 12 | Gemini 4 HydrogenGoogle | 53.5 | 80% | $1.50 | $7.50 | |
| 13 | Muse WonderMeta | 52.0 | 77% | $4.00 | $20.00 | |
| 14 | Qwen4 MaxAlibaba Qwen | 48.5 | 72% | $1.50 | $4.50 | |
| 15 | GLM-5.3 Open sourceZ.ai | 41.9 | 62% | $1.40 | $4.40 | Open source |
| 16 | Tencent Hy4Tencent Hunyuan | 37.4 | 56% | $0.83 | $2.50 | |
| 17 | MiMo-V2.6 Pro Open sourceXiaomi | 34.8 | 52% | $0.35 | $1.40 | Open source |
| 18 | DeepSeek V4.1 Flash Open sourceDeepSeek | 33.8 | 50% | $0.30 | $1.20 | Open source |
| 19 | Step 5 PreviewStepFun | 33.3 | 50% | $0.50 | $2.00 | |
| 20 | Claude Haiku 5.5Anthropic | 32.8 | 49% | $0.10 | $0.50 | |
| 21 | GLM-5.3 Flash Open sourceZ.ai | 32.8 | 49% | $0.15 | $0.50 | Open source |
| 22 | Grok 4.7xAI | 25.8 | 38% | $2.00 | $6.00 | |
| 23 | MiniMax M3.1 FlashMiniMax | 25.8 | 38% | $0.15 | $0.60 | |
| 24 | Mistral Large 4 Open sourceMistral | 24.7 | 37% | $0.70 | $2.10 | Open source |
| 25 | Kimi K3 Open sourceMoonshot AI | 17.2 | 26% | $3.00 | $15.00 | Open source |
| 26 | DeepSeek V4 Pro Open sourceDeepSeek | 14.1 | 21% | $1.32 | $3.96 | Open source |
| 27 | GPT-6 LunaOpenAI | 12.6 | 19% | $0.10 | $0.50 | |
| 28 | Qwen3.8 27B Open sourceAlibaba Qwen | 5.6 | 8% | $0.10 | $0.40 | Open source |
| 29 | MiniMax M3 Open sourceMiniMax | 2.0 | 3% | $0.30 | $1.20 | Open source |
| 30 | Nemotron 3 Ultra Open sourceNVIDIA | 0.5 | 1% | $0.40 | $1.60 | Open source |
| 31 | Gemma 4 31B Open sourceGoogle | 0.0 | 0% | $0.10 | $0.40 | Open source |
| 32 | gpt-oss-120b Open sourceOpenAI | 0.0 | 0% | $0.05 | $0.20 | Open source |
Data sources & methodology
Full methodology & sources →Every number on this page comes from published evaluations. We run no tests of our own and accept no vendor-submitted scores. Main sources:
Evaluation data in the wider industry also comes from public datasets, leaderboard platforms and their evaluation harnesses, private in-house sets, production logs and user feedback, and synthetic data. This site's current rankings use only the parts that are public, independently checkable and clearly defined.