Claude Sonnet 4.5 vs Gemini 3.1 Flash Lite Preview
Updated October 21, 2026. 57 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview.
Pick Gemini 3.1 Flash Lite Preview when output tokens cost 10.0x less, or when a solved task costs $0.18 against $1.16.
- Shared results
- 57
- Claude Sonnet 4.5 only
- 35
- Gemini 3.1 Flash Lite Preview only
- 20
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
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, four public coding benchmarks
Claude Sonnet 4.5
Claude Sonnet 4.5 scores 59.1 against 8.1.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 20.7 against 15.6.
Same board, both measured
Agentic work
AA Agentic Index
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 15.8 against 1.6.
Same board, both measured
Reasoning
GPQA Diamond
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 81.6% against 81.1%.
Same board, both measured
Math
AIME
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 88.2% against 83.3%.
Same board, both measured
Knowledge
MMLU Pro
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 87.4% against 86.2%.
Same board, both measured
Web design
Design Arena: websites
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 1190 against 1083.
Same board, both measured
Long documents
Listed context window
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.1 Flash Lite Preview
Claude Sonnet 4.5 $0.011, Gemini 3.1 Flash Lite Preview $0.0010 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.1 Flash Lite Preview
Claude Sonnet 4.5 $1.16, Gemini 3.1 Flash Lite Preview $0.18.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.5 59.1 from 2 benchmarks, Gemini 3.1 Flash Lite Preview 8.1 from 1 benchmark.
- Widest category
- Coding, 15.8 points apart on average over 9 shared benchmarks.
- Widest single gap
- LMArena WebDev: React: Claude Sonnet 4.5 1386 against Gemini 3.1 Flash Lite Preview 1245, 23.5 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 4.5 $15.00 against Gemini 3.1 Flash Lite Preview $1.50 per million output tokens, 10.0x apart.
- Context window
- Claude Sonnet 4.5 takes 1M tokens, Gemini 3.1 Flash Lite Preview 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.5 | Bars | Gemini 3.1 Flash Lite Preview | Ties |
|---|---|---|---|---|
| Coding | 8 | 1 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 4 | 1 | ||
| Math | 3 | 0 | ||
| Knowledge | 9 | 2 | ||
| Web design | 8 | 0 | ||
| General | 14 | 5 | ||
| All shared boards | 48 | 9 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index81
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| SWE-bench Verified | 74.8% | Not measured | Only Claude Sonnet 4.5 measured |
| SWE-bench Multilingual | 67.0% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena WebDev | 1394 | 1257 | Claude Sonnet 4.5 |
| AA Coding Index | 52.1 | 34.7 | Claude Sonnet 4.5 |
| LiveCodeBench (Vals AI) | 73.0% | 80.1% | Gemini 3.1 Flash Lite Preview |
| SWE-bench Verified (Vals AI) | 70.0% | 62.8% | Claude Sonnet 4.5 |
| Vibe Code Bench (Vals AI) | 22.6% | 0.0% | Claude Sonnet 4.5 |
| Code migration (Vals AI) | Not measured | 4.6% | Only Gemini 3.1 Flash Lite Preview measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Gemini 3.1 Flash Lite Preview measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 34.1% | Only Gemini 3.1 Flash Lite Preview measured |
| Terminal-Bench | 46.5% | Not measured | Only Claude Sonnet 4.5 measured |
| GSO-Bench | 14.7% | Not measured | Only Claude Sonnet 4.5 measured |
| WeirdML | 47.7% | Not measured | Only Claude Sonnet 4.5 measured |
| Cybench | 60.0% | Not measured | Only Claude Sonnet 4.5 measured |
| ALE-Bench | Not measured | 797.7 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: coding | 1488 | 1400 | Claude Sonnet 4.5 |
| LMArena Text: software and IT | 1473 | 1413 | Claude Sonnet 4.5 |
| LMArena WebDev: React | 1386 | 1245 | Claude Sonnet 4.5 |
| LMArena WebDev: HTML | 1399 | 1276 | Claude Sonnet 4.5 |
| LMArena WebDev: from an image | Not measured | 1336 | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.7 | 15.6 | Claude Sonnet 4.5 |
| Epoch Capabilities Index | 146.7 | Not measured | Only Claude Sonnet 4.5 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| AA Agentic Index | 15.8 | 1.6 | Claude Sonnet 4.5 |
| Design Arena: agents building web apps | 1060 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: agents building full-stack apps | 1050 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: agents building mobile apps | 1137 | Not measured | Only Claude Sonnet 4.5 measured |
| Finance Agent (Vals AI) | Not measured | 30.0% | Only Gemini 3.1 Flash Lite Preview measured |
| Tax Agent Bench (Vals AI) | Not measured | 3.1% | Only Gemini 3.1 Flash Lite Preview measured |
| Legal Research Bench (Vals AI) | Not measured | 3.4% | Only Gemini 3.1 Flash Lite Preview measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 8.6% | Only Gemini 3.1 Flash Lite Preview measured |
| METR time horizons | 67.4% | Not measured | Only Claude Sonnet 4.5 measured |
| Remote Labor Index | 2.1% | Not measured | Only Claude Sonnet 4.5 measured |
| GDPval | 42.5% | Not measured | Only Claude Sonnet 4.5 measured |
| DeepResearch Bench | 52.6% | Not measured | Only Claude Sonnet 4.5 measured |
| OSWorld | 62.9% | Not measured | Only Claude Sonnet 4.5 measured |
| Vending-Bench 2 | $3,839 | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 25 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index41
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| GPQA Diamond | 81.6% | 81.1% | Claude Sonnet 4.5 |
| MMMU Pro (Vals AI) | 79.3% | 82.5% | Gemini 3.1 Flash Lite Preview |
| GPQA Diamond (Epoch AI run) | 82.3% | Not measured | Only Claude Sonnet 4.5 measured |
| ARC-AGI | 63.7% | Not measured | Only Claude Sonnet 4.5 measured |
| ARC-AGI-2 | 13.6% | Not measured | Only Claude Sonnet 4.5 measured |
| SimpleBench | 54.3% | Not measured | Only Claude Sonnet 4.5 measured |
| Chess puzzles | 10.0% | Not measured | Only Claude Sonnet 4.5 measured |
| Mystery game puzzles | 17.0% | Not measured | Only Claude Sonnet 4.5 measured |
| EBR-bench | 2.4% | Not measured | Only Claude Sonnet 4.5 measured |
| VPCT | 39.8% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: hard prompts | 1462 | 1407 | Claude Sonnet 4.5 |
| LMArena Text: expert | 1483 | 1398 | Claude Sonnet 4.5 |
| LMArena Text: hard prompts in English | 1471 | 1403 | Claude Sonnet 4.5 |
| LMArena Vision: diagrams | Not measured | 1242 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: homework | Not measured | 1271 | Only Gemini 3.1 Flash Lite Preview measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| AIME | 88.2% | 83.3% | Claude Sonnet 4.5 |
| MGSM (Vals AI) | 94.3% | Not measured | Only Claude Sonnet 4.5 measured |
| OTIS Mock AIME | 77.8% | Not measured | Only Claude Sonnet 4.5 measured |
| FrontierMath, tiers 1 to 3 | 23.9% | Not measured | Only Claude Sonnet 4.5 measured |
| FrontierMath, tier 4 | 2.4% | Not measured | Only Claude Sonnet 4.5 measured |
| ProofBench | 19.0% | Not measured | Only Claude Sonnet 4.5 measured |
| MATH level 5 | 97.7% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: math | 1449 | 1428 | Claude Sonnet 4.5 |
| LMArena Text: mathematical work | 1462 | 1417 | Claude Sonnet 4.5 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index92
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| MMLU Pro | 87.4% | 86.2% | Claude Sonnet 4.5 |
| LegalBench (Vals AI) | 84.1% | 83.8% | Claude Sonnet 4.5 |
| CaseLaw (Vals AI) | 62.2% | 55.0% | Claude Sonnet 4.5 |
| CorpFin (Vals AI) | 62.0% | 59.4% | Claude Sonnet 4.5 |
| TaxEval (Vals AI) | 73.3% | 71.8% | Claude Sonnet 4.5 |
| MortgageTax (Vals AI) | 64.0% | 68.0% | Gemini 3.1 Flash Lite Preview |
| MedQA (Vals AI) | 94.7% | Not measured | Only Claude Sonnet 4.5 measured |
| MedCode (Vals AI) | 44.1% | 47.6% | Gemini 3.1 Flash Lite Preview |
| SimpleQA Verified | 30.7% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: science | 1448 | 1425 | Claude Sonnet 4.5 |
| LMArena Text: medicine and healthcare | 1444 | 1428 | Claude Sonnet 4.5 |
| LMArena Text: legal and government | 1451 | 1418 | Claude Sonnet 4.5 |
| LMArena Text: business and finance | 1440 | 1389 | Claude Sonnet 4.5 |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| Design Arena: websites | 1190 | 1083 | Claude Sonnet 4.5 |
| Design Arena: UI components | 1173 | 1071 | Claude Sonnet 4.5 |
| Design Arena: game dev | 1166 | 1029 | Claude Sonnet 4.5 |
| Design Arena: data viz | 1167 | 1045 | Claude Sonnet 4.5 |
| Design Arena: 3D | 1158 | 1048 | Claude Sonnet 4.5 |
| Design Arena: all code categories | 1183 | 1072 | Claude Sonnet 4.5 |
| Design Arena: SVG | 1114 | 1052 | Claude Sonnet 4.5 |
| Design Arena: ASCII art | 1204 | 1166 | Claude Sonnet 4.5 |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index145
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 36.1% | 49.5% | Gemini 3.1 Flash Lite Preview |
| MedScribe (Vals AI) | 84.5% | 63.9% | Claude Sonnet 4.5 |
| Vals Multimodal Index | Not measured | 41.4% | Only Gemini 3.1 Flash Lite Preview measured |
| DTBench | 83.2% | Not measured | Only Claude Sonnet 4.5 measured |
| LMCA | 38.8% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text | 1438 | 1416 | Claude Sonnet 4.5 |
| LMArena Text: instruction following | 1459 | 1377 | Claude Sonnet 4.5 |
| LMArena Text: creative writing | 1442 | 1401 | Claude Sonnet 4.5 |
| LMArena Vision | Not measured | 1240 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: English | 1450 | 1414 | Claude Sonnet 4.5 |
| LMArena Text: non-English | 1425 | 1410 | Claude Sonnet 4.5 |
| LMArena Text: Chinese | 1460 | 1460 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: German | 1427 | 1430 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Japanese | 1390 | 1413 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Korean | 1402 | 1392 | Claude Sonnet 4.5 |
| LMArena Text: French | 1459 | 1424 | Claude Sonnet 4.5 |
| LMArena Text: Spanish | 1458 | 1421 | Claude Sonnet 4.5 |
| LMArena Text: Russian | 1437 | 1420 | Claude Sonnet 4.5 |
| LMArena Text: Polish | 1423 | 1443 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: multi-turn | 1465 | 1417 | Claude Sonnet 4.5 |
| LMArena Text: longer queries | 1475 | 1394 | Claude Sonnet 4.5 |
| LMArena Text: writing and language | 1442 | 1408 | Claude Sonnet 4.5 |
| LMArena Text: entertainment and media | 1428 | 1386 | Claude Sonnet 4.5 |
| LMArena Vision: English | Not measured | 1232 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: Chinese | Not measured | 1278 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: reading text | Not measured | 1246 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: humor | Not measured | 1266 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: captioning | Not measured | 1259 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: recognizing things | Not measured | 1308 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: creative writing | Not measured | 1248 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Document | 1450 | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 4.5 | Gemini 3.1 Flash Lite Preview | 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.1 Flash Lite Preview costs less
Repository review
50K input + 3K output tokens
Gemini 3.1 Flash Lite Preview costs less
Agent loop
200K input + 10K output tokens
Gemini 3.1 Flash Lite Preview 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.5 | Google Gemini 3.1 Flash Lite Preview |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | September 29, 2025 | March 3, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $3.00 | $0.25 |
| Output $/Mtok | $15.00 | $1.50 |
| Coding index | 59.1 | 8.1 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.16 | $0.18 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.5 better than Gemini 3.1 Flash Lite Preview for coding?
Pick Claude Sonnet 4.5 for coding: it scores 59.1 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview when output tokens cost 10.0x less, or when a solved task costs $0.18 against $1.16.
Which is cheaper, Claude Sonnet 4.5 or Gemini 3.1 Flash Lite Preview?
Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemini 3.1 Flash Lite Preview costs $0.25 and $1.50. Per solved SWE-bench Verified task, Claude Sonnet 4.5 costs $1.16 and Gemini 3.1 Flash Lite Preview $0.18.
Which has the bigger context window, Claude Sonnet 4.5 or Gemini 3.1 Flash Lite Preview?
Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 1M.
How many benchmarks is the Claude Sonnet 4.5 vs Gemini 3.1 Flash Lite Preview comparison based on?
57 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5's coding index rests on 2 independent benchmarks and Gemini 3.1 Flash Lite Preview's on 1. Where only one model has a result, the page says so instead of naming a winner.