Gemini 3.1 Pro Preview vs o3
Updated October 21, 2026. 80 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick o3 for coding: it scores 70.7 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview.
Pick Gemini 3.1 Pro Preview when the context window is larger, 1.05M against 200K tokens, or when what matters is LiveCodeBench (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
- Shared results
- 80
- Gemini 3.1 Pro Preview only
- 51
- o3 only
- 17
- 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
o3
o3 scores 70.7 against 35.3.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 29.7 against 20.2.
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 84.1%.
Same board, both measured
Math
AIME
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 98.1% against 85.3%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 91.0% against 85.6%.
Same board, both measured
Web design
Design Arena: websites
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview leads, 1234 against 1036.
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
o3
Gemini 3.1 Pro Preview $0.0080, o3 $0.0060 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
o3
Gemini 3.1 Pro Preview $0.99, o3 $0.571.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3.1 Pro Preview 35.3 from 1 benchmark, o3 70.7 from 2 benchmarks.
- Widest category
- Web design, 19.9 points apart on average over 5 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3.1 Pro Preview 77.1% against o3 6.5%, 70.6 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Pro Preview $12.00 against o3 $8.00 per million output tokens, 1.5x apart.
- Context window
- Gemini 3.1 Pro Preview takes 1.05M tokens, o3 200K.
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 | Gemini 3.1 Pro Preview | Bars | o3 | Ties |
|---|---|---|---|---|
| Coding | 7 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 3 | 0 | ||
| Reasoning | 15 | 0 | ||
| Math | 5 | 0 | ||
| Knowledge | 11 | 1 | ||
| Web design | 5 | 0 | ||
| General | 31 | 1 | ||
| All shared boards | 78 | 2 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index70
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 81.3% | Only o3 measured |
| SWE-bench Verified | Not measured | 58.4% | Only o3 measured |
| SWE-bench Multimodal | Not measured | 36.0% | Only o3 measured |
| LMArena WebDev | 1447 | Not measured | Only Gemini 3.1 Pro Preview measured |
| AA Coding Index | 68.8 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LiveCodeBench (Vals AI) | 88.5% | 83.9% | Gemini 3.1 Pro Preview |
| SWE-bench Verified (Vals AI) | 78.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 4 (Vals AI) | 2.5% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench (Vals AI) | 32.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Code migration (Vals AI) | 17.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IOI (Vals AI) | 51.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 70.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vibe Code Bench 1-100 (Vals AI) | 6.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 80.8% | Only o3 measured |
| SciCode | 58.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | 53.8% | 37.1% | Gemini 3.1 Pro Preview |
| Terminal-Bench | 80.2% | Not measured | Only Gemini 3.1 Pro Preview measured |
| GSO-Bench | 22.6% | 8.8% | Gemini 3.1 Pro Preview |
| WeirdML | 72.1% | 52.4% | Gemini 3.1 Pro Preview |
| MirrorCode | 8.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ALE-Bench | 1160.6 | 933.5 | Gemini 3.1 Pro Preview |
| LMArena Text: coding | 1484 | 1407 | Gemini 3.1 Pro Preview |
| LMArena Text: software and IT | 1487 | 1415 | Gemini 3.1 Pro Preview |
| LMArena WebDev: React | 1438 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: HTML | 1490 | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena WebDev: from an image | 1481 | Not measured | 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 | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| AA Intelligence Index | 29.7 | 20.2 | Gemini 3.1 Pro Preview |
| Epoch Capabilities Index | Not measured | 146.7 | Only o3 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| AA Agentic Index | 8.2 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building web apps | 1125 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building full-stack apps | 1068 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building mobile apps | 1094 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Android apps | 1055 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building Godot games | 1236 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: agents building games | 1114 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: HTML slides | 1153 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: PowerPoint slides | 1064 | Not measured | Only Gemini 3.1 Pro Preview measured |
| SREBench (Vals AI) | 0.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Finance Agent (Vals AI) | 43.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Tax Agent Bench (Vals AI) | 9.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Legal Research Bench (Vals AI) | 20.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Excel Modeling Benchmark (Vals AI) | 52.6% | Not measured | Only Gemini 3.1 Pro Preview measured |
| BioMysteryBench (Vals AI) | 60.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Terminal-Bench-Science (Vals AI) | 1.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| Vals Science Index | 27.4% | Not measured | Only Gemini 3.1 Pro Preview measured |
| τ²-Bench Telecom | 95.6% | 80.7% | Gemini 3.1 Pro Preview |
| APEX-Agents | 35.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| METR time horizons | 77.0% | 65.4% | Gemini 3.1 Pro Preview |
| GDPval | Not measured | 30.8% | Only o3 measured |
| BALROG | 57.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| DeepResearch Bench | 47.8% | 45.2% | Gemini 3.1 Pro Preview |
| PostTrainBench | 22.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| OSWorld | Not measured | 23.0% | Only o3 measured |
| Vending-Bench 2 | $911 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 13 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index150
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| GPQA Diamond | 95.5% | 84.1% | Gemini 3.1 Pro Preview |
| MysteryMechanism (Vals AI) | 20.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MMMU Pro (Vals AI) | 88.2% | 80.4% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Artificial Analysis run) | 94.1% | 82.7% | Gemini 3.1 Pro Preview |
| Humanity's Last Exam (Artificial Analysis run) | 47.0% | 20.1% | Gemini 3.1 Pro Preview |
| GPQA Diamond (Epoch AI run) | 94.4% | 81.8% | Gemini 3.1 Pro Preview |
| ARC-AGI | 98.0% | 60.8% | Gemini 3.1 Pro Preview |
| ARC-AGI-2 | 77.1% | 6.5% | Gemini 3.1 Pro Preview |
| SimpleBench | 79.6% | 53.1% | Gemini 3.1 Pro Preview |
| Chess puzzles | 51.0% | 37.0% | Gemini 3.1 Pro Preview |
| Mystery game puzzles | 34.0% | 29.0% | Gemini 3.1 Pro Preview |
| EBR-bench | 14.3% | Not measured | Only Gemini 3.1 Pro Preview measured |
| VPCT | Not measured | 52.0% | Only o3 measured |
| LMArena Text: hard prompts | 1485 | 1402 | Gemini 3.1 Pro Preview |
| LMArena Text: expert | 1483 | 1402 | Gemini 3.1 Pro Preview |
| LMArena Text: hard prompts in English | 1480 | 1411 | Gemini 3.1 Pro Preview |
| LMArena Vision: diagrams | 1311 | 1220 | Gemini 3.1 Pro Preview |
| LMArena Vision: homework | 1316 | 1234 | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| AIME | 98.1% | 85.3% | Gemini 3.1 Pro Preview |
| MATH 500 (Vals AI) | Not measured | 94.6% | Only o3 measured |
| MGSM (Vals AI) | Not measured | 91.8% | Only o3 measured |
| AA Math Index | Not measured | 88.3 | Only o3 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 88.3% | Only o3 measured |
| OTIS Mock AIME | 95.6% | 84.4% | Gemini 3.1 Pro Preview |
| FrontierMath, tiers 1 to 3 | 59.6% | 33.3% | Gemini 3.1 Pro Preview |
| FrontierMath, tier 4 | 26.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ProofBench | 26.0% | Not measured | Only Gemini 3.1 Pro Preview measured |
| MATH level 5 | Not measured | 97.8% | Only o3 measured |
| LMArena Text: math | 1486 | 1426 | Gemini 3.1 Pro Preview |
| LMArena Text: mathematical work | 1478 | 1423 | Gemini 3.1 Pro Preview |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index111
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| MMLU Pro | 91.0% | 85.6% | Gemini 3.1 Pro Preview |
| LegalBench (Vals AI) | 87.4% | 83.8% | Gemini 3.1 Pro Preview |
| CaseLaw (Vals AI) | 64.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CorpFin (Vals AI) | 64.5% | 59.7% | Gemini 3.1 Pro Preview |
| TaxEval (Vals AI) | 72.9% | 74.6% | o3 |
| MortgageTax (Vals AI) | 69.4% | 65.7% | Gemini 3.1 Pro Preview |
| MedQA (Vals AI) | 96.4% | 96.1% | Gemini 3.1 Pro Preview |
| MedCode (Vals AI) | 59.1% | 47.3% | Gemini 3.1 Pro Preview |
| MMLU Pro (Artificial Analysis run) | Not measured | 85.3% | Only o3 measured |
| SimpleQA Verified | 73.5% | 49.4% | Gemini 3.1 Pro Preview |
| GeoBench | Not measured | 74.0% | Only o3 measured |
| LMArena Text: science | 1497 | 1429 | Gemini 3.1 Pro Preview |
| LMArena Text: medicine and healthcare | 1486 | 1448 | Gemini 3.1 Pro Preview |
| LMArena Text: legal and government | 1487 | 1428 | Gemini 3.1 Pro Preview |
| LMArena Text: business and finance | 1459 | 1393 | 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 index50
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| Design Arena: websites | 1234 | 1036 | Gemini 3.1 Pro Preview |
| Design Arena: UI components | 1226 | 1016 | Gemini 3.1 Pro Preview |
| Design Arena: game dev | 1203 | 1034 | Gemini 3.1 Pro Preview |
| Design Arena: data viz | 1209 | 1200 | Gemini 3.1 Pro Preview |
| Design Arena: 3D | 1234 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: all code categories | 1231 | 1021 | Gemini 3.1 Pro Preview |
| Design Arena: SVG | 1285 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Design Arena: ASCII art | 1270 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index311
| Benchmark | Gemini 3.1 Pro Preview | o3 | Leader |
|---|---|---|---|
| Public Benefits Bench (Vals AI) | 53.8% | Not measured | Only Gemini 3.1 Pro Preview measured |
| SAGE (Vals AI) | 48.7% | 41.8% | Gemini 3.1 Pro Preview |
| MedScribe (Vals AI) | 76.1% | 76.7% | o3 |
| Vals Multimodal Index | 56.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| IFBench | 77.1% | 71.4% | Gemini 3.1 Pro Preview |
| Long context reasoning (AA-LCR) | 82.0% | 74.7% | Gemini 3.1 Pro Preview |
| DTBench | 97.1% | 84.8% | Gemini 3.1 Pro Preview |
| LMCA | 53.8% | 39.7% | Gemini 3.1 Pro Preview |
| Fiction.LiveBench | Not measured | 88.9% | Only o3 measured |
| Creative writing (Lech Mazur) | Not measured | 83.9% | Only o3 measured |
| CL-bench | 20.8% | 17.8% | Gemini 3.1 Pro Preview |
| Furniture assembly | 26.7% | Not measured | Only Gemini 3.1 Pro Preview measured |
| ExploitBench | 26.1% | Not measured | Only Gemini 3.1 Pro Preview measured |
| CL-bench Life | 16.9% | Not measured | Only Gemini 3.1 Pro Preview measured |
| LMArena Text | 1480 | 1410 | Gemini 3.1 Pro Preview |
| LMArena Text: instruction following | 1466 | 1368 | Gemini 3.1 Pro Preview |
| LMArena Text: creative writing | 1482 | 1359 | Gemini 3.1 Pro Preview |
| LMArena Vision | 1296 | 1214 | Gemini 3.1 Pro Preview |
| LMArena Text: English | 1478 | 1417 | Gemini 3.1 Pro Preview |
| LMArena Text: non-English | 1476 | 1401 | Gemini 3.1 Pro Preview |
| LMArena Text: Chinese | 1527 | 1437 | Gemini 3.1 Pro Preview |
| LMArena Text: German | 1490 | 1420 | Gemini 3.1 Pro Preview |
| LMArena Text: Japanese | 1491 | 1403 | Gemini 3.1 Pro Preview |
| LMArena Text: Korean | 1455 | 1370 | Gemini 3.1 Pro Preview |
| LMArena Text: French | 1487 | 1430 | Gemini 3.1 Pro Preview |
| LMArena Text: Spanish | 1481 | 1395 | Gemini 3.1 Pro Preview |
| LMArena Text: Russian | 1497 | 1406 | Gemini 3.1 Pro Preview |
| LMArena Text: Polish | 1498 | 1438 | Gemini 3.1 Pro Preview |
| LMArena Text: multi-turn | 1487 | 1405 | Gemini 3.1 Pro Preview |
| LMArena Text: longer queries | 1482 | 1372 | Gemini 3.1 Pro Preview |
| LMArena Text: writing and language | 1481 | 1372 | Gemini 3.1 Pro Preview |
| LMArena Text: entertainment and media | 1465 | 1373 | Gemini 3.1 Pro Preview |
| LMArena Vision: English | 1287 | 1221 | Gemini 3.1 Pro Preview |
| LMArena Vision: Chinese | 1364 | 1237 | Gemini 3.1 Pro Preview |
| LMArena Vision: reading text | 1304 | 1218 | Gemini 3.1 Pro Preview |
| LMArena Vision: humor | 1322 | 1222 | Gemini 3.1 Pro Preview |
| LMArena Vision: captioning | 1345 | 1210 | Gemini 3.1 Pro Preview |
| LMArena Vision: recognizing things | 1330 | 1234 | Gemini 3.1 Pro Preview |
| LMArena Vision: creative writing | 1324 | 1201 | Gemini 3.1 Pro Preview |
| LMArena Document | 1444 | Not measured | Only Gemini 3.1 Pro Preview measured |
| Neither model has a result on the other 6 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Pro Preview | o3 | 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
o3 costs less
Repository review
50K input + 3K output tokens
o3 costs less
Agent loop
200K input + 10K output tokens
o3 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 | Google Gemini 3.1 Pro Preview | OpenAI o3 |
|---|---|---|
| Maker | OpenAI | |
| Weights | No public weights listed | No public weights listed |
| Released | February 19, 2026 | April 16, 2025 |
| Context window | 1.05M | 200K |
| Input $/Mtok | $2.00 | $2.00 |
| Output $/Mtok | $12.00 | $8.00 |
| Coding index | 35.3 | 70.7 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | $0.99 | $0.571 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview better than o3 for coding?
Pick o3 for coding: it scores 70.7 on the Vibe Coding Index against 35.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview when the context window is larger, 1.05M against 200K tokens, or when what matters is LiveCodeBench (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
Which is cheaper, Gemini 3.1 Pro Preview or o3?
Gemini 3.1 Pro Preview costs $2.00 per million input tokens and $12.00 per million output tokens; o3 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Gemini 3.1 Pro Preview costs $0.99 and o3 $0.571.
Which has the bigger context window, Gemini 3.1 Pro Preview or o3?
Gemini 3.1 Pro Preview, with 1.05M tokens against 200K.
How many benchmarks is the Gemini 3.1 Pro Preview vs o3 comparison based on?
80 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Pro Preview's coding index rests on 1 independent benchmark and o3's on 2. Where only one model has a result, the page says so instead of naming a winner.