Claude Opus 4.5 vs Gemini 3.1 Pro Preview
Claude Opus 4.5 leads Gemini 3.1 Pro Preview on coding, 44.0 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; 91 benchmarks have a result for both.
Claude Opus 4.5 or Gemini 3.1 Pro Preview: which to pick
Pick Claude Opus 4.5 for coding: it scores 44.0 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 3 benchmarks against 4.
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.37).
- Shared results
- 91
- Claude Opus 4.5 only
- 17
- Gemini 3.1 Pro Preview only
- 42
- 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.5
Claude Opus 4.5 scores 44.0 against 32.3.
3 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 29.7 against 29.1.
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 85.9%.
Same board, both measured
Math
AIME
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 98.1% against 95.4%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 91.0% against 87.3%.
Same board, both measured
Web design
Design Arena: websites
Claude Opus 4.5
Claude Opus 4.5 leads, 1247 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 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.1 Pro Preview
Claude Opus 4.5 $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.5 $1.37, Gemini 3.1 Pro Preview $0.99.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.5 44.0 from 3 benchmarks, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
- Widest category
- Reasoning, 12.4 points apart on average over 14 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Claude Opus 4.5 37.6% against Gemini 3.1 Pro Preview 77.1%, 39.5 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.5 $25.00 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 2.1x apart.
- Context window
- Claude Opus 4.5 takes 200K 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.5 | Bars | Gemini 3.1 Pro Preview | Ties |
|---|---|---|---|---|
| Coding | 5 | 7 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 6 | 3 | ||
| Reasoning | 2 | 11 | 1 tie | |
| Math | 1 | 6 | ||
| Knowledge | 2 | 12 | ||
| Web design | 5 | 3 | ||
| General | 6 | 20 | ||
| All shared boards | 27 | 63 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index57
| Benchmark | Claude Opus 4.5 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| SWE-bench Verified | 79.2% | Not measured | Only Claude Opus 4.5 measured |
| SWE-bench (full test set) | 52.6% | Not measured | Only Claude Opus 4.5 measured |
| SWE-bench Multilingual | 70.7% | Not measured | Only Claude Opus 4.5 measured |
| LMArena WebDev | 1494 | 1447 | Claude Opus 4.5 |
| AA Coding Index | Not measured | 68.8 | Only Gemini 3.1 Pro Preview measured |
| LiveCodeBench (Vals AI) | 83.7% | 88.5% | Gemini 3.1 Pro Preview |
| SWE-bench Verified (Vals AI) | 76.4% | 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) | 20.6% | 32.0% | Gemini 3.1 Pro Preview |
| 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 |
| LiveCodeBench (Artificial Analysis run) | 87.1% | Not measured | Only Claude Opus 4.5 measured |
| SciCode | Not measured | 58.7% | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | 47.0% | 53.8% | Gemini 3.1 Pro Preview |
| Terminal-Bench | 63.1% | 80.2% | Gemini 3.1 Pro Preview |
| GSO-Bench | 26.5% | 22.6% | Claude Opus 4.5 |
| WeirdML | 63.7% | 72.1% | Gemini 3.1 Pro Preview |
| MirrorCode | Not measured | 8.9% | Only Gemini 3.1 Pro Preview measured |
| Cybench | 82.0% | Not measured | Only Claude Opus 4.5 measured |
| ALE-Bench | Not measured | 1160.6 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: coding | 1503 | 1484 | Claude Opus 4.5 |
| LMArena Text: software and IT | 1483 | 1487 | Gemini 3.1 Pro Preview |
| LMArena WebDev: React | 1478 | 1438 | Claude Opus 4.5 |
| LMArena WebDev: HTML | 1510 | 1490 | Claude Opus 4.5 |
| LMArena WebDev: from an image | Not measured | 1481 | Only Gemini 3.1 Pro Preview measured |
| SciCode | Not measured | 14.3% | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 10 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Claude Opus 4.5 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 29.1 | 29.7 | Gemini 3.1 Pro Preview |
| Epoch Capabilities Index | 150.1 | Not measured | Only Claude Opus 4.5 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index63
| Benchmark | Claude Opus 4.5 | 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 | 1159 | 1125 | Claude Opus 4.5 |
| Design Arena: agents building full-stack apps | 1156 | 1068 | Claude Opus 4.5 |
| Design Arena: agents building mobile apps | 1189 | 1094 | Claude Opus 4.5 |
| Design Arena: agents building Android apps | 1176 | 1049 | Claude Opus 4.5 |
| Design Arena: agents building Godot games | Not measured | 1236 | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building games | Not measured | 1113 | Only Gemini 3.1 Pro Preview measured |
| 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 | 89.5% | 95.6% | Gemini 3.1 Pro Preview |
| APEX-Agents | Not measured | 35.1% | Only Gemini 3.1 Pro Preview measured |
| METR time horizons | 75.0% | 77.0% | Gemini 3.1 Pro Preview |
| Remote Labor Index | 3.8% | Not measured | Only Claude Opus 4.5 measured |
| GDPval | 45.5% | Not measured | Only Claude Opus 4.5 measured |
| BALROG | 43.5% | 57.0% | Gemini 3.1 Pro Preview |
| DeepResearch Bench | 54.8% | 47.8% | Claude Opus 4.5 |
| PostTrainBench | Not measured | 22.0% | Only Gemini 3.1 Pro Preview measured |
| OSWorld | 66.3% | Not measured | Only Claude Opus 4.5 measured |
| Vending-Bench 2 | $4,967 | $911 | Claude Opus 4.5 |
| Berkeley Function Calling Leaderboard (BFCL) | 77.5% | Not measured | Only Claude Opus 4.5 measured |
| Neither model has a result on the other 13 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index211
| Benchmark | Claude Opus 4.5 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| GPQA Diamond | 85.9% | 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.0% | 88.2% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Artificial Analysis run) | 86.6% | 94.1% | Gemini 3.1 Pro Preview |
| Humanity's Last Exam (Artificial Analysis run) | 30.1% | 47.0% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Epoch AI run) | 86.0% | 94.4% | Gemini 3.1 Pro Preview |
| ARC-AGI | 80.0% | 98.0% | Gemini 3.1 Pro Preview |
| ARC-AGI-2 | 37.6% | 77.1% | Gemini 3.1 Pro Preview |
| SimpleBench | 62.0% | 79.6% | Gemini 3.1 Pro Preview |
| Chess puzzles | 14.0% | 51.0% | Gemini 3.1 Pro Preview |
| Mystery game puzzles | 22.0% | 34.0% | Gemini 3.1 Pro Preview |
| EBR-bench | 14.3% | 14.3% | Tie |
| VPCT | 40.0% | Not measured | Only Claude Opus 4.5 measured |
| LMArena Text: hard prompts | 1476 | 1485 | Gemini 3.1 Pro Preview |
| LMArena Text: expert | 1487 | 1483 | Claude Opus 4.5 |
| LMArena Text: hard prompts in English | 1482 | 1480 | Claude Opus 4.5 |
| LMArena Vision: diagrams | Not measured | 1311 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: homework | Not measured | 1316 | Only Gemini 3.1 Pro Preview measured |
| Kagi LLM Benchmark | 80.2% | Not measured | Only Claude Opus 4.5 measured |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index16
| Benchmark | Claude Opus 4.5 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| AIME | 95.4% | 98.1% | Gemini 3.1 Pro Preview |
| MGSM (Vals AI) | 95.2% | Not measured | Only Claude Opus 4.5 measured |
| AA Math Index | 91.3 | Not measured | Only Claude Opus 4.5 measured |
| AIME 2025 (Artificial Analysis run) | 91.3% | Not measured | Only Claude Opus 4.5 measured |
| OTIS Mock AIME | 86.1% | 95.6% | Gemini 3.1 Pro Preview |
| FrontierMath, tiers 1 to 3 | 34.4% | 59.6% | Gemini 3.1 Pro Preview |
| FrontierMath, tier 4 | 4.9% | 26.8% | Gemini 3.1 Pro Preview |
| ProofBench | 36.0% | 26.0% | Claude Opus 4.5 |
| LMArena Text: math | 1463 | 1486 | Gemini 3.1 Pro Preview |
| LMArena Text: mathematical work | 1468 | 1478 | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index212
| Benchmark | Claude Opus 4.5 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| MMLU Pro | 87.3% | 91.0% | Gemini 3.1 Pro Preview |
| LegalBench (Vals AI) | 84.6% | 87.4% | Gemini 3.1 Pro Preview |
| CaseLaw (Vals AI) | 62.6% | 64.8% | Gemini 3.1 Pro Preview |
| CorpFin (Vals AI) | 65.1% | 64.5% | Claude Opus 4.5 |
| TaxEval (Vals AI) | 74.9% | 72.9% | Claude Opus 4.5 |
| MortgageTax (Vals AI) | 68.7% | 69.4% | Gemini 3.1 Pro Preview |
| MedQA (Vals AI) | 95.9% | 96.4% | Gemini 3.1 Pro Preview |
| MedCode (Vals AI) | 49.2% | 59.1% | Gemini 3.1 Pro Preview |
| MMLU Pro (Artificial Analysis run) | 89.5% | Not measured | Only Claude Opus 4.5 measured |
| SimpleQA Verified | 45.7% | 73.5% | Gemini 3.1 Pro Preview |
| GeoBench | 75.0% | Not measured | Only Claude Opus 4.5 measured |
| LMArena Text: science | 1454 | 1497 | Gemini 3.1 Pro Preview |
| LMArena Text: medicine and healthcare | 1444 | 1486 | Gemini 3.1 Pro Preview |
| LMArena Text: legal and government | 1459 | 1487 | Gemini 3.1 Pro Preview |
| LMArena Text: business and finance | 1448 | 1459 | Gemini 3.1 Pro Preview |
| FACTS Benchmark Suite | 43.9% | 67.4% | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index53
| Benchmark | Claude Opus 4.5 | Gemini 3.1 Pro Preview | Leader |
|---|---|---|---|
| Design Arena: websites | 1247 | 1233 | Claude Opus 4.5 |
| Design Arena: UI components | 1235 | 1224 | Claude Opus 4.5 |
| Design Arena: game dev | 1228 | 1202 | Claude Opus 4.5 |
| Design Arena: data viz | 1243 | 1209 | Claude Opus 4.5 |
| Design Arena: 3D | 1213 | 1234 | Gemini 3.1 Pro Preview |
| Design Arena: all code categories | 1242 | 1231 | Claude Opus 4.5 |
| Design Arena: SVG | 1180 | 1285 | Gemini 3.1 Pro Preview |
| Design Arena: ASCII art | 1190 | 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 index620
| Benchmark | Claude Opus 4.5 | 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) | 52.1% | 48.7% | Claude Opus 4.5 |
| MedScribe (Vals AI) | 85.3% | 76.1% | Claude Opus 4.5 |
| Vals Multimodal Index | Not measured | 56.1% | Only Gemini 3.1 Pro Preview measured |
| IFBench | 58.0% | 77.1% | Gemini 3.1 Pro Preview |
| Long context reasoning (AA-LCR) | 77.3% | 82.0% | Gemini 3.1 Pro Preview |
| DTBench | 89.9% | 97.1% | Gemini 3.1 Pro Preview |
| LMCA | 44.5% | 53.8% | Gemini 3.1 Pro Preview |
| CL-bench | 21.1% | 20.8% | Claude Opus 4.5 |
| Furniture assembly | 28.3% | 26.7% | Claude Opus 4.5 |
| ExploitBench | Not measured | 26.1% | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | Not measured | 16.9% | Only Gemini 3.1 Pro Preview measured |
| LMArena Text | 1451 | 1480 | Gemini 3.1 Pro Preview |
| LMArena Text: instruction following | 1478 | 1466 | Claude Opus 4.5 |
| LMArena Text: creative writing | 1445 | 1482 | Gemini 3.1 Pro Preview |
| LMArena Vision | Not measured | 1296 | Only Gemini 3.1 Pro Preview measured |
| LMArena Text: English | 1461 | 1478 | Gemini 3.1 Pro Preview |
| LMArena Text: non-English | 1438 | 1476 | Gemini 3.1 Pro Preview |
| LMArena Text: Chinese | 1470 | 1527 | Gemini 3.1 Pro Preview |
| LMArena Text: German | 1449 | 1490 | Gemini 3.1 Pro Preview |
| LMArena Text: Japanese | 1417 | 1491 | Gemini 3.1 Pro Preview |
| LMArena Text: Korean | 1424 | 1455 | Gemini 3.1 Pro Preview |
| LMArena Text: French | 1471 | 1487 | Gemini 3.1 Pro Preview |
| LMArena Text: Spanish | 1457 | 1481 | Gemini 3.1 Pro Preview |
| LMArena Text: Russian | 1447 | 1497 | Gemini 3.1 Pro Preview |
| LMArena Text: Polish | 1439 | 1498 | Gemini 3.1 Pro Preview |
| LMArena Text: multi-turn | 1466 | 1487 | Gemini 3.1 Pro Preview |
| LMArena Text: longer queries | 1479 | 1482 | Gemini 3.1 Pro Preview |
| LMArena Text: writing and language | 1452 | 1481 | Gemini 3.1 Pro Preview |
| LMArena Text: entertainment and media | 1434 | 1465 | Gemini 3.1 Pro Preview |
| LMArena Vision: English | Not measured | 1287 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: Chinese | Not measured | 1364 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: reading text | Not measured | 1304 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: humor | Not measured | 1322 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: captioning | Not measured | 1345 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: recognizing things | Not measured | 1330 | Only Gemini 3.1 Pro Preview measured |
| LMArena Vision: creative writing | Not measured | 1324 | Only Gemini 3.1 Pro Preview measured |
| LMArena Document | 1462 | 1444 | Claude Opus 4.5 |
| 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.5 | 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.5 | Google Gemini 3.1 Pro Preview |
|---|---|---|
| Maker | Anthropic | |
| Weights | No public weights listed | No public weights listed |
| Released | November 24, 2025 | February 19, 2026 |
| Context window | 200K | 1.05M |
| Input $/Mtok | $5.00 | $2.00 |
| Output $/Mtok | $25.00 | $12.00 |
| Coding index | 44.0 | 32.3 |
| Independent measurements behind it | 3 | 4 |
| Cost per solved task | $1.37 | $0.99 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.5 better than Gemini 3.1 Pro Preview for coding?
Pick Claude Opus 4.5 for coding: it scores 44.0 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview, though on 3 benchmarks against 4. 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.37).
Which is cheaper, Claude Opus 4.5 or Gemini 3.1 Pro Preview?
Claude Opus 4.5 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.5 costs $1.37 and Gemini 3.1 Pro Preview $0.99.
Which has the bigger context window, Claude Opus 4.5 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview, with 1.05M tokens against 200K.
How many benchmarks is the Claude Opus 4.5 vs Gemini 3.1 Pro Preview comparison based on?
91 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.5's coding index rests on 3 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.