Skip to content
benchtopia
  • Fetching the field guide…

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.

45 models testedSince May 2025

Top 15 on Terminal-Bench

Longer bar = better result.

  1. 1GPT-5.5OpenAI84.7%
  2. 2GPT-5.4OpenAI81.8%
  3. 3Claude Opus 4.7Anthropic80.2%
  4. 4Gemini 3.1 ProGoogle80.2%
  5. 5Claude Opus 4.6Anthropic79.8%
  6. 6GPT-5.3 CodexOpenAI78.4%
  7. 7Gemini 3 ProGoogle69.4%
  8. 8GPT-5.2 CodexOpenAI66.5%
  9. 9GPT-5.2OpenAI64.9%
  10. 10Gemini 3 FlashGoogle64.3%
  11. 11Claude Opus 4.5Anthropic63.1%
  12. 12GPT-5.1-Codex-miniOpenAI61.6%
  13. 13GPT-5.1-Codex-MaxOpenAI60.5%
  14. 14GPT-5.1-CodexOpenAI57.8%
  15. 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.

0%20%40%60%80%100%2026GPT-5.5: 84.7%GPT-5.4: 81.8%Claude Opus 4.7: 80.2%Gemini 3.1 Pro: 80.2%Claude Opus 4.6: 79.8%GPT-5.3 Codex: 78.4%Gemini 3 Pro: 69.4%GPT-5.2 Codex: 66.5%GPT-5.2: 64.9%Gemini 3 Flash: 64.3%Claude Opus 4.5: 63.1%GPT-5.1-Codex-mini: 61.6%GPT-5.1-Codex-Max: 60.5%GPT-5.1-Codex: 57.8%Grok 4.20: 57.3%Claude Sonnet 4.6: 53.4%GLM-5: 52.4%GPT-5: 49.6%GPT-5.1: 47.6%Claude Sonnet 4.5: 46.5%MiniMax-M2.7: 45.1%GPT-5-Codex: 44.3%Kimi K2.5: 43.2%MiniMax-M2.5: 42.7%DeepSeek-V3.2: 39.6%Claude Opus 4.1: 38.0%MiniMax-M2.1: 36.6%Kimi K2 Thinking: 35.7%Claude Haiku 4.5: 35.5%GPT-5 mini: 34.8%GLM-4.7: 33.4%Gemini 2.5 Pro (Jun 2025): 32.6%MiniMax-M2: 30.0%Kimi K2 (Jul 2025): 27.8%Grok 4: 27.2%Qwen3-Coder-480B-A35B: 27.2%Grok Code Fast 1: 25.8%Qwen 3.6 35B-A3B: 24.6%GLM-4.6: 24.5%GPT-5 nano: 21.8%gpt-oss-120b: 18.7%Gemini 2.5 Flash (Sep 2025): 17.1%Gemini 2.5 Flash (Jun 2025): 17.1%Qwen3.5-9B: 9.2%gpt-oss-20b: 3.4%Gemini 2.5 Pro (Jun 2025): 32.6% (new best)Claude Opus 4.1: 38.0% (new best)GPT-5: 49.6% (new best)GPT-5.1-Codex-mini: 61.6% (new best)Gemini 3 Pro: 69.4% (new best)Claude Opus 4.6: 79.8% (new best)Gemini 3.1 Pro: 80.2% (new best)GPT-5.4: 81.8% (new best)GPT-5.5: 84.7% (new best)GPT-5.5 · 84.7%
Dark dots and line: the best score at each point in time. Light dots: every other model, by release date.

All 45 results

#ModelResult
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%
16Claude Sonnet 4.6Anthropic53.4%
17GLM-5Z.ai (Zhipu)52.4%
18GPT-5OpenAI49.6%
19GPT-5.1OpenAI47.6%
20Claude Sonnet 4.5Anthropic46.5%
21MiniMax-M2.7MiniMax45.1%
22GPT-5-CodexOpenAI44.3%
23Kimi K2.5Moonshot AI (Kimi)43.2%
24MiniMax-M2.5MiniMax42.7%
25DeepSeek-V3.2DeepSeek39.6%
26Claude Opus 4.1Anthropic38.0%
27MiniMax-M2.1MiniMax36.6%
28Kimi K2 ThinkingMoonshot AI (Kimi)35.7%
29Claude Haiku 4.5Anthropic35.5%
30GPT-5 miniOpenAI34.8%
31GLM-4.7Z.ai (Zhipu)33.4%
32Gemini 2.5 Pro (Jun 2025)Google32.6%
33MiniMax-M2MiniMax30.0%
34Kimi K2 (Jul 2025)Moonshot AI (Kimi)27.8%
35Grok 4xAI27.2%
36Qwen3-Coder-480B-A35BAlibaba (Qwen)27.2%
37Grok Code Fast 1xAI25.8%
38Qwen 3.6 35B-A3BAlibaba (Qwen)24.6%
39GLM-4.6Z.ai (Zhipu)24.5%
40GPT-5 nanoOpenAI21.8%
41gpt-oss-120bOpenAI18.7%
42Gemini 2.5 Flash (Sep 2025)Google17.1%
43Gemini 2.5 Flash (Jun 2025)Google17.1%
44Qwen3.5-9BAlibaba (Qwen)9.2%
45gpt-oss-20bOpenAI3.4%

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.