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: Standard rates vs listed rates. The price section below shows the applicable periods.
| Fact | GPT-4.1 | Gemini 3.1 Pro Preview |
|---|---|---|
| Context window | 1M tokens | 1M tokens |
| Input / 1M | $2.00 | $2.00 |
| Output / 1M | $8.00 | $12.00 |
| Blended (4:1) | $2.12 | $2.70 |
| Status | Deprecated | Preview |
| Released | April 14, 2025 | February 20, 2026 |
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 GPT-4.1 relative to Gemini 3.1 Pro Preview. Reading the results
| Benchmark | GPT-4.1 | Gemini 3.1 Pro Preview | Gap |
|---|---|---|---|
| LiveCodeBenchAlgorithmic Coding Β· Pass @K | 40.5Normal Β· no tools | 91.7β Thinking High Β· tools | 0.44Γ#93 vs #4 of 113 |
| SWE-bench VerifiedRepository Engineering Β· Accuracy | 54.6Normal Β· no tools | 80.6β Thinking High Β· tools | β26.0 pts#85 vs #12 of 108 |
| Terminal Bench HardAgentic Development Β· Accuracy | 13.6Normal Β· tools | 53.8β Thinking Β· tools | β40.2 pts#110 vs #8 of 157 |
| WeirdML v2ML Engineering Β· Average accuracy across 17 tasks (%) | 39.0Normal Β· tools | 72.1Normal Β· tools | β33.1 pts#35 vs #12 of 39 |
| SimpleBenchCommonsense Β· Score (AVG@5) | 27.0Normal Β· no tools | 79.6Normal Β· no tools | 0.34Γ#91 vs #15 of 106 |
| FrontierMathMathematics Β· Accuracy | 5.5Normal Β· no tools | 36.9β Thinking High Β· no tools | β31.4 pts#28 vs #10 of 48 |
| FrontierMath - Tier 4Mathematics Β· Accuracy | 0.0Normal Β· no tools | 16.7Normal Β· no tools | β16.7 pts#44 vs #10 of 50 |
| FrontierMath v2Mathematics Β· Accuracy (verification_code) | 6.0Reported best | 59.6Reported best | β53.7 pts#90 vs #48 of 90 |
| GPQA DiamondScientific Reasoning Β· Accuracy | 66.3Normal Β· no tools | 94.4β Reported best | β28.1 pts#153 vs #15 of 201 |
| GeoBench ACWVisual Understanding Β· ACW country accuracy (%) | 72.0Normal Β· no tools | 84.0Normal Β· no tools | β12.0 pts#20 vs #7 of 32 |
| MMMU-ProVisual Understanding Β· Accuracy | 61.2Normal Β· no tools | 82.4β Thinking Β· no tools | β21.2 pts#105 vs #21 of 137 |
| Creative WritingWriting | 1420Normal Β· no tools | 1491Normal Β· no tools | 0.95Γ#71 vs #61 of 121 |
| ΟΒ²-BenchService Workflows Β· Accuracy | 54.7Normal Β· tools | 90.8β Thinking High Β· tools | β36.1 pts#30 vs #2 of 40 |
| ΟΒ²-Bench - TelecomService Workflows Β· Accuracy | 34.0Thinking Β· tools | 99.3β Thinking High Β· tools | β65.3 pts#34 vs #1 of 34 |
| HLEKnowledge Exams Β· Accuracy | 5.4Reported best | 51.4β Thinking High Β· tools | β46.0 pts#141 vs #44 of 151 |
| ECICapability Indices Β· ECI score (capability index, higher is better) | 137Reported best | 155Reported best | 0.88Γ#114 vs #37 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%
GPT-4.1 costs22%lessthan Gemini 3.1 Pro Preview per million tokens.Using standard rates vs listed 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 | GPT-4.1 | Gemini 3.1 Pro Preview | Ratio |
|---|---|---|---|
| Input | $2.00 | $2.00 | 1.00Γ |
| Output | $8.00 | $12.00 | 0.67Γ |
| Cached input | $0.50 | $0.20 | 2.50Γ |
| Cache write | β | β | β |
| Blended | $2.12 | $2.70 | 0.78Γ |
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 | GPT-4.1 | Gemini 3.1 Pro Preview |
|---|---|---|
| Agents' Last Exam v1.0 | Not reported | $14.2116 / task Average Β· Pass rate: 16.4 Unspecified Reasoning (With Tools) Β· pass-rate |
| AIME 2026 | Not reported | |
| AutomationBench | Not reported | $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 |
| DeepSWE | Not reported | |
| IOI (Vals v2) | Not reported | |
| LiveBench 2.0 | Not reported | $0.6982 / task Average Β· Overall score (equal-weight mean of 7 suite scores, 0-100): 54.9 Thinking High (With Tools) |
| MysteryMechanism | Not reported | |
| Tax Agent Bench | Not reported | $0.3016 / task Average Β· Accuracy (%, rubric Γ citation quality): 9.3 Thinking High (With Tools) |
| Vals Index v2.1 | Not reported | |
| Vibe Code Bench 1-100 | Not reported |
| Attribute | GPT-4.1 | Gemini 3.1 Pro Preview |
|---|---|---|
| Availability | Deprecated | Preview |
| Provider | OpenAI | Google Deep Mind |
| Model type | Chat model | Multimodal model |
| First release | April 14, 2025 | February 20, 2026 |
| Context window | 1M tokens | 1M tokens |
| Max output | 32K tokens | 64K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Multilingual | Reasoning, Multilingual |
| Knowledge cutoff | β | 2025-01 |
| Input modalities | Text, Image | Text, Image, Audio, Video |
| 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 GPT-4.1 vs Gemini 3.1 Pro Preview.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.