Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.6 vs Gemini 3.7 Flash

Gemini 3.7 Flash leads Claude Sonnet 4.6 on coding, 58.0 to 57.3 on the Vibe Coding Index, and Gemini 3.7 Flash costs 4.0x less per output token ($3.75 vs $15.00 per million). Updated October 22, 2026; 99 benchmarks have a result for both.

Claude Sonnet 4.6Anthropic
Coding
57.3
Overall
60.3
Output $/M
$15.00
11
Gemini 3.7 FlashGoogle
Coding
58.0
Overall
65.7
Output $/M
$3.75
88
vs boards won of 99 shared

Claude Sonnet 4.6 or Gemini 3.7 Flash: which to pick

Claude Sonnet 4.6 and Gemini 3.7 Flash are level for coding, 57.3 against 58.0 on the Vibe Coding Index, so price and context decide.

Pick Claude Sonnet 4.6 for a lower cost per solved task ($1.68 against $1.78) and work measured by Code migration (Vals AI) or ProgramBench (Vals AI), where it leads. Pick Gemini 3.7 Flash for output tokens 4.0x cheaper ($3.75 vs $15.00 per million) and a larger context window (1.05M against 1M tokens).

Shared results
99
Claude Sonnet 4.6 only
19
Gemini 3.7 Flash only
15
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 Sonnet 4.6 57.3 from 5 benchmarks, Gemini 3.7 Flash 58.0 from 6 benchmarks.
Widest category
Coding, 10.3 points apart on average over 17 shared benchmarks.
Widest single gap
Chess puzzles: Claude Sonnet 4.6 23.0% against Gemini 3.7 Flash 66.0%, 43.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.6 $15.00 against Gemini 3.7 Flash $3.75 per million output tokens, 4.0x apart.
Context window
Claude Sonnet 4.6 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 Sonnet 4.6BarsGemini 3.7 FlashTies
Coding314
Intelligence02
Agentic work410
Reasoning114
Math04
Knowledge28
Web design09
General127
All shared boards1188
CodingLike-for-likeSix of these boards feed the Vibe Coding Index314
Coding benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
LiveBench coding66.6%80.5%Gemini 3.7 Flash
LMArena WebDev15231591Gemini 3.7 Flash
AA Coding Index63.071.5Gemini 3.7 Flash
LiveCodeBench (Vals AI)82.1%88.7%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)77.4%80.8%Gemini 3.7 Flash
Terminal-Bench 4 (Vals AI)Not measured12.1%Only Gemini 3.7 Flash measured
Vibe Code Bench (Vals AI)55.8%70.4%Gemini 3.7 Flash
Code migration (Vals AI)39.9%34.8%Claude Sonnet 4.6
ProgramBench (Vals AI)0.5%0.0%Claude Sonnet 4.6
IOI (Vals AI)Not measured67.8%Only Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)57.3%77.5%Gemini 3.7 Flash
SkillsBench (Vals AI)49.0%65.9%Gemini 3.7 Flash
CyberBench (Vals AI)Not measured43.8%Only Gemini 3.7 Flash measured
SciCode50.1%59.8%Gemini 3.7 Flash
Terminal-Bench Hard (Artificial Analysis run)53.0%Not measuredOnly Claude Sonnet 4.6 measured
Terminal-Bench53.4%Not measuredOnly Claude Sonnet 4.6 measured
FrontierCode24.3%43.6%Gemini 3.7 Flash
FrontierSWENot measured20.3%Only Gemini 3.7 Flash measured
WeirdML66.1%Not measuredOnly Claude Sonnet 4.6 measured
ALE-BenchNot measured904.3Only Gemini 3.7 Flash measured
LMArena Text: coding15031499Claude Sonnet 4.6
LMArena Text: software and IT14911498Gemini 3.7 Flash
LMArena WebDev: React15121587Gemini 3.7 Flash
LMArena WebDev: HTML15271593Gemini 3.7 Flash
LMArena WebDev: from an image15291599Gemini 3.7 Flash
SciCodeNot measured13.8%Only Gemini 3.7 Flash measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
AA Intelligence Index30.139.6Gemini 3.7 Flash
Epoch Capabilities Index152.8158.0Gemini 3.7 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index410
Agentic work benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
AA Agentic Index31.8Not measuredOnly Claude Sonnet 4.6 measured
Design Arena: agents building web apps11901223Gemini 3.7 Flash
Design Arena: agents building full-stack apps12131208Claude Sonnet 4.6
Design Arena: agents building mobile apps12121229Gemini 3.7 Flash
Design Arena: agents building Android apps11971243Gemini 3.7 Flash
Design Arena: agents building Godot games12261264Gemini 3.7 Flash
Design Arena: agents building games11771235Gemini 3.7 Flash
Design Arena: spreadsheetsNot measured1058Only Gemini 3.7 Flash measured
LiveBench research63.6%76.5%Gemini 3.7 Flash
LiveBench browser68.0%56.0%Claude Sonnet 4.6
LiveBench long agentic23.1%28.3%Gemini 3.7 Flash
SREBench (Vals AI)Not measured4.6%Only Gemini 3.7 Flash measured
Finance Agent (Vals AI)51.0%59.0%Gemini 3.7 Flash
Tax Agent Bench (Vals AI)25.8%22.8%Claude Sonnet 4.6
Legal Research Bench (Vals AI)38.5%34.6%Claude Sonnet 4.6
Excel Modeling Benchmark (Vals AI)60.2%71.3%Gemini 3.7 Flash
Terminal-Bench-Science (Vals AI)Not measured7.1%Only Gemini 3.7 Flash measured
τ²-Bench Telecom79.5%Not measuredOnly Claude Sonnet 4.6 measured
APEX-Agents43.0%67.8%Gemini 3.7 Flash
Remote Labor IndexNot measured5.0%Only Gemini 3.7 Flash measured
OSWorld 2.09.3%Not measuredOnly Claude Sonnet 4.6 measured
DeepResearch Bench54.9%Not measuredOnly Claude Sonnet 4.6 measured
OSWorld72.1%Not measuredOnly Claude Sonnet 4.6 measured
Vending-Bench 2$7,204Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index114
Reasoning benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
GPQA Diamond85.6%93.9%Gemini 3.7 Flash
LiveBench reasoning86.4%87.8%Gemini 3.7 Flash
MMMU Pro (Vals AI)83.6%89.0%Gemini 3.7 Flash
GPQA Diamond (Artificial Analysis run)87.5%94.5%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)33.6%47.9%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)87.4%94.8%Gemini 3.7 Flash
ARC-AGI86.5%95.5%Gemini 3.7 Flash
ARC-AGI-260.4%84.6%Gemini 3.7 Flash
Chess puzzles23.0%66.0%Gemini 3.7 Flash
Mystery game puzzles16.0%37.0%Gemini 3.7 Flash
LMArena Text: hard prompts14851495Gemini 3.7 Flash
LMArena Text: expert15001512Gemini 3.7 Flash
LMArena Text: hard prompts in English14931487Claude Sonnet 4.6
LMArena Vision: diagrams13061329Gemini 3.7 Flash
LMArena Vision: homework13111320Gemini 3.7 Flash
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
AIME92.3%Not measuredOnly Claude Sonnet 4.6 measured
OTIS Mock AIME85.8%97.2%Gemini 3.7 Flash
FrontierMath, tiers 1 to 3Not measured71.6%Only Gemini 3.7 Flash measured
FrontierMath, tier 4Not measured36.6%Only Gemini 3.7 Flash measured
ProofBench45.0%58.0%Gemini 3.7 Flash
LMArena Text: math14621511Gemini 3.7 Flash
LMArena Text: mathematical work14831502Gemini 3.7 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index28
Knowledge benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
MMLU Pro87.3%90.1%Gemini 3.7 Flash
LegalBench (Vals AI)82.1%87.3%Gemini 3.7 Flash
CaseLaw (Vals AI)64.0%Not measuredOnly Claude Sonnet 4.6 measured
CorpFin (Vals AI)65.3%Not measuredOnly Claude Sonnet 4.6 measured
TaxEval (Vals AI)77.1%74.7%Claude Sonnet 4.6
MortgageTax (Vals AI)67.7%66.7%Claude Sonnet 4.6
MedQA (Vals AI)92.1%Not measuredOnly Claude Sonnet 4.6 measured
MedCode (Vals AI)Not measured53.4%Only Gemini 3.7 Flash measured
SimpleQA Verified35.5%69.2%Gemini 3.7 Flash
LMArena Text: science14741511Gemini 3.7 Flash
LMArena Text: medicine and healthcare14511494Gemini 3.7 Flash
LMArena Text: legal and government14701496Gemini 3.7 Flash
LMArena Text: business and finance14641479Gemini 3.7 Flash
FACTS Benchmark Suite37.0%71.2%Gemini 3.7 Flash
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index09
Web design benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
Design Arena: websites12841303Gemini 3.7 Flash
Design Arena: UI components12691296Gemini 3.7 Flash
Design Arena: game dev12581317Gemini 3.7 Flash
Design Arena: data viz12781315Gemini 3.7 Flash
Design Arena: 3D12341307Gemini 3.7 Flash
Design Arena: all code categories12751308Gemini 3.7 Flash
Design Arena: SVG11961283Gemini 3.7 Flash
Design Arena: ASCII art12351276Gemini 3.7 Flash
LiveBench design71.8%73.2%Gemini 3.7 Flash
GeneralLike-for-likePublic boards, shown as published, kept out of the index127
General benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 3.7 FlashLeader
LiveBench data analysis76.1%68.0%Claude Sonnet 4.6
Public Benefits Bench (Vals AI)62.5%Not measuredOnly Claude Sonnet 4.6 measured
SAGE (Vals AI)46.6%49.2%Gemini 3.7 Flash
MedScribe (Vals AI)Not measured83.9%Only Gemini 3.7 Flash measured
Vals Multimodal Index60.6%Not measuredOnly Claude Sonnet 4.6 measured
IFBench56.6%Not measuredOnly Claude Sonnet 4.6 measured
Long context reasoning (AA-LCR)80.0%83.0%Gemini 3.7 Flash
DTBench89.9%96.8%Gemini 3.7 Flash
LMCA46.5%50.4%Gemini 3.7 Flash
Furniture assemblyNot measured26.7%Only Gemini 3.7 Flash measured
ExploitBench23.6%Not measuredOnly Claude Sonnet 4.6 measured
LMArena Text14581489Gemini 3.7 Flash
LMArena Text: instruction following14761484Gemini 3.7 Flash
LMArena Text: creative writing14351488Gemini 3.7 Flash
LMArena Vision12831314Gemini 3.7 Flash
LMArena Text: English14721483Gemini 3.7 Flash
LMArena Text: non-English14401487Gemini 3.7 Flash
LMArena Text: Chinese14911552Gemini 3.7 Flash
LMArena Text: German14281506Gemini 3.7 Flash
LMArena Text: Japanese14201511Gemini 3.7 Flash
LMArena Text: Korean14101481Gemini 3.7 Flash
LMArena Text: French14651500Gemini 3.7 Flash
LMArena Text: Spanish14641495Gemini 3.7 Flash
LMArena Text: Russian14401515Gemini 3.7 Flash
LMArena Text: Polish14431503Gemini 3.7 Flash
LMArena Text: multi-turn14641485Gemini 3.7 Flash
LMArena Text: longer queries14791492Gemini 3.7 Flash
LMArena Text: writing and language14441491Gemini 3.7 Flash
LMArena Text: entertainment and media14311477Gemini 3.7 Flash
LMArena Vision: English12981309Gemini 3.7 Flash
LMArena Vision: Chinese13071394Gemini 3.7 Flash
LMArena Vision: reading text12961322Gemini 3.7 Flash
LMArena Vision: humor12481299Gemini 3.7 Flash
LMArena Vision: recognizing things1195Not measuredOnly Claude Sonnet 4.6 measured
LMArena Vision: creative writing12721312Gemini 3.7 Flash
LMArena Document1482Not measuredOnly Claude Sonnet 4.6 measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.6 and Gemini 3.7 Flash
BenchmarkClaude Sonnet 4.6Gemini 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 Sonnet 4.6$0.011Fits 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 Sonnet 4.6$0.195Fits 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 Sonnet 4.6$0.750Fits 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 Sonnet 4.6 and Gemini 3.7 Flash
SpecificationAnthropic Claude Sonnet 4.6Google Gemini 3.7 Flash
MakerAnthropicGoogle
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 17, 2026August 13, 2026
Context window1M1.05M
Input $/Mtok$3.00$0.75
Output $/Mtok$15.00$3.75
Coding index57.358.0
Independent measurements behind it56
Cost per solved task$1.68$1.78
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.6 better than Gemini 3.7 Flash for coding?

Claude Sonnet 4.6 and Gemini 3.7 Flash are level for coding, 57.3 against 58.0 on the Vibe Coding Index, so price and context decide. Pick Claude Sonnet 4.6 for a lower cost per solved task ($1.68 against $1.78) and work measured by Code migration (Vals AI) or ProgramBench (Vals AI), where it leads. Pick Gemini 3.7 Flash for output tokens 4.0x cheaper ($3.75 vs $15.00 per million) and a larger context window (1.05M against 1M tokens).

Which is cheaper, Claude Sonnet 4.6 or Gemini 3.7 Flash?

Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemini 3.7 Flash costs $0.75 and $3.75. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and Gemini 3.7 Flash $1.78.

Which has the bigger context window, Claude Sonnet 4.6 or Gemini 3.7 Flash?

Gemini 3.7 Flash, with 1.05M tokens against 1M.

How many benchmarks is the Claude Sonnet 4.6 vs Gemini 3.7 Flash comparison based on?

99 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 4.6's coding index rests on 5 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-sonnet-4-6-vs-gemini-3-7-flash" title="Claude Sonnet 4.6 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-sonnet-4-6-vs-gemini-3-7-flash">LLMBenchmark.ai, Claude Sonnet 4.6 vs Gemini 3.7 Flash</a></p>