Gemini 3.1 Pro Preview vs Claude Sonnet 4.6 vs GPT-5.4
Gemini 3.1 Pro Preview comes out ahead, 68 to 65 and 62 on our weighted score, and it is the cheaper option too.Too close to call on our weighted score (Gemini 3.1 Pro Preview 84, GPT-5.4 82, Claude Sonnet 4.6 78). The right pick depends on what you value most.
- Our pick
Google
Gemini 3.1 Pro Preview
68/100- ECI156.3
- Price$2.00 / $12.00
- Context1.05M
Anthropic
Claude Sonnet 4.6
62/100- ECI152.9
- Price$3.00 / $15.00
- Context1M
OpenAI
GPT-5.4
65/100- ECI157.9
- Price$2.50 / $15.00
- Context1.05M
Google
Gemini 3.1 Pro Preview
84/100- ECI156.3
- Price$2.00 / $12.00
- Context1.05M
Anthropic
Claude Sonnet 4.6
78/100- ECI152.9
- Price$3.00 / $15.00
- Context1M
OpenAI
GPT-5.4
82/100- ECI157.9
- Price$2.50 / $15.00
- Context1.05M
Gemini 3.1 Pro Preview is our pickToo close to call
Gemini 3.1 Pro Preview is the better all-round choice, scoring 68/100 against GPT-5.4 (65) and Claude Sonnet 4.6 (62). It leads on price and inputs & features. GPT-5.4 wins on capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.It is close. Our weighted score puts them within 3 points (Gemini 3.1 Pro Preview 84/100, GPT-5.4 82/100, Claude Sonnet 4.6 78/100), so choose by what matters most for your work: GPT-5.4 for raw capability and Gemini 3.1 Pro Preview on price. The score weighs capability 67%, inputs & features 20%, context window 13%.
- CapabilityGPT-5.4Capabilities Index (ECI): GPT-5.4 157.9 · Gemini 3.1 Pro Preview 156.3 · Claude Sonnet 4.6 152.9
- Lowest priceGemini 3.1 Pro PreviewGemini 3.1 Pro Preview $4.50 · GPT-5.4 $5.63 · Claude Sonnet 4.6 $6.00 per 1M tokens (3:1 blend)
- Longest contextGPT-5.4 and Gemini 3.1 Pro PreviewGPT-5.4 1,050,000 · Gemini 3.1 Pro Preview 1,048,576 · Claude Sonnet 4.6 1,000,000 tokens
- Widest inputsGemini 3.1 Pro PreviewGemini 3.1 Pro Preview: Text, Images, PDFs, Audio, Video · Claude Sonnet 4.6: Text, Images, PDFs · GPT-5.4: Text, Images, PDFs
- Self-hostingNo confirmed open weightsAll three are available only through APIs
| Measure | Weight | Gemini 3.1 Pro Preview | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 84 | 81 | 85 |
| Price | 25% | 18 | 12 | 14 |
| Inputs & features | 15% | 100 | 80 | 80 |
| Context window | 10% | 65 | 64 | 65 |
| Overall | 100% | 68/100 | 62/100 | 65/100 |
| Measure | Weight | Gemini 3.1 Pro Preview | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 67% | 84 | 81 | 85 |
| Inputs & features | 20% | 100 | 80 | 80 |
| Context window | 13% | 65 | 64 | 65 |
| Overall | 100% | 84/100 | 78/100 | 82/100 |
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 156.3 | 152.9 | 157.9 (best) |
| ECI rank | #41 of 158 | #57 of 158 | #29 of 158 (best) |
| ECI confidence interval | 154.5–158.2 | 151.2–154.5 | 156.0–160.0 |
| ECI evaluation date | Feb 19, 2026 | Feb 17, 2026 | Mar 5, 2026 |
| Documented capabilities | Reasoning-first Gemini preview for agentic coding and complex problem solving | Claude workhorse for coding agents, careful analysis, and production cost control | Agent-ready GPT for coding and computer-use workflows at a lower cost |
| Model parameters | Not published | Not published | Not published |
| Output modalities | Text | Text | Text |
| GPQA DiamondGraduate-level science questions | 94.4%high (best) | 87.4%32K | 93.3%xhigh |
| FrontierMath Tiers 1–3Research-level mathematics | 59.7% | Not published | 78.6%xhigh (best) |
| OTIS Mock AIME 2024–2025Competition mathematics | 95.6% | 85.8%32K | 97.8%high (best) |
| SWE-bench VerifiedFixing real GitHub issues | 75.6% | 75.2% | 76.9%high (best) |
| SimpleQA VerifiedShort factual questions | 73.5%high (best) | 35.5%high | 45.1%xhigh |
| Publisher-reported benchmarks | |||
| SWE-Bench ProPublisher-reported result | 54.2resolve rateReported resultMay 28, 2026 | Not published | Not published |
| Terminal-Bench 2.1Publisher-reported result | 70.3success rateReported resultMay 28, 2026 | 67success rateReported resultJun 30, 2026 | Not published |
| SWE-Bench Pro · publicPublisher-reported result | 46.1resolve rateReported result | Not published | 59.1resolve rateReported result |
| SWE-Atlas Codebase QnAPublisher-reported result | 13.5scoreReported result | 31.2scoreReported result | 40.8scoreReported result |
| SWE-Atlas RefactoringPublisher-reported result | 33.81scoreReported result | 32.21scoreReported result | 44.29scoreReported result |
| SWE-Atlas Test WritingPublisher-reported result | 29.84scoreReported result | 31.76scoreReported result | 44.36scoreReported result |
| Artificial Analysis Coding Agent Indexhigh | 43average pass@1Reported result | Not published | Not published |
| SWE-Atlas Codebase QnAhigh | 45.6pass@1Reported result | Not published | Not published |
| SWE-Bench Pro · hard-aahigh | 15.1pass@1Reported result | Not published | Not published |
| Terminal-Bench 2.1high | 68.3pass@1Reported result | Not published | Not published |
| GPQA DiamondPublisher-reported result | 94.3accuracyReported resultApr 23, 2026 | Not published | 92.8accuracyReported resultApr 23, 2026 |
| Humanity's Last Exam · full set, text + MMPublisher-reported result | 44.4accuracyReported resultMay 19, 2026 | Not published | Not published |
| ARC-AGI-2Publisher-reported result | 77.1accuracyReported resultMay 19, 2026 | Not published | Not published |
| MMMU Prono tools | 80.5accuracyReported resultMay 19, 2026 | Not published | 81.2accuracyReported resultApr 23, 2026 |
| MCP AtlasPublisher-reported result | 78.2success rateReported resultMay 19, 2026 | Not published | Not published |
| OSWorld-VerifiedPublisher-reported result | 76.2success rateReported resultMay 19, 2026 | 78.5success rateReported resultJun 30, 2026 | 75success rateReported resultApr 23, 2026 |
| CharXiv Reasoningno tools | 83.3accuracyReported resultMay 19, 2026 | Not published | Not published |
| GDPval-AAPublisher-reported result | 1314EloReported resultMay 19, 2026 | Not published | Not published |
| Artificial Analysis Coding Agent Indexmedium | Not published | 49.4average pass@1Reported result | 53.6average pass@1Reported result |
| SWE-Atlas Codebase QnAmedium | Not published | 70.3pass@1Reported result | 72.4pass@1Reported result |
| SWE-Bench Pro · hard-aamedium | Not published | 14.9pass@1Reported result | 18.4pass@1Reported result |
| Terminal-Bench 2.1medium | Not published | 63.1pass@1Reported result | 69.8pass@1Reported result |
| Humanity's Last Examno tools | Not published | 34.6accuracyReported resultJun 30, 2026 | 39.8accuracyReported resultApr 23, 2026 |
| Humanity's Last Examwith tools | Not published | 46.8accuracyReported resultJun 30, 2026 | 52.1accuracyReported resultApr 23, 2026 |
| Terminal-Bench 2.0Publisher-reported result | Not published | Not published | 75.1success rateReported resultApr 23, 2026 |
| BrowseCompPublisher-reported result | Not published | Not published | 82.7accuracyReported resultApr 23, 2026 |
| GDPvalPublisher-reported result | Not published | Not published | 83wins or tiesReported resultApr 23, 2026 |
| ARC-AGI-2Verified | Not published | Not published | 73.3accuracyReported resultApr 23, 2026 |
| FrontierMath · Tier 1-3Publisher-reported result | Not published | Not published | 47.6accuracyReported resultApr 23, 2026 |
| FrontierMath · Tier 4Publisher-reported result | Not published | Not published | 27.1accuracyReported resultApr 23, 2026 |
| Price per million tokens | |||
| Input | $2.00 (best) | $3.00 | $2.50 |
| Output | $12.00 (best) | $15.00 | $15.00 |
| Cached input | $0.20 (best) | $0.30 | $0.25 |
| Blended (3:1) | $4.50 (best) | $6.00 | $5.63 |
| Long-context rate | Over 200K: $4.00 / $18.00 | Same rate | Over 272K: $5.00 / $22.50 |
| Price source | Official Google API | Official Anthropic API | Official OpenAI API |
| Limits | |||
| Context window | 1,048,576 tokens | 1,000,000 tokens | 1,050,000 tokens (best) |
| Max input | Not published | Not published | 922,000 tokens |
| Max output | 65,536 tokens | 64,000 tokens | 128,000 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | Yes | Yes | Yes |
| Audio | Yes | No | No |
| Video | Yes | No | No |
| Reasoning | Yeslow · medium · high | Yeslow · medium · high · max | Yeslow · medium · high · xhigh |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | Yes | Yes |
| File attachments | Yes | Yes | Yes |
| Temperature control | Yes | Yes | Yes |
| Reasoning control | effort | effort | effort |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | gemini-3.1-pro-preview | claude-sonnet-4-6 | gpt-5.4 |
| API providers | 41 | 58 (best) | 51 |
| Released | Feb 19, 2026 | Feb 17, 2026 | Mar 5, 2026 |
| Knowledge cutoff | Jan 2025 | Aug 31, 2025 | Aug 31, 2025 |
| Publisher documentation | Publisher documentation | Publisher documentation | Publisher documentation |
| Source metadata updated | Feb 19, 2026 | Mar 13, 2026 | Mar 5, 2026 |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 24, 2026 | Nov 24, 2026 | Nov 24, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Gemini 3.1 Pro Preview$44.00
Claude Sonnet 4.6$60.00
GPT-5.4$55.00
Which should you choose?
Which is better: Gemini 3.1 Pro Preview, Claude Sonnet 4.6 or GPT-5.4?
Gemini 3.1 Pro Preview is the better all-round choice, scoring 68/100 against GPT-5.4 (65) and Claude Sonnet 4.6 (62). It leads on price and inputs & features. GPT-5.4 wins on capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.It is close. Our weighted score puts them within 3 points (Gemini 3.1 Pro Preview 84/100, GPT-5.4 82/100, Claude Sonnet 4.6 78/100), so choose by what matters most for your work: GPT-5.4 for raw capability and Gemini 3.1 Pro Preview on price. The score weighs capability 67%, inputs & features 20%, context window 13%.
Which is cheaper, Gemini 3.1 Pro Preview, Claude Sonnet 4.6 or GPT-5.4?
Gemini 3.1 Pro Preview is cheaper at $2.00 input / $12.00 output per million tokens (official Google API price). GPT-5.4 costs $2.50 input / $15.00 output per million tokens (official OpenAI API price); Claude Sonnet 4.6 costs $3.00 input / $15.00 output per million tokens (official Anthropic API price). At a typical mix of three input tokens to one output token, that is $4.50 per million tokens for Gemini 3.1 Pro Preview versus $5.63 for GPT-5.4 (1.3× as much) and $6.00 for Claude Sonnet 4.6 (1.3× as much).
Which scores higher on benchmarks?
GPT-5.4 scores higher on the Capabilities Index (ECI): GPT-5.4 157.9 (#29 of 158), Gemini 3.1 Pro Preview 156.3 (#41 of 158) and Claude Sonnet 4.6 152.9 (#57 of 158). The confidence ranges of the top two overlap (156.0–160.0 vs 154.5–158.2), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 3.1 Pro Preview 94.4%, GPT-5.4 93.3%, Claude Sonnet 4.6 87.4%; OTIS Mock AIME 2024–2025 — GPT-5.4 97.8%, Gemini 3.1 Pro Preview 95.6%, Claude Sonnet 4.6 85.8%; SWE-bench Verified — GPT-5.4 76.9%, Gemini 3.1 Pro Preview 75.6%, Claude Sonnet 4.6 75.2%; SimpleQA Verified — Gemini 3.1 Pro Preview 73.5%, GPT-5.4 45.1%, Claude Sonnet 4.6 35.5%.
Which is better for coding?
GPT-5.4 resolves more real GitHub issues on SWE-bench Verified: GPT-5.4 76.9%, Gemini 3.1 Pro Preview 75.6% and Claude Sonnet 4.6 75.2%. All three support tool calling for agent workflows.
Which has the bigger context window?
GPT-5.4 and Gemini 3.1 Pro Preview have the largest context windows (1,050,000 and 1,048,576 tokens), against 1,000,000 for Claude Sonnet 4.6. Maximum output per response: Gemini 3.1 Pro Preview up to 65,536, Claude Sonnet 4.6 up to 64,000, GPT-5.4 up to 128,000 tokens.
Which can read images, PDFs, audio or video?
Gemini 3.1 Pro Preview accepts text, images, PDFs, audio and video; Claude Sonnet 4.6 accepts text, images and PDFs; GPT-5.4 accepts text, images and PDFs. Gemini 3.1 Pro Preview handles the widest range of inputs.
Are any of these open source?
No. Gemini 3.1 Pro Preview, Claude Sonnet 4.6 and GPT-5.4 are proprietary and only available through APIs and apps.
Which is newer?
GPT-5.4 is the newest, released Mar 5, 2026. Gemini 3.1 Pro Preview came out Feb 19, 2026; Claude Sonnet 4.6 came out Feb 17, 2026. Knowledge cutoff: Gemini 3.1 Pro Preview Jan 2025, Claude Sonnet 4.6 Aug 31, 2025, GPT-5.4 Aug 31, 2025.
How do you decide the winner?
This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 24, 2026.