← All benchmarks·Source: Epoch AI ↗

Terminal-Bench leaderboard

Terminal-Bench leaderboard: percent of real terminal/shell agent tasks resolved by each LLM, plotted against API price to compare agentic ability and cost. Current leader: GPT-5.5 at 84.72 (% resolved).

Cost vs quality

Each dot is a model. The dashed line is the value frontier — top-left is the best trade-off (high score, low cost).

Closed model Open-weight model

Full leaderboard

#ModelScore% resolvedOutput $/1MReleased
1
OpenAIGPT-5.5
84.72$30.00Apr 2026
2
OpenAIGPT-5.4
81.8$15.00Mar 2026
3
GoogleGemini 3.1 Pro
80.22$12.00Feb 2026
4
AnthropicClaude Opus 4.7
80.22$25.00Apr 2026
5
AnthropicClaude Opus 4.6
79.8$25.00Feb 2026
6
OpenAIGPT-5.3 Codex
78.43$14.00Feb 2026
7
GoogleGemini 3 Pro
69.43—Nov 2025
8
OpenAIGPT-5.2
64.94—Dec 2025
9
GoogleGemini 3 Flash
64.27—Dec 2025
10
AnthropicClaude Opus 4.5
63.15—Nov 2025
11
Grok 4.20
57.3$2.50Feb 2026
12
AnthropicClaude Sonnet 4.6
53.43$15.00Feb 2026
13
GLM-5OPEN
52.42$3.20Feb 2026
14
OpenAIGPT-5
49.61—Aug 2025
15
OpenAIGPT-5.1
47.6—Nov 2025
16
AnthropicClaude Sonnet 4.5
46.52—Sep 2025
17
MinimaxMiniMax-M2.7OPEN
45.06—Mar 2026
18
MoonshotKimi K2.5OPEN
43.2$2.50Feb 2026
19
MinimaxMiniMax-M2.5OPEN
42.7—Feb 2026
20
DeepSeekDeepSeek-V3.2OPEN
39.55—Dec 2025
21
AnthropicClaude Opus 4.1
38—Aug 2025
22
Moonshot AIKimi K2 ThinkingOPEN
35.73—Nov 2025
23
AnthropicClaude Haiku 4.5
35.51—Oct 2025
24
OpenAIGPT-5 mini
34.83—Aug 2025
25
GLM-4.7OPEN
33.39—Dec 2025
26
GoogleGemini 2.5 Pro (Jun 2025)
32.64—Jun 2025
27
Moonshot AIKimi K2 (Jul 2025)OPEN
27.8—Nov 2025
28
Grok 4
27.2—Sep 2025
29
QwenQwen 3.6 35B-A3B
24.63$1.00Apr 2026
30
OpenAIGPT-5 nano
21.8—Aug 2025
31
OpenAIgpt-oss-120bOPEN
18.7—Aug 2025
32
GoogleGemini 2.5 Flash (Sep 2025)
17.1—Sep 2025
33
GoogleGemini 2.5 Flash (Jun 2025)
17.08—Apr 2025
34
QwenQwen3.5-9BOPEN
9.21$0.15Feb 2026
35
OpenAIgpt-oss-20bOPEN
3.4—Aug 2025

Scores from Epoch AI, updated —. Cost is joined from our daily API pricing where a model matches; models we don't price still appear with their score. Always verify on the benchmark's own site before relying on a number.

What Terminal-Bench measures

Terminal-Bench is an agentic-coding benchmark built by the Laude Institute (the AI research nonprofit founded by Databricks/Perplexity co-founder Andy Konwinski) together with Stanford researchers led by Mike Merrill, first released in 2025 and now maintained at version 2.x. It tests whether a model, wired up as an autonomous agent with nothing but a Linux shell inside a Docker container, can complete real-world-style terminal tasks end to end with no human in the loop — provisioning and configuring software, fixing broken builds, running data-science or ML pipelines, administering servers, and security/reverse-engineering exercises. Terminal-Bench 2.0 narrowed 229 tasks crowdsourced from 93 contributors down to 89 hand-verified tasks, each shipping a natural-language instruction, a purpose-built container environment, a human-written "oracle" solution, and an automated test suite that inspects the final container state to decide pass or fail. Models are run through Harbor, the project's open-source harness, either via Terminus — a deliberately bare reference agent that amounts to little more than an LLM wired to a single terminal tool, with no extra scaffolding — or via other agent scaffolds such as Claude Code, Codex CLI, and OpenHands.

The metric shown, % resolved, is the share of the task set a model's agent completes successfully as judged by each task's automated verifier, generally averaged over multiple repeated runs per task to smooth out the run-to-run variance inherent in long, multi-step agent trajectories. Within a given Terminal-Bench version, only the best-scoring model+agent-harness pairing for a given model is carried onto the public leaderboard.

How to read this page

The cost axis here uses each model's output price per 1M tokens as a stand-in for real per-task dollar cost, because Terminal-Bench doesn't publish one — and for this benchmark that's a reasonable proxy: solving a task means the agent grinds through a long multi-turn trajectory of shell commands, error output, re-planning, and (for reasoning models) extended chain-of-thought before it converges on a working solution, so the tokens the model generates dominate the trajectory far more than the short natural-language task prompt does. That makes output price the side of cost that actually moves with task difficulty here.

Limitations

Terminal-Bench's task bank is fully open-source on GitHub, and its only anti-contamination measure is a canary string embedded in each file — a symbolic safeguard at best, since labs can still train on (or overfit to) publicly visible tasks and solutions. The dataset is also small: 80 tasks in version 1.0 and 89 in version 2.0, which is part of why the benchmark reports confidence intervals around each score. Scores are notably scaffold-sensitive — the published paper reports the same underlying model shifting by roughly 17 percentage points depending on whether it's wrapped in Terminus 2 or OpenHands, meaning the leaderboard partly measures tool-use scaffolding rather than pure model capability. The benchmark has also saturated faster than expected: the top model+harness pairing resolved about 63% of tasks shortly after Terminal-Bench 2.0 launched in November 2025, and had already climbed past 75% by the time Terminal-Bench 2.1 shipped roughly six months later — though 2.1's stated purpose was fixing 28 of the 89 tasks broken by internet-dependency drift or mismatched instructions, rather than deliberately raising the difficulty bar. Results can also drift run-to-run because some tasks call out to the internet and aren't fully deterministic. Finally, its scope is narrow by design — purely command-line, containerized tasks — so it says little about GUI-based work, longer-horizon real-world software engineering with ambiguous specs, or multimodal agent capability.

Frequently asked questions

Who created Terminal-Bench, and when?
It was built by the Laude Institute — the AI research nonprofit founded by Databricks and Perplexity co-founder Andy Konwinski — together with Stanford researchers led by Mike Merrill, first released in 2025 and now on version 2.x. The task suite, harness, and reference agent (Terminus) are open-sourced at tbench.ai and on GitHub.
What exactly does the '% resolved' score measure?
It's the percentage of terminal tasks a model's agent completes successfully, as verified by each task's automated test suite checking the final state of the Docker container, averaged over multiple repeated runs per task to reduce noise from run-to-run variance.
Why do some sites show very different scores for the same model?
Terminal-Bench results are sensitive to which agent harness wraps the model (Terminus, Claude Code, OpenHands, Codex CLI, etc.) and to which benchmark version was run (1.0's 80 tasks vs. 2.0's 89 vs. the newer 2.1 revision), so scores from different sources aren't always directly comparable.
Is Terminal-Bench close to being 'solved'?
Not entirely, but it's moving toward saturation quickly: the top model+harness pairing was resolving only about 63% of Terminal-Bench 2.0's tasks shortly after its November 2025 launch, but had already passed 75% by the time the follow-up 2.1 revision shipped in spring 2026. That revision was framed by its own maintainers as a fix for 28 buggy tasks rather than a deliberate difficulty increase, and scores generally rose rather than fell afterward.