Benchmarks · Coding & software engineering
Terminal-Bench
also: Terminal Bench, TBench, Terminal-Bench 2.0, Terminal-Bench 2.1
Can an AI agent actually operate a computer through a real command-line shell — issuing commands, reading their output, and adapting — to finish a multi-step task, rather than just producing plausible-looking commands?
Stanford University & Laude InstituteReleased 19 May 2025Live
Most coding benchmarks hand a model a finished snippet of context and ask for one answer back. Terminal-Bench, released in 2025 by Stanford researchers and the Laude Institute, asks something more demanding: put an agent in front of a real, disposable command-line environment and see whether it can actually drive it — running commands, reading their output, and adjusting — until a task like compiling a repository, training a small model, or fixing a broken server configuration is genuinely done. Success is judged by an automated check on the final state of the sandbox, not by how convincing the agent’s commands look.
Early results exposed a real gap between talking about terminal work and doing it: general commercial coding agents beat the benchmark’s own minimal reference scaffold, but even the strongest systems finished well under half the tasks at launch. That gap closed fast as agentic coding models matured through 2025 and 2026 — OpenAI’s Codex-tuned models climbed from the low 50s to the high 70s on Terminal-Bench 2.0 within a few months, and by mid-2026 leading models from Anthropic, Zhipu and xAI were clearing 80%.
The benchmark has kept pace with that progress by getting harder, moving from an 80–100 task 1.0 release through a tougher 2.0 and then a 2.1 revision. It has also become one of the clearer illustrations of a recurring pattern in this record: a vendor’s self-reported launch score and the same model’s result under Terminal-Bench’s own leaderboard scaffold don’t always match, since the agent harness wrapped around a model can matter almost as much as the model itself.
The set
Each task runs inside an isolated Docker sandbox and is graded by an automated script that checks the final state of the environment, not the agent's transcript. Tasks span compiling code repositories, training small machine-learning models, configuring servers and debugging broken systems. The original 2025 release covered roughly 80–100 beta tasks; harder successor versions (2.0, then 2.1) followed the same year and into 2026.
Example
Task 'broken-python', instruction verbatim: 'There's something wrong with my system-wide python installation - I can't seem to install packages with pip.' The agent gets a live shell inside a disposable Docker container and must diagnose and fix it; success is checked by an automated pytest script against the final container state.github.com
Where it stands
Moved quickly from 1.0 to a harder 2.0 and then 2.1 revision as scores rose; self-reported launch-day figures from model vendors have sometimes run a few points above what the same model scores under Terminal-Bench's own leaderboard scaffold, a gap the site's maintainers attribute to differences in agent harness rather than the underlying model.
How the top score changed hands
- November 2025GPT-5.1-Codex-Max58.1%Terminal-Bench 2.0, up from 52.8% for GPT-5.1-Codex a week earlier; OpenAI's own figure.
- December 2025GPT-5.2-Codex64.0%Terminal-Bench 2.0, OpenAI's own figure.
- February 2026GPT-5.3-Codex77.3%Terminal-Bench 2.0, OpenAI's own figure.
- June 2026GLM-5.281.0Terminal-Bench 2.1, Zhipu's own figure; the version had shifted from 2.0 to 2.1 by this point.
- July 2026Grok 4.583.3%Terminal-Bench 2.1, xAI's own figure, not independently confirmed at launch; the model scored lower (79.3%, via the Cursor CLI scaffold) on Terminal-Bench's own leaderboard.
Current best: Claude Fable 5 (via Claude Code scaffold) — 83.8% Top of Terminal-Bench's own live 2.1 leaderboard, run with the Claude Code agent scaffold rather than a vendor's self-reported figure.
In the timeline · 12 entries
Alibaba unveils Qwen3.8-Max, its largest model, ahead of open-weight release
2.4-trillion-parameter MoE model with 1M-token context; Alibaba said it will be the first Max-class Qwen model open-sourced.
Open weights & ecosystem · Models & capabilities
SpaceXAI releases Grok 4.5
Built on a 1.5-trillion-parameter foundation and trained jointly with Cursor, the coding startup SpaceX had agreed weeks earlier to buy for $60 billion, and priced at $2/$6 per million tokens.
Models & capabilities
Trump administration asks OpenAI to limit release of its next model
Officials compared the new model family's capability to Anthropic's Mythos 5; OpenAI limited access to roughly 20 vetted partners before a wider release about twelve days later.
Security & misuse · Government & policy
Zhipu AI releases GLM-5.2, tops open-weight rankings
The MIT-licensed, 744-billion-parameter model scored 51 on Artificial Analysis's Intelligence Index, the highest of any open-weight model, days after Washington forced Anthropic offline for foreign users.
Open weights & ecosystem · Models & capabilities
Anthropic releases Claude Opus 4.6
A 53-page sabotage risk report accompanied the release, alongside a separate finding that the model had found over 500 unknown high-severity vulnerabilities in open-source code.
Models & capabilities · Safety & alignment
OpenAI releases GPT-5.3-Codex
OpenAI reported the model roughly doubled its predecessor's OSWorld-Verified computer-use score, from 38.2% to 64.7%, and was the first Codex model rated 'High capability' for cybersecurity tasks.
Models & capabilities
StepFun releases Step 3.5 Flash, topping several reasoning benchmarks
The 196-billion-parameter model, of which only about 11 billion activate per token, was released under an Apache 2.0 licence and scored 97.3% on AIME 2025.
Open weights & ecosystem · Models & capabilities · Benchmarks & progress
OpenAI ships GPT-5.2-Codex
OpenAI reported an 'unmatched' 56.4% on the SWE-Bench Pro benchmark and 64% on Terminal-Bench 2.0, alongside new defensive-cybersecurity capabilities.
Models & capabilities
OpenAI releases GPT-5.1-Codex-Max for long-running coding tasks
A 'compaction' technique lets the model summarise and clear its own context automatically, and OpenAI reported sessions running over 24 hours in internal testing.
Models & capabilities
DeepSeek releases DeepSeek-V3.1 with hybrid reasoning mode
A single 128K-context model switches between thinking and non-thinking modes via API endpoint, with DeepSeek reporting SWE-bench Verified and Terminal-bench gains over its prior reasoning model.
Open weights & ecosystem · Models & capabilities
Anthropic launches Claude Opus 4 and Claude Sonnet 4
Anthropic reported Opus 4 scoring 72.5% on SWE-bench and Sonnet 4 72.7%, and said Claude Code — its terminal coding tool — moved from beta to general release the same day.
Models & capabilities · Safety & alignment
Terminal-Bench launched
Each task runs in an isolated Docker sandbox with an automated pass/fail check, testing whether an agent can drive a real shell rather than just generate plausible-looking commands.
Benchmarks & progress