Across 16 comparable benchmarks, Gemini 3.1 Pro Preview has better reported results on 16 and worse on 0.
Moderate evidence16 of 16 shared results countedHow we compare
Price basis: Listed rates vs standard rates. The price section below shows the applicable periods.
| Fact | Gemini 3.1 Pro Preview | GPT-4.1 |
|---|---|---|
| Context window | 1M tokens | 1M tokens |
| Input / 1M | $2.00 | $2.00 |
| Output / 1M | $12.00 | $8.00 |
| Blended (4:1) | $2.70 | $2.12 |
| Status | Preview | Deprecated |
| Released | February 20, 2026 | April 14, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates β set your own mix.
Mean of 11 shared benchmarks grouped by capability on a 0β100 scale. How averages are built
Gemini 3.1 Pro Preview ahead on 4 of 4 counted
Gemini 3.1 Pro Preview ahead on 1 of 1 counted
No fixed-scale average β see the rows in Benchmark results
Gemini 3.1 Pro Preview ahead on 3 of 3 counted
Gemini 3.1 Pro Preview ahead on 1 of 1 counted
Gemini 3.1 Pro Preview ahead on 2 of 2 counted
Gemini 3.1 Pro Preview ahead on 3 of 3 counted
No shared comparable results for Computer & tool use, Research & search, Long context, Cybersecurity.
Published scores, with matching modes where available. Gaps show Gemini 3.1 Pro Preview relative to GPT-4.1. Reading the results
| Benchmark | Gemini 3.1 Pro Preview | GPT-4.1 | Gap |
|---|---|---|---|
| LiveCodeBenchAlgorithmic Coding Β· Pass @K | 91.7Thinking High Β· tools | 40.5β Normal Β· no tools | 2.26Γ#4 vs #93 of 113 |
| SWE-bench VerifiedRepository Engineering Β· Accuracy | 80.6Thinking High Β· tools | 54.6β Normal Β· no tools | +26.0 pts#12 vs #85 of 108 |
| Terminal Bench HardAgentic Development Β· Accuracy | 53.8Thinking Β· tools | 13.6β Normal Β· tools | +40.2 pts#8 vs #110 of 157 |
| WeirdML v2ML Engineering Β· Average accuracy across 17 tasks (%) | 72.1Normal Β· tools | 39.0Normal Β· tools | +33.1 pts#12 vs #35 of 39 |
| SimpleBenchCommonsense Β· Score (AVG@5) | 79.6Normal Β· no tools | 27.0Normal Β· no tools | 2.95Γ#15 vs #91 of 106 |
| FrontierMathMathematics Β· Accuracy | 36.9Thinking High Β· no tools | 5.5β Normal Β· no tools | +31.4 pts#10 vs #28 of 48 |
| FrontierMath - Tier 4Mathematics Β· Accuracy | 16.7Normal Β· no tools | 0.0Normal Β· no tools | +16.7 pts#10 vs #44 of 50 |
| FrontierMath v2Mathematics Β· Accuracy (verification_code) | 59.6Reported best | 6.0Reported best | +53.7 pts#48 vs #90 of 90 |
| GPQA DiamondScientific Reasoning Β· Accuracy | 94.4Reported best | 66.3β Normal Β· no tools | +28.1 pts#15 vs #153 of 201 |
| GeoBench ACWVisual Understanding Β· ACW country accuracy (%) | 84.0Normal Β· no tools | 72.0Normal Β· no tools | +12.0 pts#7 vs #20 of 32 |
| MMMU-ProVisual Understanding Β· Accuracy | 82.4Thinking Β· no tools | 61.2β Normal Β· no tools | +21.2 pts#21 vs #105 of 137 |
| Creative WritingWriting | 1491Normal Β· no tools | 1420Normal Β· no tools | 1.05Γ#61 vs #71 of 121 |
| ΟΒ²-BenchService Workflows Β· Accuracy | 90.8Thinking High Β· tools | 54.7β Normal Β· tools | +36.1 pts#2 vs #30 of 40 |
| ΟΒ²-Bench - TelecomService Workflows Β· Accuracy | 99.3Thinking High Β· tools | 34.0β Thinking Β· tools | +65.3 pts#1 vs #34 of 34 |
| HLEKnowledge Exams Β· Accuracy | 51.4Thinking High Β· tools | 5.4β Reported best | +46.0 pts#44 vs #141 of 151 |
| ECICapability Indices Β· ECI score (capability index, higher is better) | 155Reported best | 137Reported best | 1.13Γ#37 vs #114 of 174 |
Algorithmic Coding Β· Pass @K
Repository Engineering Β· Accuracy
Agentic Development Β· Accuracy
ML Engineering Β· Average accuracy across 17 tasks (%)
Commonsense Β· Score (AVG@5)
Mathematics Β· Accuracy
Mathematics Β· Accuracy
Mathematics Β· Accuracy (verification_code)
Scientific Reasoning Β· Accuracy
Visual Understanding Β· ACW country accuracy (%)
Visual Understanding Β· Accuracy
Writing
Service Workflows Β· Accuracy
Service Workflows Β· Accuracy
A dash means no result is available.
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix Β· 5% steps
Blended price = effective input rate at 90% cache hits Γ 80% + output rate Γ 20%
Gemini 3.1 Pro Preview costs28%morethan GPT-4.1 per million tokens.Using listed rates vs standard rates at this token mix.
Gemini 3.1 Pro Preview: Standard pricing. context_length <= 200K Google Gemini API official pricing (ai.google.dev/gemini-api/docs/pricing) verified 2026-10-21; paid tier; standard tier; prompts <= 200k tokens context_length > 200K Google Gemini API official pricing (ai.google.dev/gemini-api/docs/pricing) verified 2026-10-21; paid tier; standard tier; prompts > 200k tokens
| Price / 1M tokens | Gemini 3.1 Pro Preview | GPT-4.1 | Ratio |
|---|---|---|---|
| Input | $2.00 | $2.00 | 1.00Γ |
| Output | $12.00 | $8.00 | 1.50Γ |
| Cached input | $0.20 | $0.50 | 0.40Γ |
| Cache write | β | β | β |
| Blended | $2.70 | $2.12 | 1.28Γ |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Benchmark | Gemini 3.1 Pro Preview | GPT-4.1 |
|---|---|---|
| Agents' Last Exam v1.0 | $14.2116 / task Average Β· Pass rate: 16.4 Unspecified Reasoning (With Tools) Β· pass-rate | Not reported |
| AIME 2026 | Not reported | |
| AutomationBench | $0.30 / task Average Β· Pass Rate: 8.7 Thinking High (With Tools) Β· zapier-private-heldout $0.28 / task Average Β· Pass Rate: 4.6 Thinking Low (With Tools) Β· zapier-private-heldout $0.25 / task Average Β· Pass Rate: 7.0 Thinking Medium (With Tools) Β· zapier-private-heldout | Not reported |
| DeepSWE | Not reported | |
| IOI (Vals v2) | Not reported | |
| LiveBench 2.0 | $0.6982 / task Average Β· Overall score (equal-weight mean of 7 suite scores, 0-100): 54.9 Thinking High (With Tools) | Not reported |
| MysteryMechanism | Not reported | |
| Tax Agent Bench | $0.3016 / task Average Β· Accuracy (%, rubric Γ citation quality): 9.3 Thinking High (With Tools) | Not reported |
| Vals Index v2.1 | Not reported | |
| Vibe Code Bench 1-100 | Not reported |
| Attribute | Gemini 3.1 Pro Preview | GPT-4.1 |
|---|---|---|
| Availability | Preview | Deprecated |
| Provider | Google Deep Mind | OpenAI |
| Model type | Multimodal model | Chat model |
| First release | February 20, 2026 | April 14, 2025 |
| Context window | 1M tokens | 1M tokens |
| Max output | 64K tokens | 32K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Multilingual | Multilingual |
| Knowledge cutoff | 2025-01 | β |
| Input modalities | Text, Image, Audio, Video | Text, Image |
| Output modalities | Text | Text |
| Weights | Closed / API only | Closed / API only |
| Commercial use | Proprietary | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Gemini 3.1 Pro Preview vs GPT-4.1.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.