Claude Opus 4.8 vs Gemini 3.7 Flash
Claude Opus 4.8 leads Gemini 3.7 Flash on coding, 65.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; 108 benchmarks have a result for both.
Claude Opus 4.8 or Gemini 3.7 Flash: which to pick
Pick Claude Opus 4.8 for coding: it scores 65.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 lower cost per solved task ($1.78 against $2.17).
- Shared results
- 108
- Claude Opus 4.8 only
- 22
- Gemini 3.7 Flash only
- 6
- 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 4.8
Claude Opus 4.8 scores 65.0 against 58.0.
6 benchmarks behind each score
Intelligence
AA Intelligence Index
Claude Opus 4.8
Claude Opus 4.8 leads, 41.8 against 39.6.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Opus 4.8 has a AA Agentic Index result, 41.9.
Directional only
Reasoning
GPQA Diamond
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 93.9% against 92.4%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 90.1% against 89.6%.
Same board, both measured
Web design
Design Arena: websites
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 1303 against 1258.
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 4.8 $0.018, Gemini 3.7 Flash $0.0026 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.7 Flash
Claude Opus 4.8 $2.17, Gemini 3.7 Flash $1.78.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.8 65.0 from 6 benchmarks, Gemini 3.7 Flash 58.0 from 6 benchmarks.
- Widest category
- Agentic work, 9.3 points apart on average over 17 shared benchmarks.
- Widest single gap
- LiveBench browser: Claude Opus 4.8 96.0% against Gemini 3.7 Flash 56.0%, 40.0 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.8 $25.00 against Gemini 3.7 Flash $3.75 per million output tokens, 6.7x apart.
- Context window
- Claude Opus 4.8 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 4.8 | Bars | Gemini 3.7 Flash | Ties |
|---|---|---|---|---|
| Coding | 7 | 11 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 10 | 7 | ||
| Reasoning | 3 | 12 | ||
| Math | 4 | 2 | ||
| Knowledge | 2 | 9 | ||
| Web design | 2 | 7 | ||
| General | 4 | 26 | ||
| All shared boards | 34 | 74 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index711
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| LiveBench coding | 77.3% | 80.5% | Gemini 3.7 Flash |
| LMArena WebDev | 1556 | 1591 | Gemini 3.7 Flash |
| AA Coding Index | 74.3 | 71.5 | Claude Opus 4.8 |
| LiveCodeBench (Vals AI) | 87.8% | 88.7% | Gemini 3.7 Flash |
| SWE-bench Verified (Vals AI) | 88.6% | 80.8% | Claude Opus 4.8 |
| Terminal-Bench 4 (Vals AI) | 23.2% | 12.1% | Claude Opus 4.8 |
| Vibe Code Bench (Vals AI) | 82.7% | 70.4% | Claude Opus 4.8 |
| Code migration (Vals AI) | 47.3% | 34.8% | Claude Opus 4.8 |
| ProgramBench (Vals AI) | 1.0% | 0.0% | Claude Opus 4.8 |
| IOI (Vals AI) | Not measured | 67.8% | Only Gemini 3.7 Flash measured |
| Terminal-Bench 2.1 (Vals AI) | 71.9% | 77.5% | Gemini 3.7 Flash |
| SkillsBench (Vals AI) | 59.2% | 65.9% | Gemini 3.7 Flash |
| CyberBench (Vals AI) | Not measured | 43.8% | Only Gemini 3.7 Flash measured |
| SciCode | 54.4% | 59.8% | Gemini 3.7 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | 58.3% | Not measured | Only Claude Opus 4.8 measured |
| FrontierCode | 46.5% | 43.6% | Claude Opus 4.8 |
| FrontierSWE | Not measured | 20.3% | Only Gemini 3.7 Flash measured |
| GSO-Bench | 47.1% | Not measured | Only Claude Opus 4.8 measured |
| WeirdML | 82.9% | Not measured | Only Claude Opus 4.8 measured |
| ALE-Bench | Not measured | 904.3 | Only Gemini 3.7 Flash measured |
| LMArena Text: coding | 1490 | 1499 | Gemini 3.7 Flash |
| LMArena Text: software and IT | 1488 | 1498 | Gemini 3.7 Flash |
| LMArena WebDev: React | 1557 | 1587 | Gemini 3.7 Flash |
| LMArena WebDev: HTML | 1543 | 1593 | Gemini 3.7 Flash |
| LMArena WebDev: from an image | Not measured | 1599 | Only Gemini 3.7 Flash measured |
| SciCode | 12.3% | 13.8% | Gemini 3.7 Flash |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | 41.8 | 39.6 | Claude Opus 4.8 |
| Epoch Capabilities Index | 159.0 | 158.0 | Claude Opus 4.8 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index107
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| AA Agentic Index | 41.9 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: agents building web apps | 1233 | 1223 | Claude Opus 4.8 |
| Design Arena: agents building full-stack apps | 1249 | 1208 | Claude Opus 4.8 |
| Design Arena: agents building mobile apps | 1222 | 1229 | Gemini 3.7 Flash |
| Design Arena: agents building Android apps | 1233 | 1243 | Gemini 3.7 Flash |
| Design Arena: agents building Godot games | 1231 | 1264 | Gemini 3.7 Flash |
| Design Arena: agents building games | 1239 | 1235 | Claude Opus 4.8 |
| Design Arena: HTML slides | 1171 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: PowerPoint slides | 1202 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: spreadsheets | 1303 | 1058 | Claude Opus 4.8 |
| LiveBench research | 81.8% | 76.5% | Claude Opus 4.8 |
| LiveBench browser | 96.0% | 56.0% | Claude Opus 4.8 |
| LiveBench long agentic | 48.3% | 28.3% | Claude Opus 4.8 |
| SREBench (Vals AI) | Not measured | 4.6% | Only Gemini 3.7 Flash measured |
| Finance Agent (Vals AI) | 53.9% | 59.0% | Gemini 3.7 Flash |
| Tax Agent Bench (Vals AI) | 30.0% | 22.8% | Claude Opus 4.8 |
| Legal Research Bench (Vals AI) | 43.8% | 34.6% | Claude Opus 4.8 |
| Excel Modeling Benchmark (Vals AI) | 69.4% | 71.3% | Gemini 3.7 Flash |
| Terminal-Bench-Science (Vals AI) | 4.3% | 7.1% | Gemini 3.7 Flash |
| Time Horizon Index (Vals AI) | 11.8% | Not measured | Only Claude Opus 4.8 measured |
| τ²-Bench Telecom | 94.4% | Not measured | Only Claude Opus 4.8 measured |
| APEX-Agents | 48.9% | 67.8% | Gemini 3.7 Flash |
| Remote Labor Index | 8.3% | 5.0% | Claude Opus 4.8 |
| OSWorld 2.0 | 20.6% | Not measured | Only Claude Opus 4.8 measured |
| DeepResearch Bench | 50.2% | Not measured | Only Claude Opus 4.8 measured |
| PostTrainBench | 33.8% | Not measured | Only Claude Opus 4.8 measured |
| Vending-Bench 2 | $5,787 | Not measured | Only Claude Opus 4.8 measured |
| LMArena Search | 1204 | Not measured | Only Claude Opus 4.8 measured |
| Neither model has a result on the other 13 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index312
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| GPQA Diamond | 92.4% | 93.9% | Gemini 3.7 Flash |
| LiveBench reasoning | 89.2% | 87.8% | Claude Opus 4.8 |
| MMMU Pro (Vals AI) | 86.6% | 89.0% | Gemini 3.7 Flash |
| GPQA Diamond (Artificial Analysis run) | 92.0% | 94.5% | Gemini 3.7 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 48.7% | 47.9% | Claude Opus 4.8 |
| GPQA Diamond (Epoch AI run) | 91.0% | 94.8% | Gemini 3.7 Flash |
| ARC-AGI | 92.5% | 95.5% | Gemini 3.7 Flash |
| ARC-AGI-2 | 72.1% | 84.6% | Gemini 3.7 Flash |
| SimpleBench | 64.8% | Not measured | Only Claude Opus 4.8 measured |
| Chess puzzles | 52.0% | 66.0% | Gemini 3.7 Flash |
| Mystery game puzzles | 36.0% | 37.0% | Gemini 3.7 Flash |
| EBR-bench | 28.6% | Not measured | Only Claude Opus 4.8 measured |
| LMArena Text: hard prompts | 1482 | 1495 | Gemini 3.7 Flash |
| LMArena Text: expert | 1503 | 1512 | Gemini 3.7 Flash |
| LMArena Text: hard prompts in English | 1487 | 1487 | Gemini 3.7 Flash |
| LMArena Vision: diagrams | 1315 | 1329 | Gemini 3.7 Flash |
| LMArena Vision: homework | 1337 | 1320 | Claude Opus 4.8 |
| Kagi LLM Benchmark | 88.8% | Not measured | Only Claude Opus 4.8 measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index42
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| OTIS Mock AIME | 98.3% | 97.2% | Claude Opus 4.8 |
| FrontierMath, tiers 1 to 3 | 80.0% | 71.6% | Claude Opus 4.8 |
| FrontierMath, tier 4 | 56.1% | 36.6% | Claude Opus 4.8 |
| ProofBench | 69.0% | 58.0% | Claude Opus 4.8 |
| LMArena Text: math | 1486 | 1511 | Gemini 3.7 Flash |
| LMArena Text: mathematical work | 1497 | 1502 | Gemini 3.7 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index29
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| MMLU Pro | 89.6% | 90.1% | Gemini 3.7 Flash |
| LegalBench (Vals AI) | 83.6% | 87.3% | Gemini 3.7 Flash |
| CorpFin (Vals AI) | 66.7% | Not measured | Only Claude Opus 4.8 measured |
| TaxEval (Vals AI) | 75.6% | 74.7% | Claude Opus 4.8 |
| MortgageTax (Vals AI) | 69.9% | 66.7% | Claude Opus 4.8 |
| MedCode (Vals AI) | 53.2% | 53.4% | Gemini 3.7 Flash |
| SimpleQA Verified | 53.0% | 69.2% | Gemini 3.7 Flash |
| LMArena Text: science | 1477 | 1511 | Gemini 3.7 Flash |
| LMArena Text: medicine and healthcare | 1464 | 1494 | Gemini 3.7 Flash |
| LMArena Text: legal and government | 1477 | 1496 | Gemini 3.7 Flash |
| LMArena Text: business and finance | 1458 | 1479 | Gemini 3.7 Flash |
| FACTS Benchmark Suite | 53.5% | 71.2% | Gemini 3.7 Flash |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index27
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | 1258 | 1303 | Gemini 3.7 Flash |
| Design Arena: UI components | 1255 | 1296 | Gemini 3.7 Flash |
| Design Arena: game dev | 1264 | 1317 | Gemini 3.7 Flash |
| Design Arena: data viz | 1240 | 1315 | Gemini 3.7 Flash |
| Design Arena: 3D | 1222 | 1307 | Gemini 3.7 Flash |
| Design Arena: all code categories | 1255 | 1308 | Gemini 3.7 Flash |
| Design Arena: SVG | 1195 | 1283 | Gemini 3.7 Flash |
| Design Arena: ASCII art | 1277 | 1276 | Claude Opus 4.8 |
| LiveBench design | 78.8% | 73.2% | Claude Opus 4.8 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index426
| Benchmark | Claude Opus 4.8 | Gemini 3.7 Flash | Leader |
|---|---|---|---|
| LiveBench data analysis | 66.0% | 68.0% | Gemini 3.7 Flash |
| Public Benefits Bench (Vals AI) | 68.1% | Not measured | Only Claude Opus 4.8 measured |
| SAGE (Vals AI) | 54.8% | 49.2% | Claude Opus 4.8 |
| MedScribe (Vals AI) | 85.8% | 83.9% | Claude Opus 4.8 |
| Vals Multimodal Index | 70.9% | Not measured | Only Claude Opus 4.8 measured |
| IFBench | 62.2% | Not measured | Only Claude Opus 4.8 measured |
| Long context reasoning (AA-LCR) | 77.7% | 83.0% | Gemini 3.7 Flash |
| DTBench | 94.9% | 96.8% | Gemini 3.7 Flash |
| LMCA | 57.5% | 50.4% | Claude Opus 4.8 |
| Surface Evolver Bench | 87.5% | Not measured | Only Claude Opus 4.8 measured |
| Furniture assembly | 42.5% | 26.7% | Claude Opus 4.8 |
| LMArena Text | 1461 | 1489 | Gemini 3.7 Flash |
| LMArena Text: instruction following | 1476 | 1484 | Gemini 3.7 Flash |
| LMArena Text: creative writing | 1454 | 1488 | Gemini 3.7 Flash |
| LMArena Vision | 1294 | 1314 | Gemini 3.7 Flash |
| LMArena Text: English | 1468 | 1483 | Gemini 3.7 Flash |
| LMArena Text: non-English | 1450 | 1487 | Gemini 3.7 Flash |
| LMArena Text: Chinese | 1506 | 1552 | Gemini 3.7 Flash |
| LMArena Text: German | 1472 | 1506 | Gemini 3.7 Flash |
| LMArena Text: Japanese | 1442 | 1511 | Gemini 3.7 Flash |
| LMArena Text: Korean | 1431 | 1481 | Gemini 3.7 Flash |
| LMArena Text: French | 1481 | 1500 | Gemini 3.7 Flash |
| LMArena Text: Spanish | 1465 | 1495 | Gemini 3.7 Flash |
| LMArena Text: Russian | 1474 | 1515 | Gemini 3.7 Flash |
| LMArena Text: Polish | 1459 | 1503 | Gemini 3.7 Flash |
| LMArena Text: multi-turn | 1476 | 1485 | Gemini 3.7 Flash |
| LMArena Text: longer queries | 1483 | 1492 | Gemini 3.7 Flash |
| LMArena Text: writing and language | 1461 | 1491 | Gemini 3.7 Flash |
| LMArena Text: entertainment and media | 1440 | 1477 | Gemini 3.7 Flash |
| LMArena Vision: English | 1293 | 1309 | Gemini 3.7 Flash |
| LMArena Vision: Chinese | 1346 | 1394 | Gemini 3.7 Flash |
| LMArena Vision: reading text | 1303 | 1322 | Gemini 3.7 Flash |
| LMArena Vision: humor | 1282 | 1299 | Gemini 3.7 Flash |
| LMArena Vision: creative writing | 1301 | 1312 | Gemini 3.7 Flash |
| LMArena Document | 1475 | Not measured | Only Claude Opus 4.8 measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.8 | 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 4.8 | Google Gemini 3.7 Flash |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | May 27, 2026 | August 13, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $5.00 | $0.75 |
| Output $/Mtok | $25.00 | $3.75 |
| Coding index | 65.0 | 58.0 |
| Independent measurements behind it | 6 | 6 |
| Cost per solved task | $2.17 | $1.78 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.8 better than Gemini 3.7 Flash for coding?
Pick Claude Opus 4.8 for coding: it scores 65.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 lower cost per solved task ($1.78 against $2.17).
Which is cheaper, Claude Opus 4.8 or Gemini 3.7 Flash?
Claude Opus 4.8 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 4.8 costs $2.17 and Gemini 3.7 Flash $1.78.
Which has the bigger context window, Claude Opus 4.8 or Gemini 3.7 Flash?
Gemini 3.7 Flash, with 1.05M tokens against 1M.
How many benchmarks is the Claude Opus 4.8 vs Gemini 3.7 Flash comparison based on?
108 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.8'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.