Best AI for AI agents and terminal automation
Terminal-Bench 4.0
| Option and model | Score | Cost per benchmark test |
|---|---|---|
| Highest score · two-way tieClaude Fable 5.2 Anthropic | 65.15% | $14.56 |
| Highest score · two-way tie, Claude Opus 5.5 Anthropic | 65.15% | $12.04 |
| Lower-cost optionClaude Sonnet 5.5 Anthropic | 64.14% | $10.75 |
Source: Vals AI ↗ · as of 11 Nov 2026 · last checked 17 Nov 2026
Scoring rule: Highest score is the top score on this leaderboard; tied models are shown together. Lower-cost option is the best-scoring model whose published cost is below the cheapest top scorer’s; equal scores go to the lower cost. Cost is API cost per benchmark task as published by the source, not a subscription price.
Two models tie for the top score on Terminal-Bench 4.0, each at 65.15% (score): Claude Fable 5.2 (Anthropic) and Claude Opus 5.5 (Anthropic). Claude Opus 5.5 is the cheapest of the tied leaders at $12.04 API cost per benchmark task, against $14.56 for Claude Fable 5.2. What the test covered: Frontier-difficulty terminal tasks across software, science, ML, operations, hardware, security and media. Also tested on Terminal-Bench 2.1: Claude Opus 5.5 (Anthropic) leads at 87.64% (a retired leaderboard the source no longer updates).
Citation
Terminal-Bench 4.0, score: Claude Fable 5.2 (Anthropic) and Claude Opus 5.5 (Anthropic) tied for the top reported score at 65.15%. Original source: Vals AI, https://www.vals.ai/benchmarks/terminal-bench-4, leaderboard dated 11 Nov 2026. Via ChatJudge: https://chatjudge.ai/best-ai/ai-agents-and-terminal-automation, checked 17 Nov 2026.
Prompt from the library
Try it: Setup or integration instructions for Claude Code
From the ChatJudge library, by Startup CEO and Founder.
Write setup instructions for Claude Code to [CONNECT X / DEPLOY Y]. Mark steps only I can do in a browser as [HUMAN]; everything else Claude Code runs itself. Tell it to check the current README before trusting any install command. End with verification steps.
Paste it into two of the leaders above, run it on the same document, and compare. Check every answer against the source before you rely on it.
Benchmark data
Results from published AI leaderboards. Compare models within each benchmark; scores from different tests aren’t directly comparable. How we collect these results
Terminal-Bench 4.0
Frontier-difficulty terminal tasks across software, science, ML, operations, hardware, security and media. Run by Vals AI (benchmark by Terminal-Bench team). Leaderboard dated 11 Nov 2026. Last checked 17 Nov 2026.
- Anthropic
- OpenAI
- Meta
- Alibaba
- Z.ai
- Moonshot
- Other
All scores
| Rank | Model | Provider | Score | Cost per test (USD) | Harness |
|---|---|---|---|---|---|
| 1 | Claude Fable 5.2 | Anthropic | 65.15% | $15 | Mini-SWE-agent |
| 2 | Claude Opus 5.5 | Anthropic | 65.15% | $12 | Mini-SWE-agent |
| 3 | Claude Sonnet 5.5 | Anthropic | 64.14% | $11 | Mini-SWE-agent |
| 4 | Kimi K3.1 Pro | Moonshot | 63.64% | $4.57 | Mini-SWE-agent |
| 5 | Gemini 4 Carbon | 63.13% | $7.45 | Mini-SWE-agent | |
| 6 | GPT-6 Astra | OpenAI | 59.60% | $9.58 | Mini-SWE-agent |
| 7 | Claude Fable 5.1 | Anthropic | 58.08% | $17 | Mini-SWE-agent |
| 8 | Wonder Full | Meta | 58.08% | $11 | Mini-SWE-agent |
| 9 | Gemini 4 Argon | 57.58% | $18 | Mini-SWE-agent | |
| 10 | GPT-6.1 Sol | OpenAI | 55.05% | $1.72 | Mini-SWE-agent |
Show 15 more rows
| Rank | Model | Provider | Score | Cost per test (USD) | Harness |
|---|---|---|---|---|---|
| 11 | Gemini 4 Hydrogen | 54.04% | $7.56 | Mini-SWE-agent | |
| 12 | Claude Opus 5 | Anthropic | 53.53% | $19 | Mini-SWE-agent |
| 13 | GPT-6.1 Terra | OpenAI | 49.49% | $2.16 | Mini-SWE-agent |
| 14 | Wonder | Meta | 49.49% | $15 | Mini-SWE-agent |
| 15 | Qwen 4 Max | Alibaba | 48.48% | $3.90 | Mini-SWE-agent |
| 16 | GPT-6 Sol | OpenAI | 44.44% | $5.79 | Mini-SWE-agent |
| 17 | Claude Fable 5 | Anthropic | 41.41% | $30 | Mini-SWE-agent |
| 18 | Muse Ember | Meta | 39.39% | $0.22 | Mini-SWE-agent |
| 19 | Hy4 | Other | 39.39% | $1.28 | Mini-SWE-agent |
| 20 | GLM 5.3 | Z.ai | 38.89% | $9.37 | Mini-SWE-agent |
| 21 | Qwen 3.8 Max 0902 | Alibaba | 38.89% | $12 | Mini-SWE-agent |
| 22 | GPT-5.6 Sol | OpenAI | 37.88% | $7.98 | Mini-SWE-agent |
| 23 | GLM 5.3 Flash | Z.ai | 37.37% | $1.22 | Mini-SWE-agent |
| 24 | Claude Haiku 5.5 | Anthropic | 36.36% | $3.12 | Mini-SWE-agent |
| 25 | Qwen 3.8 Max | Alibaba | 34.34% | $11 | Mini-SWE-agent |
Full Terminal-Bench 4.0 leaderboard: every model, all metrics and the table →
Terminal-Bench 2.1
A set of difficult terminal-based tasks, now superseded by Terminal-Bench 4.0. Run by Vals AI (benchmark by Terminal-Bench team). Leaderboard dated 1 Oct 2026 (no longer updated by the source). Last checked 17 Nov 2026.
Terminal-Bench 2.1 scorecard
| Option and model | Score | Cost per benchmark test |
|---|---|---|
| Highest scoreClaude Opus 5.5 Anthropic | 87.64% | $0.50 |
| Lower-cost optionGPT-6 Sol OpenAI | 83.15% | $0.37 |
Source: Vals AI ↗ · as of 1 Oct 2026 · retired leaderboard, no longer updated · last checked 17 Nov 2026
Scoring rule: Highest score is the top score on this leaderboard. Lower-cost option is the best-scoring model whose published cost is below the top scorer’s; equal scores go to the lower cost. Cost is API cost per benchmark task as published by the source, not a subscription price.
- Anthropic
- OpenAI
- xAI
- Meta
- DeepSeek
- Moonshot
- Xiaomi
All scores
| Rank | Model | Provider | Score | Cost per test (USD) | Harness |
|---|---|---|---|---|---|
| 1 | Claude Opus 5.5 | Anthropic | 87.64% | $0.50 | Terminus 2 |
| 2 | GPT-6 Astra | OpenAI | 87.27% | $1.34 | Terminus 2 |
| 3 | GPT-5.6 Sol | OpenAI | 85.77% | $1.02 | Terminus 2 |
| 4 | Claude Fable 5.1 | Anthropic | 85.02% | $3.07 | Terminus 2 |
| 5 | Claude Opus 5 | Anthropic | 84.64% | $0.89 | Terminus 2 |
| 6 | GPT-6 Sol | OpenAI | 83.15% | $0.37 | Terminus 2 |
| 7 | Claude Sonnet 5.5 | Anthropic | 83.15% | $0.63 | Terminus 2 |
| 8 | Gemini 3.8 Flash | 81.27% | $1.54 | Terminus 2 | |
| 9 | Kimi K3 | Moonshot | 80.90% | $0.34 | Terminus 2 |
| 10 | Claude Fable 5 | Anthropic | 80.52% | $1.43 | Terminus 2 |
Show 15 more rows
| Rank | Model | Provider | Score | Cost per test (USD) | Harness |
|---|---|---|---|---|---|
| 11 | GPT-5.6 Luna | OpenAI | 79.03% | $0.050 | Terminus 2 |
| 12 | Muse Spark 1.3 Max | Meta | 79.03% | $0.60 | Terminus 2 |
| 13 | Grok 4.6 | xAI | 78.28% | $0.45 | Terminus 2 |
| 14 | Gemini 3.7 Flash | 77.53% | $1.02 | Terminus 2 | |
| 15 | GPT-5.6 Terra | OpenAI | 77.53% | $0.47 | Terminus 2 |
| 16 | GPT 5.5 | OpenAI | 76.40% | $0.74 | Terminus 2 |
| 17 | MiMo V2.6 Flash | Xiaomi | 76.40% | $0.020 | Terminus 2 |
| 18 | DeepSeek V4.1 Flash | DeepSeek | 74.53% | $0.10 | Terminus 2 |
| 19 | Claude Sonnet 5 | Anthropic | 74.53% | $0.53 | Terminus 2 |
| 20 | Gemini 3.5 Flash | 74.16% | $0.87 | Terminus 2 | |
| 21 | Gemini 3.6 Flash | 73.78% | $1.17 | Terminus 2 | |
| 22 | Grok 4.7 | xAI | 73.41% | $1.08 | Terminus 2 |
| 23 | GPT-6 Luna | OpenAI | 73.03% | $0.030 | Terminus 2 |
| 24 | Muse Spark 1.3 | Meta | 72.28% | $0.66 | Terminus 2 |
| 25 | Claude Opus 4.8 | Anthropic | 71.91% | $2.41 | Terminus 2 |
Full Terminal-Bench 2.1 leaderboard: every model, all metrics and the table →
What these benchmarks tell you
- Terminal-Bench 4.0: the share of hard, multi-step command-line tasks (software, science, ML, operations, hardware, security, media) an agent completes on its own, verified by tests, plus cost per task.
- Terminal-Bench 2.1: the earlier task set, now superseded and no longer updated by the source.
What they don’t tell you
- It tests agents in a terminal, not agents working inside your business apps, inbox or CRM.
- It does not measure safety, permissions handling or how well an agent asks for help.
More prompts for AI agents and terminal automation
Run the same prompt on your own material with two models and compare the results.
Questions people ask
Which AI has the highest reported score for AI agents and terminal automation?
As of 11 Nov 2026, the highest reported score on Terminal-Bench 4.0 is shared by Claude Fable 5.2 (Anthropic) and Claude Opus 5.5 (Anthropic) at 65.15%, per Vals AI. As of 1 Oct 2026, the highest reported score on Terminal-Bench 2.1 is Claude Opus 5.5 (Anthropic) at 87.64%, per Vals AI. The source no longer updates this leaderboard. The leaders differ across these benchmarks, so check the one closest to your work.
How recent are these results?
Terminal-Bench 4.0: leaderboard dated 11 Nov 2026; we last checked it on 17 Nov 2026. Terminal-Bench 2.1: leaderboard dated 1 Oct 2026, no longer updated by the source; we last checked it on 17 Nov 2026.
What do the top-scoring models cost to run on these tests?
On Terminal-Bench 4.0, Claude Fable 5.2 costs $15 and Claude Opus 5.5 costs $12 (cost per test), as published by Vals AI. On Terminal-Bench 2.1, Claude Opus 5.5 costs $0.50 (cost per test), as published by Vals AI. That is API cost on the benchmark’s own tasks, not a subscription price.
Who runs these benchmarks?
Terminal-Bench 4.0 is run by Vals AI (benchmark by Terminal-Bench team). Terminal-Bench 2.1 is run by Vals AI (benchmark by Terminal-Bench team). ChatJudge does not run the tests; we copy the published scores with a link to the source.
What don't these benchmarks tell you about AI agents and terminal automation?
It tests agents in a terminal, not agents working inside your business apps, inbox or CRM. It does not measure safety, permissions handling or how well an agent asks for help.
