Enter opens the highlighted result. Esc closes.

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.8Anthropic
Coding
65.0
Overall
69.8
Output $/M
$25.00
34
Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
74
vs boards won of 108 shared

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.

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.

Boards won, where both have a result
CategoryClaude Opus 4.8BarsGemini 3.7 FlashTies
Coding711
Intelligence20
Agentic work107
Reasoning312
Math42
Knowledge29
Web design27
General426
All shared boards3474
CodingLike-for-likeSix of these boards feed the Vibe Coding Index711
Coding benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
LiveBench coding77.3%80.5%Gemini 3.7 Flash
LMArena WebDev15561591Gemini 3.7 Flash
AA Coding Index74.371.5Claude 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 measured67.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 measured43.8%Only Gemini 3.7 Flash measured
SciCode54.4%59.8%Gemini 3.7 Flash
Terminal-Bench Hard (Artificial Analysis run)58.3%Not measuredOnly Claude Opus 4.8 measured
FrontierCode46.5%43.6%Claude Opus 4.8
FrontierSWENot measured20.3%Only Gemini 3.7 Flash measured
GSO-Bench47.1%Not measuredOnly Claude Opus 4.8 measured
WeirdML82.9%Not measuredOnly Claude Opus 4.8 measured
ALE-BenchNot measured904.3Only Gemini 3.7 Flash measured
LMArena Text: coding14901499Gemini 3.7 Flash
LMArena Text: software and IT14881498Gemini 3.7 Flash
LMArena WebDev: React15571587Gemini 3.7 Flash
LMArena WebDev: HTML15431593Gemini 3.7 Flash
LMArena WebDev: from an imageNot measured1599Only Gemini 3.7 Flash measured
SciCode12.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
Intelligence benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
AA Intelligence Index41.839.6Claude Opus 4.8
Epoch Capabilities Index159.0158.0Claude Opus 4.8
Agentic workLike-for-likePublic boards, shown as published, kept out of the index107
Agentic work benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
AA Agentic Index41.9Not measuredOnly Claude Opus 4.8 measured
Design Arena: agents building web apps12331223Claude Opus 4.8
Design Arena: agents building full-stack apps12491208Claude Opus 4.8
Design Arena: agents building mobile apps12221229Gemini 3.7 Flash
Design Arena: agents building Android apps12331243Gemini 3.7 Flash
Design Arena: agents building Godot games12311264Gemini 3.7 Flash
Design Arena: agents building games12391235Claude Opus 4.8
Design Arena: HTML slides1171Not measuredOnly Claude Opus 4.8 measured
Design Arena: PowerPoint slides1202Not measuredOnly Claude Opus 4.8 measured
Design Arena: spreadsheets13031058Claude Opus 4.8
LiveBench research81.8%76.5%Claude Opus 4.8
LiveBench browser96.0%56.0%Claude Opus 4.8
LiveBench long agentic48.3%28.3%Claude Opus 4.8
SREBench (Vals AI)Not measured4.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 measuredOnly Claude Opus 4.8 measured
τ²-Bench Telecom94.4%Not measuredOnly Claude Opus 4.8 measured
APEX-Agents48.9%67.8%Gemini 3.7 Flash
Remote Labor Index8.3%5.0%Claude Opus 4.8
OSWorld 2.020.6%Not measuredOnly Claude Opus 4.8 measured
DeepResearch Bench50.2%Not measuredOnly Claude Opus 4.8 measured
PostTrainBench33.8%Not measuredOnly Claude Opus 4.8 measured
Vending-Bench 2$5,787Not measuredOnly Claude Opus 4.8 measured
LMArena Search1204Not measuredOnly 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
Reasoning benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
GPQA Diamond92.4%93.9%Gemini 3.7 Flash
LiveBench reasoning89.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-AGI92.5%95.5%Gemini 3.7 Flash
ARC-AGI-272.1%84.6%Gemini 3.7 Flash
SimpleBench64.8%Not measuredOnly Claude Opus 4.8 measured
Chess puzzles52.0%66.0%Gemini 3.7 Flash
Mystery game puzzles36.0%37.0%Gemini 3.7 Flash
EBR-bench28.6%Not measuredOnly Claude Opus 4.8 measured
LMArena Text: hard prompts14821495Gemini 3.7 Flash
LMArena Text: expert15031512Gemini 3.7 Flash
LMArena Text: hard prompts in English14871487Gemini 3.7 Flash
LMArena Vision: diagrams13151329Gemini 3.7 Flash
LMArena Vision: homework13371320Claude Opus 4.8
Kagi LLM Benchmark88.8%Not measuredOnly 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
Math benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
OTIS Mock AIME98.3%97.2%Claude Opus 4.8
FrontierMath, tiers 1 to 380.0%71.6%Claude Opus 4.8
FrontierMath, tier 456.1%36.6%Claude Opus 4.8
ProofBench69.0%58.0%Claude Opus 4.8
LMArena Text: math14861511Gemini 3.7 Flash
LMArena Text: mathematical work14971502Gemini 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
Knowledge benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
MMLU Pro89.6%90.1%Gemini 3.7 Flash
LegalBench (Vals AI)83.6%87.3%Gemini 3.7 Flash
CorpFin (Vals AI)66.7%Not measuredOnly 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 Verified53.0%69.2%Gemini 3.7 Flash
LMArena Text: science14771511Gemini 3.7 Flash
LMArena Text: medicine and healthcare14641494Gemini 3.7 Flash
LMArena Text: legal and government14771496Gemini 3.7 Flash
LMArena Text: business and finance14581479Gemini 3.7 Flash
FACTS Benchmark Suite53.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
Web design benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
Design Arena: websites12581303Gemini 3.7 Flash
Design Arena: UI components12551296Gemini 3.7 Flash
Design Arena: game dev12641317Gemini 3.7 Flash
Design Arena: data viz12401315Gemini 3.7 Flash
Design Arena: 3D12221307Gemini 3.7 Flash
Design Arena: all code categories12551308Gemini 3.7 Flash
Design Arena: SVG11951283Gemini 3.7 Flash
Design Arena: ASCII art12771276Claude Opus 4.8
LiveBench design78.8%73.2%Claude Opus 4.8
GeneralLike-for-likePublic boards, shown as published, kept out of the index426
General benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
LiveBench data analysis66.0%68.0%Gemini 3.7 Flash
Public Benefits Bench (Vals AI)68.1%Not measuredOnly 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 Index70.9%Not measuredOnly Claude Opus 4.8 measured
IFBench62.2%Not measuredOnly Claude Opus 4.8 measured
Long context reasoning (AA-LCR)77.7%83.0%Gemini 3.7 Flash
DTBench94.9%96.8%Gemini 3.7 Flash
LMCA57.5%50.4%Claude Opus 4.8
Surface Evolver Bench87.5%Not measuredOnly Claude Opus 4.8 measured
Furniture assembly42.5%26.7%Claude Opus 4.8
LMArena Text14611489Gemini 3.7 Flash
LMArena Text: instruction following14761484Gemini 3.7 Flash
LMArena Text: creative writing14541488Gemini 3.7 Flash
LMArena Vision12941314Gemini 3.7 Flash
LMArena Text: English14681483Gemini 3.7 Flash
LMArena Text: non-English14501487Gemini 3.7 Flash
LMArena Text: Chinese15061552Gemini 3.7 Flash
LMArena Text: German14721506Gemini 3.7 Flash
LMArena Text: Japanese14421511Gemini 3.7 Flash
LMArena Text: Korean14311481Gemini 3.7 Flash
LMArena Text: French14811500Gemini 3.7 Flash
LMArena Text: Spanish14651495Gemini 3.7 Flash
LMArena Text: Russian14741515Gemini 3.7 Flash
LMArena Text: Polish14591503Gemini 3.7 Flash
LMArena Text: multi-turn14761485Gemini 3.7 Flash
LMArena Text: longer queries14831492Gemini 3.7 Flash
LMArena Text: writing and language14611491Gemini 3.7 Flash
LMArena Text: entertainment and media14401477Gemini 3.7 Flash
LMArena Vision: English12931309Gemini 3.7 Flash
LMArena Vision: Chinese13461394Gemini 3.7 Flash
LMArena Vision: reading text13031322Gemini 3.7 Flash
LMArena Vision: humor12821299Gemini 3.7 Flash
LMArena Vision: creative writing13011312Gemini 3.7 Flash
LMArena Document1475Not measuredOnly 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
Image generation benchmarks for Claude Opus 4.8 and Gemini 3.7 Flash
BenchmarkClaude Opus 4.8Gemini 3.7 FlashLeader
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

Claude Opus 4.8$0.018Fits in one request
Gemini 3.7 Flash$0.0026Fits in one request

Gemini 3.7 Flash costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.8$0.325Fits in one request
Gemini 3.7 Flash$0.049Fits in one request

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.8$1.25Fits in one request
Gemini 3.7 Flash$0.188Fits in one request

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.

Specifications of Claude Opus 4.8 and Gemini 3.7 Flash
SpecificationAnthropic Claude Opus 4.8Google Gemini 3.7 Flash
MakerAnthropicGoogle
WeightsNo public weights listedNo public weights listed
ReleasedMay 27, 2026August 13, 2026
Context window1M1.05M
Input $/Mtok$5.00$0.75
Output $/Mtok$25.00$3.75
Coding index65.058.0
Independent measurements behind it66
Cost per solved task$2.17$1.78
SourceOpenRouter listingOpenRouter 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-opus-4-8-vs-gemini-3-7-flash" title="Claude Opus 4.8 vs Gemini 3.7 Flash, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-opus-4-8-vs-gemini-3-7-flash">LLMBenchmark.ai, Claude Opus 4.8 vs Gemini 3.7 Flash</a></p>