Metric
resolved (%)
Status
Still discriminating
Category
Coding
Maintainer
Stanford & Laude Institute; curated by Epoch AI
Chance baseline
0%
What it measures
Terminal-Bench measures how well an AI agent can accomplish real, end-to-end tasks by operating a command-line terminal, the same way a human engineer or scientist works at a shell. It was built by researchers at Stanford and the Laude Institute (hosted together with the Harbor project), and Epoch AI curates it for its evaluation hub. Rather than asking a model to write a snippet of code in isolation, it drops an agent into a working terminal and asks it to actually get something done: compile software, configure a system, train a model, set up a server, analyze data, or fix a security problem, autonomously and to completion. Judging whether an agent really fixed a security problem takes someone who does that work, and AI labs pay for it by the hour: AITraining.jobs' roles for cybersecurity experts, on a jobs site from the people who publish GenMagic, show the open ones and their hourly pay.
The task in detail
The first public dataset, Terminal-Bench-Core (version 0), consists of 80 tasks. They were written to cover a wide spread of real terminal work, including scientific workflows, configuring networks, playing games, data analysis, calling APIs, and addressing cybersecurity vulnerabilities. Each task has three parts: an instruction written in plain English describing the goal, a containerized (Docker) terminal environment that provides the sandbox the agent works in, and a test script that programmatically checks whether the task was actually completed. Each task also ships with a reference, or "oracle," solution that is known to work. Tasks built this way (an instruction, a sandboxed environment and a test script) are also what AI labs buy to train and test agents, and AIData.Broker's price board for graded tasks and environments, compiled by the same operators as this site, includes a terminal-style coding task that pays its contributor up to $1,350.
An evaluation harness connects a language model to the sandboxed terminal and lets it issue commands. To keep the measurement about the model rather than a particular scaffold, the project provides Terminus, a deliberately minimal reference agent: it gives the model no special tools beyond a tmux terminal pane, and the model acts purely by sending keystrokes, reading what comes back, and deciding what to type next.
How models are scored
Scoring is outcome-based. After the agent finishes, the task's test script runs inside the container and the task is marked resolved only if those checks pass. The headline metric is the resolution rate, the percentage of tasks fully resolved. In the original Core release each agent was given exactly one attempt per task. Because a task counts only when its end-state tests pass, partial progress earns nothing, which mirrors how real operational work either succeeds or does not. Epoch AI reports scores as the percentage of tasks solved, generally averaged over repeated runs of the whole set, and, since results depend heavily on the pairing, lists the best-performing agent-and-model combination for each model.
How to read a score
A Terminal-Bench score is a resolution rate: 40 percent means the agent fully completed 40 percent of the tasks with all verification tests passing. Two caveats matter when comparing numbers. First, the score reflects an agent plus a model, not the model alone. The same model can post very different numbers under different scaffolds (Terminus, Claude Code, OpenAI's Codex CLI, or Goose), and some scaffolds adjust reasoning effort in ways that are hard to normalize. Second, scores are tied to a specific dataset version, so a number is only comparable to others run on the same version. Alongside resolution rate, cost and token usage are worth reading, since agentic terminal work can be expensive.
History and notable results
Terminal-Bench was first released in 2025 as Terminal-Bench-Core-v0, an 80-task set accompanied by the Terminus reference agent, with the announcement authored by Mike Merrill, Alex Shaw, Chris Rytting, Ludwig Schmidt, and Andy Konwinski. The creators framed it as an evolving target and promised to add more tasks over time. It has since advanced through new versions to stay difficult as agents improve: a revised Terminal-Bench 2.0, described in a paper submitted in January 2026 (first author Mike A. Merrill), expanded the benchmark to 89 carefully curated hard tasks, and the project's current public leaderboard runs a later 4.0 version. It has become a prominent reference for measuring coding and operations agents working in a live shell.
Limitations and criticism
Because a task passes only when its tests pass, the benchmark inherits the usual test-based risks: a test can be too strict and reject a valid alternative approach, or too loose and accept a fluke. Results are strongly scaffold-dependent, so headline numbers can reflect harness engineering as much as model ability, which complicates model-to-model comparison. The original set was also relatively small at 80 tasks, so individual task quirks can move a score, and a fixed set can be learned or saturate over time, which is part of why the maintainers keep issuing new versions. Running full evaluations in Docker sandboxes is also computationally heavier than answering static questions.
Related benchmarks
Terminal-Bench sits among agentic and coding benchmarks but is distinguished by its live-shell, do-the-whole-task framing. SWE-bench measures agents resolving real GitHub issues in large codebases. Aider Polyglot tests multi-language code editing on curated exercises. SciCode targets research-grade scientific programming. Compared with these, Terminal-Bench is the one that most directly measures general command-line operations rather than code authoring alone.
References
Leaderboard
Checked Nov 10, 2026, 07:00 UTC · scores last changed Nov 6, 2026Best Terminal-Bench score per model, ranked. Each score links to its source.
| # | Model | Score | Source |
|---|---|---|---|
| 1 | OpenAI: GPT-5.5(unknown)OpenAI | 84.7% | epoch |
| 2 | OpenAI: GPT-5.4(unknown)OpenAI | 81.8% | epoch |
| 3 | Google: Gemini 3.1 Pro PreviewGoogle DeepMind | 80.2% | epoch |
| 4 | Anthropic: Claude Opus 4.7(unknown)Anthropic | 80.2% | epoch |
| 5 | Anthropic: Claude Opus 4.6(unknown)Anthropic | 79.8% | epoch |
| 6 | OpenAI: GPT-5.3-CodexOpenAI | 78.4% | epoch |
| 7 | Gemini 3 ProGoogle DeepMind | 69.4% | epoch |
| 8 | Gemini 3 ProGoogle DeepMind | 69.4% | epoch |
| 9 | OpenAI: GPT-5.2-CodexOpenAI | 66.5% | epoch |
| 10 | OpenAI: GPT-5.2(unknown)OpenAI | 64.9% | epoch |
| 11 | Google: Gemini 3 Flash PreviewGoogle DeepMind | 64.3% | epoch |
| 12 | Claude Opus 4.5(unknown)Anthropic | 63.1% | epoch |
| 13 | OpenAI: GPT-5.1-Codex-MiniOpenAI | 61.6% | epoch |
| 14 | OpenAI: GPT-5.1-Codex-MaxOpenAI | 60.4% | epoch |
| 15 | claude-opus-4-5-20251101_128KAnthropic | 59.1% | epoch |
| 16 | OpenAI: GPT-5.1-CodexOpenAI | 57.8% | epoch |
| 17 | SpaceXAI: Grok 4.20xAI | 57.3% | epoch |
| 18 | Anthropic: Claude Sonnet 4.6(unknown)Anthropic | 53.4% | epoch |
| 19 | Z.ai: GLM 5Z.ai (Zhipu AI) | 52.4% | epoch |
| 20 | OpenAI: GPT-5(unknown)OpenAI | 49.6% | epoch |
| 21 | OpenAI: GPT-5.1(medium)OpenAI | 47.6% | epoch |
| 22 | Anthropic: Claude Sonnet 4.5(unknown)Anthropic | 46.5% | epoch |
| 23 | MiniMax: MiniMax M2.7MiniMax | 45.1% | epoch |
| 24 | GPT-5-CodexOpenAI | 44.3% | epoch |
| 25 | GPT-5-CodexOpenAI | 44.3% | epoch |
| 26 | MoonshotAI: Kimi K2.5Moonshot | 43.2% | epoch |
| 27 | MiniMax: MiniMax M2.5MiniMax | 42.7% | epoch |
| 28 | DeepSeek: DeepSeek V3.2DeepSeek | 39.6% | epoch |
| 29 | Anthropic: Claude Opus 4.1Anthropic | 38% | epoch |
| 30 | MiniMax M2.1MiniMax | 36.6% | epoch |
| 31 | MiniMax M2.1MiniMax | 36.6% | epoch |
| 32 | MoonshotAI: Kimi K2 ThinkingMoonshot | 35.7% | epoch |
| 33 | Anthropic: Claude Haiku 4.5(unknown)Anthropic | 35.5% | epoch |
| 34 | OpenAI: GPT-5 Mini(unknown)OpenAI | 34.8% | epoch |
| 35 | Z.ai: GLM 4.7Z.ai (Zhipu AI) | 33.4% | epoch |
| 36 | Google: Gemini 2.5 ProGoogle DeepMind | 32.6% | epoch |
| 37 | MiniMax M2MiniMax | 30% | epoch |
| 38 | MiniMax M2MiniMax | 30% | epoch |
| 39 | MoonshotAI: Kimi K2 0711Moonshot | 27.8% | epoch |
| 40 | Kimi-K2-InstructMoonshot | 27.8% | epoch |
| 41 | grok-4-0709xAI | 27.2% | epoch |
| 42 | Qwen 3 Coder 480BAlibaba | 27.2% | epoch |
| 43 | grok-4-0709xAI | 27.2% | epoch |
| 44 | Qwen: Qwen3 Coder 480B A35BAlibaba | 27.2% | epoch |
| 45 | Grok Code Fast 1 | 25.8% | epoch |
| 46 | Qwen: Qwen3.6 35B A3BAlibaba | 24.6% | epoch |
| 47 | Z.ai: GLM 4.6Z.ai (Zhipu AI),Tsinghua University | 24.5% | epoch |
| 48 | OpenAI: GPT-5 Nano(unknown)OpenAI | 21.8% | epoch |
| 49 | OpenAI: gpt-oss-120bOpenAI | 18.7% | epoch |
| 50 | gemini-2.5-flash-preview-09-2025Google DeepMind | 17.1% | epoch |
| 51 | gemini-2.5-flash-preview-09-2025Google DeepMind | 17.1% | epoch |
| 52 | Google: Gemini 2.5 FlashGoogle DeepMind | 17.1% | epoch |
| 53 | Qwen: Qwen3.5-9BAlibaba | 9.2% | epoch |
| 54 | OpenAI: gpt-oss-20bOpenAI | 3.4% | epoch |
Run your own prompt on the top 3
GPT-5.5, GPT-5.4, Gemini 3.1 Pro Preview, side by side on the same prompt, with each one's time and cost. A free account includes starter credit.
In our guides
The guides that explain this benchmark or show its live leaderboard.
More Coding benchmarks
SWE-bench Verified
Resolving real GitHub issues, on a 500-issue human-validated subset.
Aider Polyglot
Editing code correctly across six languages, including producing valid diffs.
SciCode
Research-level scientific computing curated by scientists.
LiveBench
A contamination-resistant, frequently-refreshed general benchmark.
WeirdML
Unusual machine-learning problems solved by writing and iterating on real code.
EHRSQL
Translating clinical data questions into executable SQL over an electronic health-record schema.
CadEval
Turning a written description into a geometrically correct CAD model.
DeepSWE
Solving original, sustained software-engineering tasks across real codebases.
ExploitBench
Measuring progress through graded software-exploitation milestones in a controlled evaluation.
FrontierCode
Producing repository changes that satisfy a maintainer's standards for merging.
GSO OPT@1
Optimizing software to approach expert speedups while preserving correctness.
MirrorCode (ML, +Private, 2L)
Reimplementing entire programs from observable behavior without their source code.
Surface Evolver Bench
Building physically consistent liquid-surface simulations in a specialized language.
Terminal-Bench is maintained by Stanford & Laude Institute; curated by Epoch AI. Scores on this page are collected from openly-licensed sources and each links to its origin. See the full matrix to compare every model across every benchmark.