Claude Opus 4.8 vs Gemini 3.1 Flash Lite Preview
Claude Opus 4.8 leads Gemini 3.1 Flash Lite Preview on coding, 65.0 to 22.7 on the Vibe Coding Index, and Gemini 3.1 Flash Lite Preview costs 16.7x less per output token ($1.50 vs $25.00 per million). Updated October 22, 2026; 73 benchmarks have a result for both.
Claude Opus 4.8 or Gemini 3.1 Flash Lite Preview: which to pick
Pick Claude Opus 4.8 for coding: it scores 65.0 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview.
Pick Gemini 3.1 Flash Lite Preview for output tokens 16.7x cheaper ($1.50 vs $25.00 per million) and a lower cost per solved task ($0.18 against $2.17).
- Shared results
- 73
- Claude Opus 4.8 only
- 57
- Gemini 3.1 Flash Lite Preview 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 22.7.
6 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Opus 4.8
Claude Opus 4.8 leads, 41.8 against 15.6.
Same board, both measured
Agentic work
AA Agentic Index
Claude Opus 4.8
Claude Opus 4.8 leads, 41.9 against 1.6.
Same board, both measured
Reasoning
GPQA Diamond
Claude Opus 4.8
Claude Opus 4.8 leads, 92.4% against 81.1%.
Same board, both measured
Math
AIME
No call
Only Gemini 3.1 Flash Lite Preview has a AIME result, 83.3%.
Directional only
Knowledge
MMLU Pro
Claude Opus 4.8
Claude Opus 4.8 leads, 89.6% against 86.2%.
Same board, both measured
Web design
Design Arena: websites
Claude Opus 4.8
Claude Opus 4.8 leads, 1258 against 1082.
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 Opus 4.8 $0.018, 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 Opus 4.8 $2.17, Gemini 3.1 Flash Lite Preview $0.18.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.8 65.0 from 6 benchmarks, Gemini 3.1 Flash Lite Preview 22.7 from 3 benchmarks.
- Widest category
- Agentic work, 38.4 points apart on average over 5 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Claude Opus 4.8 82.7% against Gemini 3.1 Flash Lite Preview 0.0%, 82.7 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.8 $25.00 against Gemini 3.1 Flash Lite Preview $1.50 per million output tokens, 16.7x apart.
- Context window
- Claude Opus 4.8 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 Opus 4.8 | Bars | Gemini 3.1 Flash Lite Preview | Ties |
|---|---|---|---|---|
| Coding | 13 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 5 | 0 | ||
| Reasoning | 7 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 10 | 1 | ||
| Web design | 8 | 0 | ||
| General | 26 | 0 | ||
| All shared boards | 72 | 1 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index130
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| LiveBench coding | 77.3% | Not measured | Only Claude Opus 4.8 measured |
| LMArena WebDev | 1556 | 1257 | Claude Opus 4.8 |
| AA Coding Index | 74.3 | 34.7 | Claude Opus 4.8 |
| LiveCodeBench (Vals AI) | 87.8% | 80.1% | Claude Opus 4.8 |
| SWE-bench Verified (Vals AI) | 88.6% | 62.8% | Claude Opus 4.8 |
| Terminal-Bench 4 (Vals AI) | 23.2% | Not measured | Only Claude Opus 4.8 measured |
| Vibe Code Bench (Vals AI) | 82.7% | 0.0% | Claude Opus 4.8 |
| Code migration (Vals AI) | 47.3% | 4.6% | Claude Opus 4.8 |
| ProgramBench (Vals AI) | 1.0% | 0.0% | Claude Opus 4.8 |
| Terminal-Bench 2.1 (Vals AI) | 71.9% | 34.1% | Claude Opus 4.8 |
| SkillsBench (Vals AI) | 59.2% | Not measured | Only Claude Opus 4.8 measured |
| SciCode | 54.4% | Not measured | Only Claude Opus 4.8 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 58.3% | Not measured | Only Claude Opus 4.8 measured |
| FrontierCode | 46.5% | Not measured | Only Claude Opus 4.8 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 | 797.7 | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: coding | 1490 | 1400 | Claude Opus 4.8 |
| LMArena Text: software and IT | 1488 | 1413 | Claude Opus 4.8 |
| LMArena WebDev: React | 1557 | 1245 | Claude Opus 4.8 |
| LMArena WebDev: HTML | 1543 | 1276 | Claude Opus 4.8 |
| LMArena WebDev: from an image | Not measured | 1336 | Only Gemini 3.1 Flash Lite Preview measured |
| SciCode | 12.3% | 4.6% | Claude Opus 4.8 |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 41.8 | 15.6 | Claude Opus 4.8 |
| Epoch Capabilities Index | 159.0 | Not measured | Only Claude Opus 4.8 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| AA Agentic Index | 41.9 | 1.6 | Claude Opus 4.8 |
| Design Arena: agents building web apps | 1233 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: agents building full-stack apps | 1249 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: agents building mobile apps | 1222 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: agents building Android apps | 1233 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: agents building Godot games | 1231 | Not measured | Only Claude Opus 4.8 measured |
| Design Arena: agents building games | 1239 | Not measured | Only Claude Opus 4.8 measured |
| 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 | Not measured | Only Claude Opus 4.8 measured |
| LiveBench research | 81.8% | Not measured | Only Claude Opus 4.8 measured |
| LiveBench browser | 96.0% | Not measured | Only Claude Opus 4.8 measured |
| LiveBench long agentic | 48.3% | Not measured | Only Claude Opus 4.8 measured |
| Finance Agent (Vals AI) | 53.9% | 30.0% | Claude Opus 4.8 |
| Tax Agent Bench (Vals AI) | 30.0% | 3.1% | Claude Opus 4.8 |
| Legal Research Bench (Vals AI) | 43.8% | 3.4% | Claude Opus 4.8 |
| Excel Modeling Benchmark (Vals AI) | 69.4% | 8.6% | Claude Opus 4.8 |
| Terminal-Bench-Science (Vals AI) | 4.3% | Not measured | Only Claude Opus 4.8 measured |
| 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% | Not measured | Only Claude Opus 4.8 measured |
| Remote Labor Index | 8.3% | Not measured | Only Claude Opus 4.8 measured |
| 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 14 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| GPQA Diamond | 92.4% | 81.1% | Claude Opus 4.8 |
| LiveBench reasoning | 89.2% | Not measured | Only Claude Opus 4.8 measured |
| MMMU Pro (Vals AI) | 86.6% | 82.5% | Claude Opus 4.8 |
| GPQA Diamond (Artificial Analysis run) | 92.0% | Not measured | Only Claude Opus 4.8 measured |
| Humanity's Last Exam (Artificial Analysis run) | 48.7% | Not measured | Only Claude Opus 4.8 measured |
| GPQA Diamond (Epoch AI run) | 91.0% | Not measured | Only Claude Opus 4.8 measured |
| ARC-AGI | 92.5% | Not measured | Only Claude Opus 4.8 measured |
| ARC-AGI-2 | 72.1% | Not measured | Only Claude Opus 4.8 measured |
| SimpleBench | 64.8% | Not measured | Only Claude Opus 4.8 measured |
| Chess puzzles | 52.0% | Not measured | Only Claude Opus 4.8 measured |
| Mystery game puzzles | 36.0% | Not measured | Only Claude Opus 4.8 measured |
| EBR-bench | 28.6% | Not measured | Only Claude Opus 4.8 measured |
| LMArena Text: hard prompts | 1482 | 1407 | Claude Opus 4.8 |
| LMArena Text: expert | 1503 | 1398 | Claude Opus 4.8 |
| LMArena Text: hard prompts in English | 1487 | 1403 | Claude Opus 4.8 |
| LMArena Vision: diagrams | 1315 | 1242 | Claude Opus 4.8 |
| LMArena Vision: homework | 1337 | 1271 | 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 index20
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| AIME | Not measured | 83.3% | Only Gemini 3.1 Flash Lite Preview measured |
| OTIS Mock AIME | 98.3% | Not measured | Only Claude Opus 4.8 measured |
| FrontierMath, tiers 1 to 3 | 80.0% | Not measured | Only Claude Opus 4.8 measured |
| FrontierMath, tier 4 | 56.1% | Not measured | Only Claude Opus 4.8 measured |
| ProofBench | 69.0% | Not measured | Only Claude Opus 4.8 measured |
| LMArena Text: math | 1486 | 1428 | Claude Opus 4.8 |
| LMArena Text: mathematical work | 1497 | 1417 | Claude Opus 4.8 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index101
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| MMLU Pro | 89.6% | 86.2% | Claude Opus 4.8 |
| LegalBench (Vals AI) | 83.6% | 83.8% | Gemini 3.1 Flash Lite Preview |
| CaseLaw (Vals AI) | Not measured | 55.0% | Only Gemini 3.1 Flash Lite Preview measured |
| CorpFin (Vals AI) | 66.7% | 59.4% | Claude Opus 4.8 |
| TaxEval (Vals AI) | 75.6% | 71.8% | Claude Opus 4.8 |
| MortgageTax (Vals AI) | 69.9% | 68.0% | Claude Opus 4.8 |
| MedCode (Vals AI) | 53.2% | 47.6% | Claude Opus 4.8 |
| SimpleQA Verified | 53.0% | Not measured | Only Claude Opus 4.8 measured |
| LMArena Text: science | 1477 | 1425 | Claude Opus 4.8 |
| LMArena Text: medicine and healthcare | 1464 | 1428 | Claude Opus 4.8 |
| LMArena Text: legal and government | 1477 | 1418 | Claude Opus 4.8 |
| LMArena Text: business and finance | 1458 | 1389 | Claude Opus 4.8 |
| FACTS Benchmark Suite | 53.5% | 51.4% | Claude Opus 4.8 |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| Design Arena: websites | 1258 | 1082 | Claude Opus 4.8 |
| Design Arena: UI components | 1255 | 1069 | Claude Opus 4.8 |
| Design Arena: game dev | 1264 | 1029 | Claude Opus 4.8 |
| Design Arena: data viz | 1240 | 1045 | Claude Opus 4.8 |
| Design Arena: 3D | 1222 | 1047 | Claude Opus 4.8 |
| Design Arena: all code categories | 1255 | 1072 | Claude Opus 4.8 |
| Design Arena: SVG | 1195 | 1052 | Claude Opus 4.8 |
| Design Arena: ASCII art | 1277 | 1167 | Claude Opus 4.8 |
| LiveBench design | 78.8% | Not measured | Only Claude Opus 4.8 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index260
| Benchmark | Claude Opus 4.8 | Gemini 3.1 Flash Lite Preview | Leader |
|---|---|---|---|
| LiveBench data analysis | 66.0% | Not measured | Only Claude Opus 4.8 measured |
| Public Benefits Bench (Vals AI) | 68.1% | Not measured | Only Claude Opus 4.8 measured |
| SAGE (Vals AI) | 54.8% | 49.5% | Claude Opus 4.8 |
| MedScribe (Vals AI) | 85.8% | 63.9% | Claude Opus 4.8 |
| Vals Multimodal Index | 70.9% | 41.4% | Claude Opus 4.8 |
| IFBench | 62.2% | Not measured | Only Claude Opus 4.8 measured |
| Long context reasoning (AA-LCR) | 77.7% | Not measured | Only Claude Opus 4.8 measured |
| DTBench | 94.9% | Not measured | Only Claude Opus 4.8 measured |
| LMCA | 57.5% | Not measured | Only Claude Opus 4.8 measured |
| Surface Evolver Bench | 87.5% | Not measured | Only Claude Opus 4.8 measured |
| Furniture assembly | 42.5% | Not measured | Only Claude Opus 4.8 measured |
| LMArena Text | 1461 | 1416 | Claude Opus 4.8 |
| LMArena Text: instruction following | 1476 | 1377 | Claude Opus 4.8 |
| LMArena Text: creative writing | 1454 | 1401 | Claude Opus 4.8 |
| LMArena Vision | 1294 | 1240 | Claude Opus 4.8 |
| LMArena Text: English | 1468 | 1414 | Claude Opus 4.8 |
| LMArena Text: non-English | 1450 | 1410 | Claude Opus 4.8 |
| LMArena Text: Chinese | 1506 | 1460 | Claude Opus 4.8 |
| LMArena Text: German | 1472 | 1430 | Claude Opus 4.8 |
| LMArena Text: Japanese | 1442 | 1413 | Claude Opus 4.8 |
| LMArena Text: Korean | 1431 | 1392 | Claude Opus 4.8 |
| LMArena Text: French | 1481 | 1424 | Claude Opus 4.8 |
| LMArena Text: Spanish | 1465 | 1421 | Claude Opus 4.8 |
| LMArena Text: Russian | 1474 | 1420 | Claude Opus 4.8 |
| LMArena Text: Polish | 1459 | 1443 | Claude Opus 4.8 |
| LMArena Text: multi-turn | 1476 | 1417 | Claude Opus 4.8 |
| LMArena Text: longer queries | 1483 | 1394 | Claude Opus 4.8 |
| LMArena Text: writing and language | 1461 | 1408 | Claude Opus 4.8 |
| LMArena Text: entertainment and media | 1440 | 1386 | Claude Opus 4.8 |
| LMArena Vision: English | 1293 | 1232 | Claude Opus 4.8 |
| LMArena Vision: Chinese | 1346 | 1278 | Claude Opus 4.8 |
| LMArena Vision: reading text | 1303 | 1246 | Claude Opus 4.8 |
| LMArena Vision: humor | 1282 | 1266 | Claude Opus 4.8 |
| 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 | 1301 | 1248 | Claude Opus 4.8 |
| LMArena Document | 1475 | Not measured | Only Claude Opus 4.8 measured |
| Neither model has a result on the other 9 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.8 | 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 Opus 4.8 | Google Gemini 3.1 Flash Lite Preview |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | May 27, 2026 | March 3, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $5.00 | $0.25 |
| Output $/Mtok | $25.00 | $1.50 |
| Coding index | 65.0 | 22.7 |
| Independent measurements behind it | 6 | 3 |
| Cost per solved task | $2.17 | $0.18 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.8 better than Gemini 3.1 Flash Lite Preview for coding?
Pick Claude Opus 4.8 for coding: it scores 65.0 on the Vibe Coding Index against 22.7 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview for output tokens 16.7x cheaper ($1.50 vs $25.00 per million) and a lower cost per solved task ($0.18 against $2.17).
Which is cheaper, Claude Opus 4.8 or Gemini 3.1 Flash Lite Preview?
Claude Opus 4.8 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemini 3.1 Flash Lite Preview costs $0.25 and $1.50. Per solved SWE-bench Verified task, Claude Opus 4.8 costs $2.17 and Gemini 3.1 Flash Lite Preview $0.18.
Which has the bigger context window, Claude Opus 4.8 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 Opus 4.8 vs Gemini 3.1 Flash Lite Preview comparison based on?
73 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.1 Flash Lite Preview's on 3. Where only one model has a result, the page says so instead of naming a winner.