CodingStill discriminating

Terminal-Bench

End-to-end agentic tasks in a real sandboxed terminal.

  • 46 models have a score, from Epoch AI.
  • The leader is GPT-5.5 at 84.7%.
  • The top 10 are within 20 points of each other.
  • A score on this page last changed on Nov 6, 2026.

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.

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, 2026

Best Terminal-Bench score per model, ranked. Each score links to its source.

#ModelScoreSource
1OpenAI: GPT-5.5(unknown)OpenAI84.7%epoch
2OpenAI: GPT-5.4(unknown)OpenAI81.8%epoch
3Google: Gemini 3.1 Pro PreviewGoogle DeepMind80.2%epoch
4Anthropic: Claude Opus 4.7(unknown)Anthropic80.2%epoch
5Anthropic: Claude Opus 4.6(unknown)Anthropic79.8%epoch
6OpenAI: GPT-5.3-CodexOpenAI78.4%epoch
7Gemini 3 ProGoogle DeepMind69.4%epoch
8Gemini 3 ProGoogle DeepMind69.4%epoch
9OpenAI: GPT-5.2-CodexOpenAI66.5%epoch
10OpenAI: GPT-5.2(unknown)OpenAI64.9%epoch
11Google: Gemini 3 Flash PreviewGoogle DeepMind64.3%epoch
12Claude Opus 4.5(unknown)Anthropic63.1%epoch
13OpenAI: GPT-5.1-Codex-MiniOpenAI61.6%epoch
14OpenAI: GPT-5.1-Codex-MaxOpenAI60.4%epoch
15claude-opus-4-5-20251101_128KAnthropic59.1%epoch
16OpenAI: GPT-5.1-CodexOpenAI57.8%epoch
17SpaceXAI: Grok 4.20xAI57.3%epoch
18Anthropic: Claude Sonnet 4.6(unknown)Anthropic53.4%epoch
19Z.ai: GLM 5Z.ai (Zhipu AI)52.4%epoch
20OpenAI: GPT-5(unknown)OpenAI49.6%epoch
21OpenAI: GPT-5.1(medium)OpenAI47.6%epoch
22Anthropic: Claude Sonnet 4.5(unknown)Anthropic46.5%epoch
23MiniMax: MiniMax M2.7MiniMax45.1%epoch
24GPT-5-CodexOpenAI44.3%epoch
25GPT-5-CodexOpenAI44.3%epoch
26MoonshotAI: Kimi K2.5Moonshot43.2%epoch
27MiniMax: MiniMax M2.5MiniMax42.7%epoch
28DeepSeek: DeepSeek V3.2DeepSeek39.6%epoch
29Anthropic: Claude Opus 4.1Anthropic38%epoch
30MiniMax M2.1MiniMax36.6%epoch
31MiniMax M2.1MiniMax36.6%epoch
32MoonshotAI: Kimi K2 ThinkingMoonshot35.7%epoch
33Anthropic: Claude Haiku 4.5(unknown)Anthropic35.5%epoch
34OpenAI: GPT-5 Mini(unknown)OpenAI34.8%epoch
35Z.ai: GLM 4.7Z.ai (Zhipu AI)33.4%epoch
36Google: Gemini 2.5 ProGoogle DeepMind32.6%epoch
37MiniMax M2MiniMax30%epoch
38MiniMax M2MiniMax30%epoch
39MoonshotAI: Kimi K2 0711Moonshot27.8%epoch
40Kimi-K2-InstructMoonshot27.8%epoch
41grok-4-0709xAI27.2%epoch
42Qwen 3 Coder 480BAlibaba27.2%epoch
43grok-4-0709xAI27.2%epoch
44Qwen: Qwen3 Coder 480B A35BAlibaba27.2%epoch
45Grok Code Fast 125.8%epoch
46Qwen: Qwen3.6 35B A3BAlibaba24.6%epoch
47Z.ai: GLM 4.6Z.ai (Zhipu AI),Tsinghua University24.5%epoch
48OpenAI: GPT-5 Nano(unknown)OpenAI21.8%epoch
49OpenAI: gpt-oss-120bOpenAI18.7%epoch
50gemini-2.5-flash-preview-09-2025Google DeepMind17.1%epoch
51gemini-2.5-flash-preview-09-2025Google DeepMind17.1%epoch
52Google: Gemini 2.5 FlashGoogle DeepMind17.1%epoch
53Qwen: Qwen3.5-9BAlibaba9.2%epoch
54OpenAI: gpt-oss-20bOpenAI3.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.

Compare them

In our guides

The guides that explain this benchmark or show its live leaderboard.

More Coding benchmarks

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.