The test
Terminal-Bench
Can it get real jobs done by typing commands in a terminal?
A terminal is the text window where you type commands to control a computer. The AI gets a job, like building a program from its code or setting up a server, and types commands until it is done. Then tests check the computer to see if the job really worked.

Top 15 on Terminal-Bench
Longer bar = better result.
- 1GPT-5.5OpenAI84.7%
- 2GPT-5.4OpenAI81.8%
- 3Claude Opus 4.7Anthropic80.2%
- 4Gemini 3.1 ProGoogle80.2%
- 5Claude Opus 4.6Anthropic79.8%
- 6GPT-5.3 CodexOpenAI78.4%
- 7Gemini 3 ProGoogle69.4%
- 8GPT-5.2 CodexOpenAI66.5%
- 9GPT-5.2OpenAI64.9%
- 10Gemini 3 FlashGoogle64.3%
- 11Claude Opus 4.5Anthropic63.1%
- 12GPT-5.1-Codex-miniOpenAI61.6%
- 13GPT-5.1-Codex-MaxOpenAI60.5%
- 14GPT-5.1-CodexOpenAI57.8%
- 15Grok 4.20xAI57.3%
In plain words
- What it really measures
- 89 hard, hand-checked tasks in 16 categories (software engineering is the biggest), each in its own sealed computer with a human-written solution and tests. Scored per model plus agent tool.
- Example question
- “You land in a Linux machine with a broken Python project. Install the missing tools, fix the build, train a tiny model on the given data and save it to a file. A test script then checks the file.”
- Who should care
- Developers and system admins who want an AI agent to run commands, set up tools and fix systems on its own.
- The catch
- The score depends on the agent tool wrapped around the model (like Claude Code or Codex CLI), not just the model. Top runs now solve over 80% of tasks.
Made by Stanford University and Laude Institute, with many outside contributors. Official page · Scores via Epoch AI Benchmarking Hub · Counts toward working in the terminal, writing code
Progress over time
How the best score has improved as new models came out.
All 45 results
| # | Model | Result | Beats current AIs | Tested |
|---|---|---|---|---|
| 1 | GPT-5.5OpenAI | 84.7% | 100% | Apr 2026 |
| 2 | GPT-5.4OpenAI | 81.8% | 98% | Mar 2026 |
| 3 | Claude Opus 4.7Anthropic | 80.2% | 94% | Apr 2026 |
| 4 | Gemini 3.1 ProGoogle | 80.2% | 94% | Feb 2026 |
| 5 | Claude Opus 4.6Anthropic | 79.8% | 91% | Mar 2026 |
| 6 | GPT-5.3 CodexOpenAI | 78.4% | 89% | Feb 2026 |
| 7 | Gemini 3 ProGoogle | 69.4% | 86% | Nov 2025 |
| 8 | GPT-5.2 CodexOpenAI | 66.5% | 84% | Jan 2026 |
| 9 | GPT-5.2OpenAI | 64.9% | 82% | Dec 2025 |
| 10 | Gemini 3 FlashGoogle | 64.3% | 80% | Dec 2025 |
| 11 | Claude Opus 4.5Anthropic | 63.1% | 77% | Nov 2025 |
| 12 | GPT-5.1-Codex-miniOpenAI | 61.6% | 75% | Nov 2025 |
| 13 | GPT-5.1-Codex-MaxOpenAI | 60.5% | 73% | Nov 2025 |
| 14 | GPT-5.1-CodexOpenAI | 57.8% | 70% | Nov 2025 |
| 15 | Grok 4.20xAI | 57.3% | 68% | Mar 2026 |
| 16 | Claude Sonnet 4.6Anthropic | 53.4% | 66% | Feb 2026 |
| 17 | GLM-5Z.ai (Zhipu) | 52.4% | 64% | Feb 2026 |
| 18 | GPT-5OpenAI | 49.6% | 61% | Aug 2025 |
| 19 | GPT-5.1OpenAI | 47.6% | 59% | Nov 2025 |
| 20 | Claude Sonnet 4.5Anthropic | 46.5% | 57% | Sep 2025 |
| 21 | MiniMax-M2.7MiniMax | 45.1% | 55% | Mar 2026 |
| 22 | GPT-5-CodexOpenAI | 44.3% | 52% | Sep 2025 |
| 23 | Kimi K2.5Moonshot AI (Kimi) | 43.2% | 50% | Jan 2026 |
| 24 | MiniMax-M2.5MiniMax | 42.7% | 48% | Feb 2026 |
| 25 | DeepSeek-V3.2DeepSeek | 39.6% | 45% | Dec 2025 |
| 26 | Claude Opus 4.1Anthropic | 38.0% | 43% | Oct 2025 |
| 27 | MiniMax-M2.1MiniMax | 36.6% | 41% | Dec 2025 |
| 28 | Kimi K2 ThinkingMoonshot AI (Kimi) | 35.7% | 39% | Nov 2025 |
| 29 | Claude Haiku 4.5Anthropic | 35.5% | 36% | Oct 2025 |
| 30 | GPT-5 miniOpenAI | 34.8% | 34% | Aug 2025 |
| 31 | GLM-4.7Z.ai (Zhipu) | 33.4% | 32% | Dec 2025 |
| 32 | Gemini 2.5 Pro (Jun 2025)Google | 32.6% | 30% | Jun 2025 |
| 33 | MiniMax-M2MiniMax | 30.0% | 27% | Oct 2025 |
| 34 | Kimi K2 (Jul 2025)Moonshot AI (Kimi) | 27.8% | 25% | Nov 2025 |
| 35 | Grok 4xAI | 27.2% | 23% | Nov 2025 |
| 36 | Qwen3-Coder-480B-A35BAlibaba (Qwen) | 27.2% | 20% | Jul 2025 |
| 37 | Grok Code Fast 1xAI | 25.8% | 18% | Aug 2025 |
| 38 | Qwen 3.6 35B-A3BAlibaba (Qwen) | 24.6% | 16% | Apr 2026 |
| 39 | GLM-4.6Z.ai (Zhipu) | 24.5% | 14% | Sep 2025 |
| 40 | GPT-5 nanoOpenAI | 21.8% | 11% | Aug 2025 |
| 41 | gpt-oss-120bOpenAI | 18.7% | 9% | Nov 2025 |
| 42 | Gemini 2.5 Flash (Sep 2025)Google | 17.1% | 7% | Nov 2025 |
| 43 | Gemini 2.5 Flash (Jun 2025)Google | 17.1% | 5% | Jun 2025 |
| 44 | Qwen3.5-9BAlibaba (Qwen) | 9.2% | 2% | Mar 2026 |
| 45 | gpt-oss-20bOpenAI | 3.4% | 0% | Nov 2025 |
Quick answers
What does Terminal-Bench test?
A terminal is the text window where you type commands to control a computer. The AI gets a job, like building a program from its code or setting up a server, and types commands until it is done. Then tests check the computer to see if the job really worked. 89 hard, hand-checked tasks in 16 categories (software engineering is the biggest), each in its own sealed computer with a human-written solution and tests. Scored per model plus agent tool.
Which AI scores highest on Terminal-Bench?
GPT-5.5 from OpenAI leads with 84.7%, then GPT-5.4 (81.8%).
See the details →Is Terminal-Bench a good test?
The score depends on the agent tool wrapped around the model (like Claude Code or Codex CLI), not just the model. Top runs now solve over 80% of tasks.