Gemini 3.7 FlashvsClaude Opus 5
Answer
Claude Opus 5 passes more of Terminal-Bench: 51.8% in Claude Code at Max effort, against 11.2% for Gemini 3.7 Flash in mini-SWE-agent.[1][2] Claude Opus 5 costs $18.09 per task against $3.82 for Gemini 3.7 Flash. Its +40.6 points cost 4.7× as much.
Gemini 3.7 FlashClaude Opus 5
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.
| Gemini 3.7 Flash | Claude Opus 5 | |
|---|---|---|
| Released | Aug 13, 2026[5]Google · Superseded Sep 2, 2026 | Jul 24, 2026[6]Anthropic · Superseded Sep 22, 2026 |
| Terminal-Bench | 11.2%[1]mini-SWE-agent · High | 51.8%Higher[2]Claude Code · Max |
| Cost per task | $3.82Lower[1] | $18.09[2] |
| Output tokens per task | 158kFewer[1] | 200k[2] |
| Minutes per task | 28 minQuicker[1] | 80 min[2] |
| MirrorCode | 41.1%[3]High · Epoch AI | 87.8%Higher[3]Max · Epoch AI |
| GPQA Diamond | 94.8%[3]High · Epoch AI | 93.9%[3]Max · Epoch AI |
| FrontierMath Tiers 1–3 | 71.6%[3]High · Epoch AI | 85.6%Higher[3]Max · Epoch AI |
| API price | $0.75/$3.75[4]Per 1M input/output tokens | $5/$25[4]Per 1M input/output tokens |
| Longest input | 1.05M tokens[4] | 1M tokens[4] |
| Frontier star | Superseded | Superseded |
Choose Gemini 3.7 Flash if…
- You want to spend less per task: $3.82 against $18.09 on Terminal-Bench.
- You want fewer output tokens: 158k per task against 200k.
- You want quicker runs: 28 minutes per task against 80.
- You pay by the token: $0.75/$3.75 per million input/output tokens against $5/$25.
- You work in Antigravity CLI, Google's own coding agent.
- You have a setup pinned to it, though Google superseded it on Sep 2, 2026 with Gemini 3.8 Flash.
Choose Claude Opus 5 if…
- You want the higher Terminal-Bench score: 51.8% against 11.2%.
- You hand it long coding projects: MirrorCode 87.8% against 41.1%.
- You need hard math: FrontierMath Tiers 1–3 85.6% against 71.6%.
- You work in Claude Code, Anthropic's own coding agent, where its Terminal-Bench run was made.
- You have a setup pinned to it, though Anthropic superseded it on Sep 22, 2026 with Claude Opus 5.5.
Related comparisons
More with Gemini 3.7 Flash
More with Claude Opus 5
In each lab's coding agent: Antigravity CLI vs Claude Code
Questions.
Is Gemini 3.7 Flash better than Claude Opus 5 for coding?
Claude Opus 5 passes more of Terminal-Bench: 51.8% in Claude Code at Max effort, against 11.2% for Gemini 3.7 Flash in mini-SWE-agent. Claude Opus 5 costs $18.09 per task against $3.82 for Gemini 3.7 Flash. Its +40.6 points cost 4.7× as much.
Which is cheaper, Gemini 3.7 Flash or Claude Opus 5?
Gemini 3.7 Flash: $3.82 per Terminal-Bench task, $0.75/$3.75 per million input/output tokens. Claude Opus 5: $18.09 per Terminal-Bench task, $5/$25 per million input/output tokens.
How do Gemini 3.7 Flash and Claude Opus 5 compare on Epoch AI's benchmarks?
Best scores, Gemini 3.7 Flash first. MirrorCode: 41.1% against 87.8%. GPQA Diamond: 94.8% against 93.9%, within the margin of error. FrontierMath Tiers 1–3: 71.6% against 85.6%.
When were Gemini 3.7 Flash and Claude Opus 5 released?
Google released Gemini 3.7 Flash on Aug 13, 2026; Anthropic released Claude Opus 5 on Jul 24, 2026. Google superseded Gemini 3.7 Flash on Sep 2, 2026 with Gemini 3.8 Flash. Anthropic superseded Claude Opus 5 on Sep 22, 2026 with Claude Opus 5.5.
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.