aicharts

Gemini 3.7 FlashvsClaude Opus 5

Terminal-Bench, Epoch AI scores and cost per taskData checked All comparisons

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

0%10%20%30%40%50%60%70%$0.25$0.5$1$2$5$10$25$50Pareto frontierCost per task (log)Opus 5Gem 3.7 Flash
Gemini 3.7 Flash in mini-SWE-agent · 11.2% on Terminal-Bench · $3.82 per taskClaude Opus 5 in Claude Code · 51.8% on Terminal-Bench · $18.09 per task
Gemini 3.7 Flash and Claude Opus 5 against every current model, one dot per model's Terminal-Bench run. The dashed line is the cost frontier: no model scores higher for less.

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 and Claude Opus 5 compared
Gemini 3.7 FlashClaude Opus 5
ReleasedAug 13, 2026[5]Google · Superseded Sep 2, 2026Jul 24, 2026[6]Anthropic · Superseded Sep 22, 2026
Terminal-Bench11.2%[1]mini-SWE-agent · High51.8%Higher[2]Claude Code · Max
Cost per task$3.82Lower[1]$18.09[2]
Output tokens per task158kFewer[1]200k[2]
Minutes per task28 minQuicker[1]80 min[2]
MirrorCode41.1%[3]High · Epoch AI87.8%Higher[3]Max · Epoch AI
GPQA Diamond94.8%[3]High · Epoch AI93.9%[3]Max · Epoch AI
FrontierMath Tiers 1–371.6%[3]High · Epoch AI85.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 input1.05M tokens[4]1M tokens[4]
Frontier starSupersededSuperseded

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.

Gemini 3.7 Flash benchmarks and pricing

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.

Claude Opus 5 benchmarks and pricing

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.

  1. Terminal-Bench leaderboard: mini-SWE-agent with Gemini 3.7 Flash
  2. Terminal-Bench leaderboard: Claude Code with Claude Opus 5
  3. Epoch AI, Capabilities & benchmarking (CC BY 4.0)
  4. LiteLLM model prices (MIT)
  5. Google: Gemini 3.7 Flash
  6. Anthropic: Claude Opus 5

Open Gemini 3.7 Flash in the explorer