Claude Opus 5 vs Gemini 3.7 Flash
Claude Opus 5 leads Gemini 3.7 Flash on coding, 83.0 to 58.0 on the Vibe Coding Index, and Gemini 3.7 Flash costs 6.7x less per output token ($3.75 vs $25.00 per million). Updated October 22, 2026; 111 benchmarks have a result for both.
Claude Opus 5 or Gemini 3.7 Flash: which to pick
Pick Claude Opus 5 for coding: it scores 83.0 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash.
Pick Gemini 3.7 Flash for output tokens 6.7x cheaper ($3.75 vs $25.00 per million) and a larger context window (1.05M against 1M tokens).
- Shared results
- 111
- Claude Opus 5 only
- 20
- Gemini 3.7 Flash only
- 3
- Like-for-like categories
- 8 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
Claude Opus 5
Claude Opus 5 scores 83.0 against 58.0.
6 benchmarks behind each score
Intelligence
AA Intelligence Index
Claude Opus 5
Claude Opus 5 leads, 50.8 against 39.6.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Opus 5 has a AA Agentic Index result, 56.5.
Directional only
Reasoning
GPQA Diamond
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 93.9% against 93.4%.
Same board, both measured
Knowledge
MMLU Pro
Claude Opus 5
Claude Opus 5 leads, 91.6% against 90.1%.
Same board, both measured
Web design
Design Arena: websites
Claude Opus 5
Claude Opus 5 leads, 1309 against 1303.
Same board, both measured
Long documents
Listed context window
Gemini 3.7 Flash
Gemini 3.7 Flash takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.7 Flash
Claude Opus 5 $0.018, Gemini 3.7 Flash $0.0026 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Claude Opus 5
Claude Opus 5 $1.33, Gemini 3.7 Flash $1.78.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 5 83.0 from 6 benchmarks, Gemini 3.7 Flash 58.0 from 6 benchmarks.
- Widest category
- Math, 17.3 points apart on average over 6 shared benchmarks.
- Widest single gap
- Terminal-Bench 4 (Vals AI): Claude Opus 5 53.5% against Gemini 3.7 Flash 12.1%, 55.2 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 5 $25.00 against Gemini 3.7 Flash $3.75 per million output tokens, 6.7x apart.
- Context window
- Claude Opus 5 takes 1M tokens, Gemini 3.7 Flash 1.05M.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Claude Opus 5 | Bars | Gemini 3.7 Flash | Ties |
|---|---|---|---|---|
| Coding | 20 | 2 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 14 | 2 | ||
| Reasoning | 11 | 4 | ||
| Math | 6 | 0 | ||
| Knowledge | 8 | 2 | ||
| Web design | 9 | 0 | ||
| General | 27 | 3 | ||
| All shared boards | 97 | 13 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index202
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| LiveBench coding | 90.8% | 80.5% | Claude Opus 5 |
| LMArena WebDev | 1689 | 1591 | Claude Opus 5 |
| AA Coding Index | 78.0 | 71.5 | Claude Opus 5 |
| LiveCodeBench (Vals AI) | 89.0% | 88.7% | Claude Opus 5 |
| SWE-bench Verified (Vals AI) | 97.0% | 80.8% | Claude Opus 5 |
| Terminal-Bench 4 (Vals AI) | 53.5% | 12.1% | Claude Opus 5 |
| Vibe Code Bench (Vals AI) | 88.4% | 70.4% | Claude Opus 5 |
| Code migration (Vals AI) | 57.5% | 34.8% | Claude Opus 5 |
| ProgramBench (Vals AI) | 3.0% | 0.0% | Claude Opus 5 |
| IOI (Vals AI) | 84.3% | 67.8% | Claude Opus 5 |
| Terminal-Bench 2.1 (Vals AI) | 84.6% | 77.5% | Claude Opus 5 |
| Vibe Code Bench 1-100 (Vals AI) | 28.5% | Not measured | Only Claude Opus 5 measured |
| SkillsBench (Vals AI) | 60.4% | 65.9% | Gemini 3.7 Flash |
| CyberBench (Vals AI) | 65.4% | 43.8% | Claude Opus 5 |
| SciCode | 56.4% | 59.8% | Gemini 3.7 Flash |
| FrontierCode | 53.4% | 43.6% | Claude Opus 5 |
| FrontierSWE | 52.0% | 20.3% | Claude Opus 5 |
| WeirdML | 91.8% | Not measured | Only Claude Opus 5 measured |
| ALE-Bench | 2164.6 | 904.3 | Claude Opus 5 |
| LMArena Text: coding | 1533 | 1499 | Claude Opus 5 |
| LMArena Text: software and IT | 1527 | 1498 | Claude Opus 5 |
| LMArena WebDev: React | 1711 | 1587 | Claude Opus 5 |
| LMArena WebDev: HTML | 1680 | 1593 | Claude Opus 5 |
| LMArena WebDev: from an image | 1662 | 1599 | Claude Opus 5 |
| SciCode | 13.8% | 13.8% | Tie |
| Neither model has a result on the other 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | 50.8 | 39.6 | Claude Opus 5 |
| Epoch Capabilities Index | 163.9 | 158.0 | Claude Opus 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index142
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| AA Agentic Index | 56.5 | Not measured | Only Claude Opus 5 measured |
| Design Arena: agents building web apps | 1266 | 1223 | Claude Opus 5 |
| Design Arena: agents building full-stack apps | 1306 | 1208 | Claude Opus 5 |
| Design Arena: agents building mobile apps | 1348 | 1229 | Claude Opus 5 |
| Design Arena: agents building Android apps | 1257 | 1243 | Claude Opus 5 |
| Design Arena: agents building Godot games | 1279 | 1264 | Claude Opus 5 |
| Design Arena: agents building games | 1261 | 1235 | Claude Opus 5 |
| Design Arena: PowerPoint slides | 1240 | Not measured | Only Claude Opus 5 measured |
| Design Arena: spreadsheets | Not measured | 1058 | Only Gemini 3.7 Flash measured |
| LiveBench research | 88.9% | 76.5% | Claude Opus 5 |
| LiveBench browser | 84.0% | 56.0% | Claude Opus 5 |
| LiveBench long agentic | 62.1% | 28.3% | Claude Opus 5 |
| SREBench (Vals AI) | 12.2% | 4.6% | Claude Opus 5 |
| Finance Agent (Vals AI) | 58.6% | 59.0% | Gemini 3.7 Flash |
| Tax Agent Bench (Vals AI) | 45.5% | 22.8% | Claude Opus 5 |
| Legal Research Bench (Vals AI) | 55.3% | 34.6% | Claude Opus 5 |
| Excel Modeling Benchmark (Vals AI) | 73.6% | 71.3% | Claude Opus 5 |
| BioMysteryBench (Vals AI) | 79.3% | Not measured | Only Claude Opus 5 measured |
| Terminal-Bench-Science (Vals AI) | 27.1% | 7.1% | Claude Opus 5 |
| Vals Science Index | 47.9% | Not measured | Only Claude Opus 5 measured |
| Time Horizon Index (Vals AI) | 18.8% | Not measured | Only Claude Opus 5 measured |
| CUA-bench (Vals AI) | 9.0% | Not measured | Only Claude Opus 5 measured |
| APEX-Agents | 65.8% | 67.8% | Gemini 3.7 Flash |
| Remote Labor Index | Not measured | 5.0% | Only Gemini 3.7 Flash measured |
| OSWorld 2.0 | 31.4% | Not measured | Only Claude Opus 5 measured |
| BALROG | 63.4% | Not measured | Only Claude Opus 5 measured |
| PostTrainBench | 35.0% | Not measured | Only Claude Opus 5 measured |
| Vending-Bench 2 | $11,182 | Not measured | Only Claude Opus 5 measured |
| LMArena Search | 1242 | Not measured | Only Claude Opus 5 measured |
| Neither model has a result on the other 12 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index114
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| GPQA Diamond | 93.4% | 93.9% | Gemini 3.7 Flash |
| LiveBench reasoning | 91.2% | 87.8% | Claude Opus 5 |
| MysteryMechanism (Vals AI) | 37.4% | Not measured | Only Claude Opus 5 measured |
| MMMU Pro (Vals AI) | 89.9% | 89.0% | Claude Opus 5 |
| GPQA Diamond (Artificial Analysis run) | 93.7% | 94.5% | Gemini 3.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 54.9% | 47.9% | Claude Opus 5 |
| GPQA Diamond (Epoch AI run) | 93.9% | 94.8% | Gemini 3.7 Flash |
| ARC-AGI | 97.5% | 95.5% | Claude Opus 5 |
| ARC-AGI-2 | 90.4% | 84.6% | Claude Opus 5 |
| SimpleBench | 80.6% | Not measured | Only Claude Opus 5 measured |
| Chess puzzles | 43.0% | 66.0% | Gemini 3.7 Flash |
| Mystery game puzzles | 59.0% | 37.0% | Claude Opus 5 |
| EBR-bench | 45.7% | Not measured | Only Claude Opus 5 measured |
| LMArena Text: hard prompts | 1527 | 1495 | Claude Opus 5 |
| LMArena Text: expert | 1554 | 1512 | Claude Opus 5 |
| LMArena Text: hard prompts in English | 1523 | 1487 | Claude Opus 5 |
| LMArena Vision: diagrams | 1348 | 1329 | Claude Opus 5 |
| LMArena Vision: homework | 1338 | 1320 | Claude Opus 5 |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| OTIS Mock AIME | 98.9% | 97.2% | Claude Opus 5 |
| FrontierMath, tiers 1 to 3 | 85.6% | 71.6% | Claude Opus 5 |
| FrontierMath, tier 4 | 73.2% | 36.6% | Claude Opus 5 |
| ProofBench | 99.0% | 58.0% | Claude Opus 5 |
| LMArena Text: math | 1533 | 1511 | Claude Opus 5 |
| LMArena Text: mathematical work | 1544 | 1502 | Claude Opus 5 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index82
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| MMLU Pro | 91.6% | 90.1% | Claude Opus 5 |
| LegalBench (Vals AI) | 87.0% | 87.3% | Gemini 3.7 Flash |
| CorpFin (Vals AI) | 73.2% | Not measured | Only Claude Opus 5 measured |
| TaxEval (Vals AI) | 75.1% | 74.7% | Claude Opus 5 |
| MortgageTax (Vals AI) | 72.1% | 66.7% | Claude Opus 5 |
| MedCode (Vals AI) | 63.6% | 53.4% | Claude Opus 5 |
| SimpleQA Verified | 59.9% | 69.2% | Gemini 3.7 Flash |
| LMArena Text: science | 1531 | 1511 | Claude Opus 5 |
| LMArena Text: medicine and healthcare | 1525 | 1494 | Claude Opus 5 |
| LMArena Text: legal and government | 1530 | 1496 | Claude Opus 5 |
| LMArena Text: business and finance | 1501 | 1479 | Claude Opus 5 |
| FACTS Benchmark Suite | Not measured | 71.2% | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | 1309 | 1303 | Claude Opus 5 |
| Design Arena: UI components | 1346 | 1296 | Claude Opus 5 |
| Design Arena: game dev | 1337 | 1317 | Claude Opus 5 |
| Design Arena: data viz | 1329 | 1315 | Claude Opus 5 |
| Design Arena: 3D | 1334 | 1307 | Claude Opus 5 |
| Design Arena: all code categories | 1323 | 1308 | Claude Opus 5 |
| Design Arena: SVG | 1311 | 1283 | Claude Opus 5 |
| Design Arena: ASCII art | 1352 | 1276 | Claude Opus 5 |
| LiveBench design | 83.0% | 73.2% | Claude Opus 5 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index273
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| LiveBench data analysis | 74.6% | 68.0% | Claude Opus 5 |
| Public Benefits Bench (Vals AI) | 76.9% | Not measured | Only Claude Opus 5 measured |
| SAGE (Vals AI) | 49.4% | 49.2% | Claude Opus 5 |
| MedScribe (Vals AI) | 91.0% | 83.9% | Claude Opus 5 |
| Vals Multimodal Index | 73.9% | Not measured | Only Claude Opus 5 measured |
| Long context reasoning (AA-LCR) | 82.0% | 83.0% | Gemini 3.7 Flash |
| DTBench | 97.9% | 96.8% | Claude Opus 5 |
| LMCA | 64.5% | 50.4% | Claude Opus 5 |
| Furniture assembly | 60.8% | 26.7% | Claude Opus 5 |
| LMArena Text | 1509 | 1489 | Claude Opus 5 |
| LMArena Text: instruction following | 1518 | 1484 | Claude Opus 5 |
| LMArena Text: creative writing | 1493 | 1488 | Claude Opus 5 |
| LMArena Vision | 1320 | 1314 | Claude Opus 5 |
| LMArena Text: English | 1508 | 1483 | Claude Opus 5 |
| LMArena Text: non-English | 1502 | 1487 | Claude Opus 5 |
| LMArena Text: Chinese | 1573 | 1552 | Claude Opus 5 |
| LMArena Text: German | 1527 | 1506 | Claude Opus 5 |
| LMArena Text: Japanese | 1520 | 1511 | Claude Opus 5 |
| LMArena Text: Korean | 1517 | 1481 | Claude Opus 5 |
| LMArena Text: French | 1519 | 1500 | Claude Opus 5 |
| LMArena Text: Spanish | 1523 | 1495 | Claude Opus 5 |
| LMArena Text: Russian | 1507 | 1515 | Gemini 3.7 Flash |
| LMArena Text: Polish | 1522 | 1503 | Claude Opus 5 |
| LMArena Text: multi-turn | 1500 | 1485 | Claude Opus 5 |
| LMArena Text: longer queries | 1517 | 1492 | Claude Opus 5 |
| LMArena Text: writing and language | 1499 | 1491 | Claude Opus 5 |
| LMArena Text: entertainment and media | 1481 | 1477 | Claude Opus 5 |
| LMArena Vision: English | 1315 | 1309 | Claude Opus 5 |
| LMArena Vision: Chinese | 1400 | 1394 | Claude Opus 5 |
| LMArena Vision: reading text | 1329 | 1322 | Claude Opus 5 |
| LMArena Vision: humor | 1293 | 1299 | Gemini 3.7 Flash |
| LMArena Vision: creative writing | 1313 | 1312 | Claude Opus 5 |
| LMArena Document | 1516 | Not measured | Only Claude Opus 5 measured |
| Neither model has a result on the other 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 5 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Gemini 3.7 Flash costs less
Repository review
50K input + 3K output tokens
Gemini 3.7 Flash costs less
Agent loop
200K input + 10K output tokens
Gemini 3.7 Flash costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Anthropic Claude Opus 5 | Google Gemini 3.7 Flash |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | July 24, 2026 | August 13, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $5.00 | $0.75 |
| Output $/Mtok | $25.00 | $3.75 |
| Coding index | 83.0 | 58.0 |
| Independent measurements behind it | 6 | 6 |
| Cost per solved task | $1.33 | $1.78 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 5 better than Gemini 3.7 Flash for coding?
Pick Claude Opus 5 for coding: it scores 83.0 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash. Pick Gemini 3.7 Flash for output tokens 6.7x cheaper ($3.75 vs $25.00 per million) and a larger context window (1.05M against 1M tokens).
Which is cheaper, Claude Opus 5 or Gemini 3.7 Flash?
Claude Opus 5 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemini 3.7 Flash costs $0.75 and $3.75. Per solved SWE-bench Verified task, Claude Opus 5 costs $1.33 and Gemini 3.7 Flash $1.78.
Which has the bigger context window, Claude Opus 5 or Gemini 3.7 Flash?
Gemini 3.7 Flash, with 1.05M tokens against 1M.
How many benchmarks is the Claude Opus 5 vs Gemini 3.7 Flash comparison based on?
111 benchmarks have a result for both models as of October 22, 2026. Claude Opus 5's coding index rests on 6 independent benchmarks and Gemini 3.7 Flash's on 6. Where only one model has a result, the page says so instead of naming a winner.