Claude Opus 4.6 vs Gemini 3.1 Pro Preview
Claude Opus 4.6 leads Gemini 3.1 Pro Preview on coding, 57.2 to 32.3 on the Vibe Coding Index, and Gemini 3.1 Pro Preview costs 2.1x less per output token ($12.00 vs $25.00 per million). Updated October 22, 2026; 103 benchmarks have a result for both.
Claude Opus 4.6 or Gemini 3.1 Pro Preview: which to pick
Pick Claude Opus 4.6 for coding: it scores 57.2 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview.
Pick Gemini 3.1 Pro Preview for output tokens 2.1x cheaper ($12.00 vs $25.00 per million) and a lower cost per solved task ($0.99 against $1.56).
- Shared results
- 103
- Claude Opus 4.6 only
- 7
- Gemini 3.1 Pro Preview only
- 30
- 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.6
Claude Opus 4.6 scores 57.2 against 32.3.
4 benchmarks behind each score
Intelligence
AA Intelligence Index
Claude Opus 4.6
Claude Opus 4.6 leads, 31.9 against 29.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemini 3.1 Pro Preview has a AA Agentic Index result, 8.2.
Directional only
Reasoning
GPQA Diamond
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 95.5% against 89.7%.
Same board, both measured
Math
AIME
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 98.1% against 95.6%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 91.0% against 89.1%.
Same board, both measured
Web design
Design Arena: websites
Claude Opus 4.6
Claude Opus 4.6 leads, 1291 against 1233.
Same board, both measured
Long documents
Listed context window
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.1 Pro Preview
Claude Opus 4.6 $0.018, Gemini 3.1 Pro Preview $0.0080 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3.1 Pro Preview
Claude Opus 4.6 $1.56, Gemini 3.1 Pro Preview $0.99.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.6 57.2 from 4 benchmarks, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
- Widest category
- Agentic work, 14.3 points apart on average over 10 shared benchmarks.
- Widest single gap
- Vending-Bench 2: Claude Opus 4.6 $8,018 against Gemini 3.1 Pro Preview $911, 44.4 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.6 $25.00 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 2.1x apart.
- Context window
- Claude Opus 4.6 takes 1M tokens, Gemini 3.1 Pro 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.6 | Bars | Gemini 3.1 Pro Preview | Ties |
|---|---|---|---|---|
| Coding | 9 | 4 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 9 | 1 | ||
| Reasoning | 5 | 11 | ||
| Math | 4 | 2 | 1 tie | |
| Knowledge | 6 | 8 | ||
| Web design | 6 | 2 | ||
| General | 26 | 8 | ||
| All shared boards | 66 | 36 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index94
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| SWE-bench Verified | 75.6% | Not measured | Only Claude Opus 4.6 measured |
| SWE-bench Multilingual | 72.0% | Not measured | Only Claude Opus 4.6 measured |
| LMArena WebDev | 1547 | 1447 | Claude Opus 4.6 |
| AA Coding Index | Not measured | 68.8 | Only Gemini 3.1 Pro Preview measured |
| LiveCodeBench (Vals AI) | 84.7% | 88.5% | Gemini 3.1 Pro Preview |
| SWE-bench Verified (Vals AI) | 78.2% | 78.8% | Gemini 3.1 Pro Preview |
| Terminal-Bench 4 (Vals AI) | Not measured | 2.5% | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench (Vals AI) | 57.6% | 32.0% | Claude Opus 4.6 |
| Code migration (Vals AI) | Not measured | 17.3% | Only Gemini 3.1 Pro Preview measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Gemini 3.1 Pro Preview measured |
| IOI (Vals AI) | Not measured | 51.8% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 70.8% | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 6.7% | Only Gemini 3.1 Pro Preview measured |
| SciCode | Not measured | 58.7% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | 48.5% | 53.8% | Gemini 3.1 Pro Preview |
| Terminal-Bench | 79.8% | 80.2% | Gemini 3.1 Pro Preview |
| FrontierCode | 26.6% | Not measured | Only Claude Opus 4.6 measured |
| GSO-Bench | 41.2% | 22.6% | Claude Opus 4.6 |
| WeirdML | 78.0% | 72.1% | Claude Opus 4.6 |
| MirrorCode | Not measured | 8.9% | Only Gemini 3.1 Pro Preview measured |
| Cybench | 93.0% | Not measured | Only Claude Opus 4.6 measured |
| ALE-Bench | Not measured | 1160.6 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: coding | 1534 | 1484 | Claude Opus 4.6 |
| LMArena Text: software and IT | 1527 | 1487 | Claude Opus 4.6 |
| LMArena WebDev: React | 1539 | 1438 | Claude Opus 4.6 |
| LMArena WebDev: HTML | 1559 | 1490 | Claude Opus 4.6 |
| LMArena WebDev: from an image | 1543 | 1481 | Claude Opus 4.6 |
| SciCode | Not measured | 14.3% | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 11 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 31.9 | 29.7 | Claude Opus 4.6 |
| Epoch Capabilities Index | 155.7 | Not measured | Only Claude Opus 4.6 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index91
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 8.2 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building web apps | 1206 | 1125 | Claude Opus 4.6 |
| Design Arena: agents building full-stack apps | 1220 | 1068 | Claude Opus 4.6 |
| Design Arena: agents building mobile apps | 1207 | 1094 | Claude Opus 4.6 |
| Design Arena: agents building Android apps | 1197 | 1049 | Claude Opus 4.6 |
| Design Arena: agents building Godot games | Not measured | 1236 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building games | 1212 | 1113 | Claude Opus 4.6 |
| Design Arena: HTML slides | Not measured | 1103 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: PowerPoint slides | Not measured | 1041 | Only Gemini 3.1 Pro Preview measured |
| SREBench (Vals AI) | Not measured | 0.0% | Only Gemini 3.1 Pro Preview measured |
| Finance Agent (Vals AI) | Not measured | 43.0% | Only Gemini 3.1 Pro Preview measured |
| Tax Agent Bench (Vals AI) | Not measured | 9.3% | Only Gemini 3.1 Pro Preview measured |
| Legal Research Bench (Vals AI) | Not measured | 20.7% | Only Gemini 3.1 Pro Preview measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 52.6% | Only Gemini 3.1 Pro Preview measured |
| BioMysteryBench (Vals AI) | Not measured | 60.0% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 1.4% | Only Gemini 3.1 Pro Preview measured |
| Vals Science Index | Not measured | 27.4% | Only Gemini 3.1 Pro Preview measured |
| τ²-Bench Telecom | 92.1% | 95.6% | Gemini 3.1 Pro Preview |
| APEX-Agents | 46.3% | 35.1% | Claude Opus 4.6 |
| METR time horizons | 78.9% | 77.0% | Claude Opus 4.6 |
| Remote Labor Index | 4.2% | Not measured | Only Claude Opus 4.6 measured |
| BALROG | Not measured | 57.0% | Only Gemini 3.1 Pro Preview measured |
| DeepResearch Bench | 55.3% | 47.8% | Claude Opus 4.6 |
| PostTrainBench | Not measured | 22.0% | Only Gemini 3.1 Pro Preview measured |
| Vending-Bench 2 | $8,018 | $911 | Claude Opus 4.6 |
| Neither model has a result on the other 16 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index511
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| GPQA Diamond | 89.7% | 95.5% | Gemini 3.1 Pro Preview |
| MysteryMechanism (Vals AI) | Not measured | 20.7% | Only Gemini 3.1 Pro Preview measured |
| MMMU Pro (Vals AI) | 83.9% | 88.2% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Artificial Analysis run) | 89.6% | 94.1% | Gemini 3.1 Pro Preview |
| Humanity's Last Exam (Artificial Analysis run) | 39.9% | 47.0% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Epoch AI run) | 90.5% | 94.4% | Gemini 3.1 Pro Preview |
| ARC-AGI | 94.0% | 98.0% | Gemini 3.1 Pro Preview |
| ARC-AGI-2 | 69.2% | 77.1% | Gemini 3.1 Pro Preview |
| SimpleBench | 67.6% | 79.6% | Gemini 3.1 Pro Preview |
| Chess puzzles | 21.0% | 51.0% | Gemini 3.1 Pro Preview |
| Mystery game puzzles | 25.0% | 34.0% | Gemini 3.1 Pro Preview |
| EBR-bench | 12.7% | 14.3% | Gemini 3.1 Pro Preview |
| LMArena Text: hard prompts | 1525 | 1485 | Claude Opus 4.6 |
| LMArena Text: expert | 1544 | 1483 | Claude Opus 4.6 |
| LMArena Text: hard prompts in English | 1530 | 1480 | Claude Opus 4.6 |
| LMArena Vision: diagrams | 1340 | 1311 | Claude Opus 4.6 |
| LMArena Vision: homework | 1337 | 1316 | Claude Opus 4.6 |
| Kagi LLM Benchmark | 83.6% | Not measured | Only Claude Opus 4.6 measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index42
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AIME | 95.6% | 98.1% | Gemini 3.1 Pro Preview |
| OTIS Mock AIME | 94.4% | 95.6% | Gemini 3.1 Pro Preview |
| FrontierMath, tiers 1 to 3 | 66.0% | 59.6% | Claude Opus 4.6 |
| FrontierMath, tier 4 | 26.8% | 26.8% | Tie |
| ProofBench | 50.0% | 26.0% | Claude Opus 4.6 |
| LMArena Text: math | 1518 | 1486 | Claude Opus 4.6 |
| LMArena Text: mathematical work | 1525 | 1478 | Claude Opus 4.6 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index68
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| MMLU Pro | 89.1% | 91.0% | Gemini 3.1 Pro Preview |
| LegalBench (Vals AI) | 85.3% | 87.4% | Gemini 3.1 Pro Preview |
| CaseLaw (Vals AI) | 62.1% | 64.8% | Gemini 3.1 Pro Preview |
| CorpFin (Vals AI) | 67.0% | 64.5% | Claude Opus 4.6 |
| TaxEval (Vals AI) | 76.0% | 72.9% | Claude Opus 4.6 |
| MortgageTax (Vals AI) | 68.5% | 69.4% | Gemini 3.1 Pro Preview |
| MedQA (Vals AI) | 95.4% | 96.4% | Gemini 3.1 Pro Preview |
| MedCode (Vals AI) | 49.1% | 59.1% | Gemini 3.1 Pro Preview |
| SimpleQA Verified | 47.0% | 73.5% | Gemini 3.1 Pro Preview |
| LMArena Text: science | 1519 | 1497 | Claude Opus 4.6 |
| LMArena Text: medicine and healthcare | 1504 | 1486 | Claude Opus 4.6 |
| LMArena Text: legal and government | 1512 | 1487 | Claude Opus 4.6 |
| LMArena Text: business and finance | 1497 | 1459 | Claude Opus 4.6 |
| FACTS Benchmark Suite | 41.5% | 67.4% | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index62
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| Design Arena: websites | 1291 | 1233 | Claude Opus 4.6 |
| Design Arena: UI components | 1281 | 1224 | Claude Opus 4.6 |
| Design Arena: game dev | 1277 | 1202 | Claude Opus 4.6 |
| Design Arena: data viz | 1279 | 1209 | Claude Opus 4.6 |
| Design Arena: 3D | 1273 | 1234 | Claude Opus 4.6 |
| Design Arena: all code categories | 1288 | 1231 | Claude Opus 4.6 |
| Design Arena: SVG | 1227 | 1285 | Gemini 3.1 Pro Preview |
| Design Arena: ASCII art | 1255 | 1270 | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index268
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | Not measured | 53.8% | Only Gemini 3.1 Pro Preview measured |
| SAGE (Vals AI) | 51.6% | 48.7% | Claude Opus 4.6 |
| MedScribe (Vals AI) | 86.7% | 76.1% | Claude Opus 4.6 |
| Vals Multimodal Index | Not measured | 56.1% | Only Gemini 3.1 Pro Preview measured |
| IFBench | 53.1% | 77.1% | Gemini 3.1 Pro Preview |
| Long context reasoning (AA-LCR) | 78.0% | 82.0% | Gemini 3.1 Pro Preview |
| DTBench | 91.2% | 97.1% | Gemini 3.1 Pro Preview |
| LMCA | 55.8% | 53.8% | Claude Opus 4.6 |
| CL-bench | 20.7% | 20.8% | Gemini 3.1 Pro Preview |
| Furniture assembly | 28.3% | 26.7% | Claude Opus 4.6 |
| ExploitBench | Not measured | 26.1% | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | 17.0% | 16.9% | Claude Opus 4.6 |
| LMArena Text | 1501 | 1480 | Claude Opus 4.6 |
| LMArena Text: instruction following | 1521 | 1466 | Claude Opus 4.6 |
| LMArena Text: creative writing | 1505 | 1482 | Claude Opus 4.6 |
| LMArena Vision | 1316 | 1296 | Claude Opus 4.6 |
| LMArena Text: English | 1511 | 1478 | Claude Opus 4.6 |
| LMArena Text: non-English | 1488 | 1476 | Claude Opus 4.6 |
| LMArena Text: Chinese | 1551 | 1527 | Claude Opus 4.6 |
| LMArena Text: German | 1500 | 1490 | Claude Opus 4.6 |
| LMArena Text: Japanese | 1488 | 1491 | Gemini 3.1 Pro Preview |
| LMArena Text: Korean | 1464 | 1455 | Claude Opus 4.6 |
| LMArena Text: French | 1512 | 1487 | Claude Opus 4.6 |
| LMArena Text: Spanish | 1510 | 1481 | Claude Opus 4.6 |
| LMArena Text: Russian | 1497 | 1497 | Gemini 3.1 Pro Preview |
| LMArena Text: Polish | 1499 | 1498 | Claude Opus 4.6 |
| LMArena Text: multi-turn | 1511 | 1487 | Claude Opus 4.6 |
| LMArena Text: longer queries | 1518 | 1482 | Claude Opus 4.6 |
| LMArena Text: writing and language | 1502 | 1481 | Claude Opus 4.6 |
| LMArena Text: entertainment and media | 1492 | 1465 | Claude Opus 4.6 |
| LMArena Vision: English | 1324 | 1287 | Claude Opus 4.6 |
| LMArena Vision: Chinese | 1370 | 1364 | Claude Opus 4.6 |
| LMArena Vision: reading text | 1326 | 1304 | Claude Opus 4.6 |
| LMArena Vision: humor | 1314 | 1322 | Gemini 3.1 Pro Preview |
| LMArena Vision: captioning | Not measured | 1345 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: recognizing things | 1274 | 1330 | Gemini 3.1 Pro Preview |
| LMArena Vision: creative writing | 1331 | 1324 | Claude Opus 4.6 |
| LMArena Document | 1507 | 1444 | Claude Opus 4.6 |
| Neither model has a result on the other 8 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Opus 4.6 | Gemini 3.1 Pro 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 Pro Preview costs less
Repository review
50K input + 3K output tokens
Gemini 3.1 Pro Preview costs less
Agent loop
200K input + 10K output tokens
Gemini 3.1 Pro 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.6 | Google Gemini 3.1 Pro Preview |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | February 4, 2026 | February 19, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $5.00 | $2.00 |
| Output $/Mtok | $25.00 | $12.00 |
| Coding index | 57.2 | 32.3 |
| Independent measurements behind it | 4 | 4 |
| Cost per solved task | $1.56 | $0.99 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.6 better than Gemini 3.1 Pro Preview for coding?
Pick Claude Opus 4.6 for coding: it scores 57.2 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview for output tokens 2.1x cheaper ($12.00 vs $25.00 per million) and a lower cost per solved task ($0.99 against $1.56).
Which is cheaper, Claude Opus 4.6 or Gemini 3.1 Pro Preview?
Claude Opus 4.6 costs $5.00 per million input tokens and $25.00 per million output tokens; Gemini 3.1 Pro Preview costs $2.00 and $12.00. Per solved SWE-bench Verified task, Claude Opus 4.6 costs $1.56 and Gemini 3.1 Pro Preview $0.99.
Which has the bigger context window, Claude Opus 4.6 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview, with 1.05M tokens against 1M.
How many benchmarks is the Claude Opus 4.6 vs Gemini 3.1 Pro Preview comparison based on?
103 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.6's coding index rests on 4 independent benchmarks and Gemini 3.1 Pro Preview's on 4. Where only one model has a result, the page says so instead of naming a winner.