Claude Sonnet 4.6 vs Gemini 3.5 Flash
Claude Sonnet 4.6 leads Gemini 3.5 Flash on coding, 57.3 to 39.8 on the Vibe Coding Index, and Gemini 3.5 Flash costs 1.7x less per output token ($9.00 vs $15.00 per million). Updated October 21, 2026; 99 benchmarks have a result for both.
Claude Sonnet 4.6 or Gemini 3.5 Flash: which to pick
Pick Claude Sonnet 4.6 for coding: it scores 57.3 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash.
Pick Gemini 3.5 Flash for output tokens 1.7x cheaper ($9.00 vs $15.00 per million) and a lower cost per solved task ($1.21 against $1.68).
- Shared results
- 99
- Claude Sonnet 4.6 only
- 19
- Gemini 3.5 Flash only
- 13
- 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 Sonnet 4.6
Claude Sonnet 4.6 scores 57.3 against 39.8.
5 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 33.6 against 30.1.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Sonnet 4.6 has a AA Agentic Index result, 31.8.
Directional only
Reasoning
GPQA Diamond
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 92.7% against 85.6%.
Same board, both measured
Math
AIME
No call
Only Claude Sonnet 4.6 has a AIME result, 92.3%.
Directional only
Knowledge
MMLU Pro
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 89.5% against 87.3%.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 1285 against 1268.
Same board, both measured
Long documents
Listed context window
Gemini 3.5 Flash
Gemini 3.5 Flash takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.5 Flash
Claude Sonnet 4.6 $0.011, Gemini 3.5 Flash $0.0060 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.5 Flash
Claude Sonnet 4.6 $1.68, Gemini 3.5 Flash $1.21.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.6 57.3 from 5 benchmarks, Gemini 3.5 Flash 39.8 from 4 benchmarks.
- Widest category
- Math, 8.2 points apart on average over 4 shared benchmarks.
- Widest single gap
- SimpleQA Verified: Claude Sonnet 4.6 35.5% against Gemini 3.5 Flash 66.2%, 30.7 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 4.6 $15.00 against Gemini 3.5 Flash $9.00 per million output tokens, 1.7x apart.
- Context window
- Claude Sonnet 4.6 takes 1M tokens, Gemini 3.5 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 Sonnet 4.6 | Bars | Gemini 3.5 Flash | Ties |
|---|---|---|---|---|
| Coding | 10 | 6 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 8 | 5 | ||
| Reasoning | 2 | 12 | ||
| Math | 1 | 3 | ||
| Knowledge | 2 | 9 | ||
| Web design | 3 | 5 | ||
| General | 4 | 27 | ||
| All shared boards | 30 | 69 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index106
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| LiveBench coding | 66.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena WebDev | 1523 | 1499 | Claude Sonnet 4.6 |
| AA Coding Index | 63.0 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveCodeBench (Vals AI) | 82.1% | 87.6% | Gemini 3.5 Flash |
| SWE-bench Verified (Vals AI) | 77.4% | 78.8% | Gemini 3.5 Flash |
| Terminal-Bench 4 (Vals AI) | Not measured | 6.1% | Only Gemini 3.5 Flash measured |
| Vibe Code Bench (Vals AI) | 55.8% | 48.7% | Claude Sonnet 4.6 |
| Code migration (Vals AI) | 39.9% | 26.8% | Claude Sonnet 4.6 |
| ProgramBench (Vals AI) | 0.5% | 0.0% | Claude Sonnet 4.6 |
| Terminal-Bench 2.1 (Vals AI) | 57.3% | 74.2% | Gemini 3.5 Flash |
| SkillsBench (Vals AI) | 49.0% | 52.7% | Gemini 3.5 Flash |
| SciCode | 50.1% | 53.9% | Gemini 3.5 Flash |
| Terminal-Bench Hard (Artificial Analysis run) | 53.0% | 46.2% | Claude Sonnet 4.6 |
| Terminal-Bench | 53.4% | Not measured | Only Claude Sonnet 4.6 measured |
| FrontierCode | 24.3% | Not measured | Only Claude Sonnet 4.6 measured |
| WeirdML | 66.1% | 62.6% | Claude Sonnet 4.6 |
| ALE-Bench | Not measured | 911.0 | Only Gemini 3.5 Flash measured |
| LMArena Text: coding | 1503 | 1493 | Claude Sonnet 4.6 |
| LMArena Text: software and IT | 1491 | 1494 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1512 | 1495 | Claude Sonnet 4.6 |
| LMArena WebDev: HTML | 1527 | 1522 | Claude Sonnet 4.6 |
| LMArena WebDev: from an image | 1529 | 1504 | Claude Sonnet 4.6 |
| SciCode | Not measured | 12.3% | Only Gemini 3.5 Flash measured |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| AA Intelligence Index | 30.1 | 33.6 | Gemini 3.5 Flash |
| Epoch Capabilities Index | 152.8 | 154.9 | Gemini 3.5 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index85
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| AA Agentic Index | 31.8 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building web apps | 1190 | 1202 | Gemini 3.5 Flash |
| Design Arena: agents building full-stack apps | 1213 | 1197 | Claude Sonnet 4.6 |
| Design Arena: agents building mobile apps | 1212 | 1174 | Claude Sonnet 4.6 |
| Design Arena: agents building Android apps | 1196 | 1184 | Claude Sonnet 4.6 |
| Design Arena: agents building Godot games | 1226 | 1098 | Claude Sonnet 4.6 |
| Design Arena: agents building games | 1177 | 1180 | Gemini 3.5 Flash |
| Design Arena: HTML slides | Not measured | 1142 | Only Gemini 3.5 Flash measured |
| Design Arena: PowerPoint slides | Not measured | 1179 | Only Gemini 3.5 Flash measured |
| LiveBench research | 63.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench browser | 68.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench long agentic | 23.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Finance Agent (Vals AI) | 51.0% | 57.9% | Gemini 3.5 Flash |
| Tax Agent Bench (Vals AI) | 25.8% | 21.6% | Claude Sonnet 4.6 |
| Legal Research Bench (Vals AI) | 38.5% | 30.8% | Claude Sonnet 4.6 |
| Excel Modeling Benchmark (Vals AI) | 60.2% | 63.5% | Gemini 3.5 Flash |
| Terminal-Bench-Science (Vals AI) | Not measured | 5.7% | Only Gemini 3.5 Flash measured |
| τ²-Bench Telecom | 79.5% | 95.6% | Gemini 3.5 Flash |
| APEX-Agents | 43.0% | 27.5% | Claude Sonnet 4.6 |
| OSWorld 2.0 | 9.3% | Not measured | Only Claude Sonnet 4.6 measured |
| DeepResearch Bench | 54.9% | Not measured | Only Claude Sonnet 4.6 measured |
| OSWorld | 72.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Vending-Bench 2 | $7,204 | $5,396 | Claude Sonnet 4.6 |
| Neither model has a result on the other 18 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index212
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | 92.7% | Gemini 3.5 Flash |
| LiveBench reasoning | 86.4% | Not measured | Only Claude Sonnet 4.6 measured |
| MMMU Pro (Vals AI) | 83.6% | 88.3% | Gemini 3.5 Flash |
| GPQA Diamond (Artificial Analysis run) | 87.5% | 92.2% | Gemini 3.5 Flash |
| Humanity's Last Exam (Artificial Analysis run) | 33.6% | 42.7% | Gemini 3.5 Flash |
| GPQA Diamond (Epoch AI run) | 87.4% | 92.8% | Gemini 3.5 Flash |
| ARC-AGI | 86.5% | 92.5% | Gemini 3.5 Flash |
| ARC-AGI-2 | 60.4% | 72.1% | Gemini 3.5 Flash |
| SimpleBench | Not measured | 76.7% | Only Gemini 3.5 Flash measured |
| Chess puzzles | 23.0% | 45.0% | Gemini 3.5 Flash |
| Mystery game puzzles | 16.0% | 32.0% | Gemini 3.5 Flash |
| EBR-bench | Not measured | 4.8% | Only Gemini 3.5 Flash measured |
| LMArena Text: hard prompts | 1485 | 1488 | Gemini 3.5 Flash |
| LMArena Text: expert | 1500 | 1495 | Claude Sonnet 4.6 |
| LMArena Text: hard prompts in English | 1493 | 1483 | Claude Sonnet 4.6 |
| LMArena Vision: diagrams | 1306 | 1323 | Gemini 3.5 Flash |
| LMArena Vision: homework | 1311 | 1330 | Gemini 3.5 Flash |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index13
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| AIME | 92.3% | Not measured | Only Claude Sonnet 4.6 measured |
| OTIS Mock AIME | 85.8% | 95.6% | Gemini 3.5 Flash |
| FrontierMath, tiers 1 to 3 | Not measured | 62.8% | Only Gemini 3.5 Flash measured |
| FrontierMath, tier 4 | Not measured | 26.8% | Only Gemini 3.5 Flash measured |
| ProofBench | 45.0% | 31.0% | Claude Sonnet 4.6 |
| LMArena Text: math | 1462 | 1504 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1483 | 1495 | Gemini 3.5 Flash |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index29
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| MMLU Pro | 87.3% | 89.5% | Gemini 3.5 Flash |
| LegalBench (Vals AI) | 82.1% | 83.6% | Gemini 3.5 Flash |
| CaseLaw (Vals AI) | 64.0% | Not measured | Only Claude Sonnet 4.6 measured |
| CorpFin (Vals AI) | 65.3% | 64.7% | Claude Sonnet 4.6 |
| TaxEval (Vals AI) | 77.1% | 74.4% | Claude Sonnet 4.6 |
| MortgageTax (Vals AI) | 67.7% | 68.1% | Gemini 3.5 Flash |
| MedQA (Vals AI) | 92.1% | Not measured | Only Claude Sonnet 4.6 measured |
| MedCode (Vals AI) | Not measured | 55.8% | Only Gemini 3.5 Flash measured |
| SimpleQA Verified | 35.5% | 66.2% | Gemini 3.5 Flash |
| LMArena Text: science | 1474 | 1495 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1451 | 1483 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1470 | 1488 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1464 | 1467 | Gemini 3.5 Flash |
| FACTS Benchmark Suite | 37.0% | 63.1% | Gemini 3.5 Flash |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index35
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| Design Arena: websites | 1285 | 1268 | Claude Sonnet 4.6 |
| Design Arena: UI components | 1272 | 1273 | Gemini 3.5 Flash |
| Design Arena: game dev | 1259 | 1263 | Gemini 3.5 Flash |
| Design Arena: data viz | 1277 | 1236 | Claude Sonnet 4.6 |
| Design Arena: 3D | 1234 | 1244 | Gemini 3.5 Flash |
| Design Arena: all code categories | 1276 | 1266 | Claude Sonnet 4.6 |
| Design Arena: SVG | 1197 | 1254 | Gemini 3.5 Flash |
| Design Arena: ASCII art | 1235 | 1254 | Gemini 3.5 Flash |
| LiveBench design | 71.8% | Not measured | Only Claude Sonnet 4.6 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index427
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 Flash | Leader |
|---|---|---|---|
| LiveBench data analysis | 76.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Public Benefits Bench (Vals AI) | 62.5% | 59.5% | Claude Sonnet 4.6 |
| SAGE (Vals AI) | 46.6% | 49.9% | Gemini 3.5 Flash |
| MedScribe (Vals AI) | Not measured | 76.6% | Only Gemini 3.5 Flash measured |
| Vals Multimodal Index | 60.6% | 62.9% | Gemini 3.5 Flash |
| IFBench | 56.6% | 76.3% | Gemini 3.5 Flash |
| Long context reasoning (AA-LCR) | 80.0% | 74.3% | Claude Sonnet 4.6 |
| DTBench | 89.9% | 94.7% | Gemini 3.5 Flash |
| LMCA | 46.5% | 47.1% | Gemini 3.5 Flash |
| Surface Evolver Bench | Not measured | 58.1% | Only Gemini 3.5 Flash measured |
| ExploitBench | 23.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text | 1458 | 1482 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1476 | 1467 | Claude Sonnet 4.6 |
| LMArena Text: creative writing | 1435 | 1470 | Gemini 3.5 Flash |
| LMArena Vision | 1283 | 1308 | Gemini 3.5 Flash |
| LMArena Text: English | 1472 | 1481 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1440 | 1475 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1491 | 1527 | Gemini 3.5 Flash |
| LMArena Text: German | 1428 | 1494 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1420 | 1486 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1410 | 1448 | Gemini 3.5 Flash |
| LMArena Text: French | 1465 | 1490 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1464 | 1480 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1440 | 1493 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1443 | 1516 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1464 | 1481 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1479 | 1483 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1444 | 1478 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1431 | 1459 | Gemini 3.5 Flash |
| LMArena Vision: English | 1298 | 1305 | Gemini 3.5 Flash |
| LMArena Vision: Chinese | 1307 | 1377 | Gemini 3.5 Flash |
| LMArena Vision: reading text | 1296 | 1317 | Gemini 3.5 Flash |
| LMArena Vision: humor | 1248 | 1321 | Gemini 3.5 Flash |
| LMArena Vision: recognizing things | 1195 | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Vision: creative writing | 1272 | 1301 | Gemini 3.5 Flash |
| LMArena Document | 1482 | 1463 | Claude Sonnet 4.6 |
| 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
| Benchmark | Claude Sonnet 4.6 | Gemini 3.5 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.5 Flash costs less
Repository review
50K input + 3K output tokens
Gemini 3.5 Flash costs less
Agent loop
200K input + 10K output tokens
Gemini 3.5 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 Sonnet 4.6 | Google Gemini 3.5 Flash |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | February 17, 2026 | May 19, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $3.00 | $1.50 |
| Output $/Mtok | $15.00 | $9.00 |
| Coding index | 57.3 | 39.8 |
| Independent measurements behind it | 5 | 4 |
| Cost per solved task | $1.68 | $1.21 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.6 better than Gemini 3.5 Flash for coding?
Pick Claude Sonnet 4.6 for coding: it scores 57.3 on the Vibe Coding Index against 39.8 for Gemini 3.5 Flash. Pick Gemini 3.5 Flash for output tokens 1.7x cheaper ($9.00 vs $15.00 per million) and a lower cost per solved task ($1.21 against $1.68).
Which is cheaper, Claude Sonnet 4.6 or Gemini 3.5 Flash?
Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemini 3.5 Flash costs $1.50 and $9.00. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and Gemini 3.5 Flash $1.21.
Which has the bigger context window, Claude Sonnet 4.6 or Gemini 3.5 Flash?
Gemini 3.5 Flash, with 1.05M tokens against 1M.
How many benchmarks is the Claude Sonnet 4.6 vs Gemini 3.5 Flash comparison based on?
99 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.6's coding index rests on 5 independent benchmarks and Gemini 3.5 Flash's on 4. Where only one model has a result, the page says so instead of naming a winner.