Claude Sonnet 5.5vsGemini 3.8 Flash
Answer
Claude Sonnet 5.5 passes more of Terminal-Bench: 61.8% in Claude Code at Max effort, against 19.1% for Gemini 3.8 Flash in mini-SWE-agent.[1][2] Gemini 3.8 Flash's run reported no cost. In output tokens per task, Claude Sonnet 5.5 used 565k and Gemini 3.8 Flash 206k.
Claude Sonnet 5.5Gemini 3.8 Flash
At a glance
marks the better value in a row. Terminal-Bench gaps smaller than two tasks, and Epoch AI gaps inside the margin of error, count as level. Epoch AI rows show each model at its best setting.
| Claude Sonnet 5.5 | Gemini 3.8 Flash | |
|---|---|---|
| Released | Sep 28, 2026[5]Anthropic · Current | Sep 2, 2026[6]Google · Superseded Nov 12, 2026 |
| Terminal-Bench | 61.8%Higher[1]Claude Code · Max | 19.1%[2]mini-SWE-agent · High |
| Cost per task | $22.22[1] | Not reported |
| Output tokens per task | 565k[1] | 206kFewer[2] |
| Minutes per task | 124 min[1] | 33 minQuicker[2] |
| MirrorCode | 97.8%Higher[3]Max · Epoch AI | 38.9%[3]High · Epoch AI |
| GPQA Diamond | 95.6%[3]Max · Epoch AI | 95.4%[3]High · Epoch AI |
| FrontierMath Tiers 1–3 | 88.8%Higher[3]Max · Epoch AI | 68.4%[3]High · Epoch AI |
| API price | $2/$10[4]Per 1M input/output tokens | $0.75/$3.75[4]Per 1M input/output tokens |
| Longest input | 1M tokens[4] | 1.05M tokens[4] |
| Frontier star | None | Superseded |
Choose Claude Sonnet 5.5 if…
- You want the higher Terminal-Bench score: 61.8% against 19.1%.
- You hand it long coding projects: MirrorCode 97.8% against 38.9%.
- You need hard math: FrontierMath Tiers 1–3 88.8% against 68.4%.
- You work in Claude Code, Anthropic's own coding agent, where its Terminal-Bench run was made.
- You want a current model: Google superseded Gemini 3.8 Flash on Nov 12, 2026 with Gemini 4 Hydrogen.
Choose Gemini 3.8 Flash if…
- You want fewer output tokens: 206k per task against 565k.
- You want quicker runs: 33 minutes per task against 124.
- You pay by the token: $0.75/$3.75 per million input/output tokens against $2/$10.
- You work in Antigravity CLI, Google's own coding agent.
- You have a setup pinned to it, though Google superseded it on Nov 12, 2026 with Gemini 4 Hydrogen.
Related comparisons
More with Claude Sonnet 5.5
More with Gemini 3.8 Flash
In each lab's coding agent: Antigravity CLI vs Claude Code
Questions.
Is Claude Sonnet 5.5 better than Gemini 3.8 Flash for coding?
Claude Sonnet 5.5 passes more of Terminal-Bench: 61.8% in Claude Code at Max effort, against 19.1% for Gemini 3.8 Flash in mini-SWE-agent. Gemini 3.8 Flash's run reported no cost. In output tokens per task, Claude Sonnet 5.5 used 565k and Gemini 3.8 Flash 206k.
Which is cheaper, Claude Sonnet 5.5 or Gemini 3.8 Flash?
Claude Sonnet 5.5: $22.22 per Terminal-Bench task, $2/$10 per million input/output tokens. Gemini 3.8 Flash: $0.75/$3.75 per million input/output tokens.
How do Claude Sonnet 5.5 and Gemini 3.8 Flash compare on Epoch AI's benchmarks?
Best scores, Claude Sonnet 5.5 first. MirrorCode: 97.8% against 38.9%. GPQA Diamond: 95.6% against 95.4%, within the margin of error. FrontierMath Tiers 1–3: 88.8% against 68.4%.
When were Claude Sonnet 5.5 and Gemini 3.8 Flash released?
Anthropic released Claude Sonnet 5.5 on Sep 28, 2026; Google released Gemini 3.8 Flash on Sep 2, 2026. Google superseded Gemini 3.8 Flash on Nov 12, 2026 with Gemini 4 Hydrogen.
Sources and scope
Terminal-Bench results are each model's run on the official leaderboard: the agent attempts all 66 tasks at least five times, errored trials count as failures, and passing trials are checked for reward hacking. Each lab's run uses the agent and setting it was submitted with, and cost per task is what the run reported. Epoch AI's scores test each model alone, under CC BY 4.0. API prices come from LiteLLM's price list. Written by aicharts from data checked Nov 24, 2026. Prices and scores change as labs update their models.