Archived Benchmark

Since performance on this benchmark has saturated, we no longer run this benchmark on new model releases. Previous results are preserved here for posterity.

Academic

Terminal-Bench 2.0

Updated 6/4/2026

State-of-the-art set of difficult terminal-based tasks

As of June 4, 2026, GPT 5.5 (Terminus 2) ranks first on Terminal-Bench 2.0 with 73.20%, followed by Claude Opus 4.8 (Terminus 2) at 70.04% and Claude Opus 4.7 (Terminus 2) at 68.54%.

Terminal-Bench 2.0Difficult terminal-based coding tasks
Terminal-Bench 2.0•Jun 04, 2026
ACCURACY
Lab:
Pinch or Ctrl/Cmd + scroll to zoom. Once zoomed, scroll or swipe with two fingers to pan, or drag to pan. Shift + drag draws a box to zoom into; turn on box zoom to draw one without Shift. Plus and minus keys zoom, arrow keys pan, 0 resets.

Terminal-Bench 2.0 leaderboard

Rank Model Harness Score Cost / Test Tokens / Test Duration / Test
1 GPT 5.5 Terminus 2 73.20% $0.76 241.81k 7m43s
2 Claude Opus 4.8 Terminus 2 70.04% $0.88 416.30k 7m52s
3 Claude Opus 4.7 Terminus 2 68.54% $0.98 450.19k 11m01s
4 Gemini 3.5 Flash Terminus 2 67.42% $1.19 2.47m 6m48s
5 Gemini 3.1 Pro Preview (02/26) Terminus 2 67.42% $0.52 246.87k 9m03s
6 GPT 5.3 Codex Terminus 2 64.05% $0.35 220.91k 8m26s
7 Muse Spark Terminus 2 59.55% - 424.09k 9m26s
8 Claude Sonnet 4.6 Terminus 2 59.55% $0.52 559.45k 10m16s
9 Qwen 3.7 Max Terminus 2 59.18% $0.72 397.86k 11m05s
10 Claude Opus 4.5 (Nonthinking) Terminus 2 58.43% $1.18 1.05m 10m27s
11 Claude Opus 4.6 (Thinking) Terminus 2 58.43% $1.14 376.60k 14m58s
12 GPT 5.4 (xhigh) Terminus 2 58.43% $0.51 168.69k 17m08s
13 Kimi K2.6 Terminus 2 57.30% $0.19 421.05k 13m15s
14 DeepSeek V4 Terminus 2 56.18% $0.18 1.22m 13m48s
15 Gemini 3 Pro (11/25) Terminus 2 55.06% $0.46 290.80k 6m56s
16 Claude Opus 4.5 (Thinking) Terminus 2 53.93% $1.12 712.36k 11m02s
17 GLM 5.1 Terminus 2 53.93% $0.16 299.31k 14m42s
18 Gemini 3 Flash (12/25) Terminus 2 51.69% $0.17 489.37k 7m36s
19 GPT 5.2 Terminus 2 51.69% $0.47 128.21k 12m23s
20 Qwen 3.6 Max Preview Terminus 2 51.69% $0.32 176.69k 14m58s
21 GLM 5 Terminus 2 49.44% $0.25 544.78k 14m36s
22 MiniMax-M2.7 Terminus 2 47.19% $0.07 1.07m 13m59s
23 MiniMax-M3 Terminus 2 46.07% $0.22 818.69k 16m59s
24 GPT 5.4 Mini Terminus 2 44.94% $0.30 279.23k 12m27s
25 Qwen 3.6 Plus Terminus 2 44.94% $0.15 189.60k 14m01s
26 GPT 5.1 Terminus 2 44.94% $0.41 133.55k 14m46s
27 Qwen 3.6 27B Terminus 2 44.94% $0.30 374.84k 33m28s
28 Grok 4.3 Terminus 2 43.45% $0.37 745.75k 10m54s
29 Claude Sonnet 4.5 (Thinking) Terminus 2 41.57% $0.75 701.65k 12m17s
30 MiniMax-M2.5 Terminus 2 41.57% $0.09 978.20k 12m35s
31 Qwen 3.5 Plus Terminus 2 41.57% $0.32 705.90k 31m17s
32 Grok 4.20 (Reasoning) Terminus 2 40.45% $0.15 184.91k 2m41s
33 Kimi K2.5 Terminus 2 40.45% $0.14 789.57k 12m36s
34 GPT 5.4 Nano Terminus 2 39.89% $0.08 460.48k 14m06s
35 Gemma 4 31B IT Terminus 2 39.33% - 294.29k 14m15s
36 Claude Haiku 4.5 (Thinking) Terminus 2 38.20% $0.33 727.86k 10m55s
37 GLM 4.7 Terminus 2 38.20% $0.18 750.90k 12m58s
38 MiniMax-M2.1 Terminus 2 37.08% $0.07 814.43k 13m02s
39 GPT 5 Terminus 2 37.08% $0.48 370.13k 16m26s
40 Kimi K2 Thinking Terminus 2 37.08% $0.12 455.43k 16m27s
41 DeepSeek V3.2 (Thinking) Terminus 2 35.95% $0.17 392.21k 17m05s
42 DeepSeek V3.2 (Nonthinking) Terminus 2 34.83% $0.06 585.55k 13m25s
43 Laguna M.1 Terminus 2 31.46% - 2.06m -
44 Gemini 2.5 Pro Terminus 2 30.34% $0.47 373.11k 13m17s
45 Mistral Medium 3.5 Terminus 2 30.34% $4.71 2.96m 20m53s
46 Grok 4 Fast (Reasoning) Terminus 2 29.21% $0.03 226.56k 7m11s
47 Laguna XS.2 Terminus 2 28.09% - 5.85m -
48 GLM 4.6 Terminus 2 28.09% $0.14 900.52k 9m36s
49 Grok 4 Terminus 2 28.09% $0.55 142.13k 14m45s
50 GPT 5 Mini Terminus 2 26.97% $0.12 176.35k 17m09s
51 Kimi K2 Instruct Terminus 2 25.84% $1.11 1.08m 11m42s
52 Grok 4.1 Fast (Reasoning) Terminus 2 24.72% $0.06 421.79k 7m59s
53 Gemini 3.1 Flash Lite Preview Terminus 2 24.72% $0.07 237.65k 11m08s
54 Qwen 3.5 Flash Terminus 2 24.72% $0.11 1.04m 11m56s
55 Qwen 3 Max Terminus 2 24.72% $0.42 336.37k 15m12s
56 DeepSeek V3.1 Terminus 2 22.47% $0.50 877.20k 13m58s
57 Gemini 2.5 Flash Preview (9/25) (Thinking) Terminus 2 21.35% $0.14 938.18k 6m58s
58 Qwen 3 Max Thinking Terminus 2 20.23% $0.26 76.80k 13m52s
59 GPT OSS 120B Terminus 2 19.10% $0.13 847.24k 8m11s
60 Grok 4.1 Fast Non-Reasoning Terminus 2 17.98% $0.03 387.06k 4m13s
61 Trinity Large Thinking Terminus 2 17.98% $0.33 2.70m 16m55s
62 Mistral Small 4 Terminus 2 16.85% $0.11 642.55k 6m48s
63 GPT 4.1 Terminus 2 14.61% $1.08 1.42m 9m49s
64 Magistral Medium 1.2 (09/2025) Terminus 2 13.48% $0.57 269.53k 14m58s
65 Mistral Large 3 Terminus 2 8.99% $0.03 52.07k 19m40s
66 Command A Terminus 2 2.25% $2.44 938.14k 12m41s
67 Llama 4 Maverick Terminus 2 2.25% $0.03 112.63k 19m54s

Background

Terminal-Bench 2.0 is an open-source benchmark that is designed to test a model’s ability to navigate and complete tasks in a sandboxed terminal environment. The official version of the benchmark highlights 89 tasks with unique categories ranging from model training to system administration. These tasks scale in difficulty from easy to hard.

We chose to include Terminal-Bench because a) it is increasingly common for it to be reported by model providers, b) it reflects the real-world terminal tasks expected of software engineers, and c) it is quite challenging, with no model scoring above 50% on the hard tasks upon its initial release. Furthermore, agentic systems like Claude Code, Codex, and Cursor now rely heavily on executing terminal commands correctly.

This benchmark was developed by the Terminal-Bench community as an open-source effort; we’d like to thank the community for their efforts in building this benchmark and for helping us integrate it into our evaluation suite. If you’re interested in learning more about Terminal-Bench or want to contribute to the project, visit tbench.ai

Below is an example task (you can find the full details for this task in the open-source task registry).

Please train a fasttext model on the yelp data in the data/ folder.

The final model size needs to be less than 150MB but get at least 0.62 accuracy on a private test set that comes from the same yelp review distribution.

The model should be saved as /app/model.bin


Methodology

All models were benchmarked using the Terminus 2 harness. Unless otherwise specified, we use identical configuration and methodology to Terminus 2. All results reported are pass@1.

On submission, we run the model against the provided pytests—a model must pass all pytests to get any credit for a task.

Unlike Terminus 1, Terminus 2 does not use structured outputs to enforce a response schema. Model queries returning an invalid or missing JSON are retried with a warning.


Comparison to Original Terminal-Bench

This benchmark is similar in structure to the original Terminal-Bench - it features 80 terminal-based tasks, many of which (like our example!) also appear in Terminal-Bench 2.0. The most substantial differences are in evaluation methododology:

  • We ran the original Terminal-Bench on an EC2 instance, using docker containers. Following the Laude implementation, we run Terminal-Bench 2.0 remotely using daytona.
  • We ran the original Terminal-Bench using a turn limit. Again, following the Laude implementation, we run Terminal-Bench 2.0 using a time limit instead.