ZMIME
Comparison · 3 models · Updated Nov 24, 2026

Gemini 3.1 Pro Preview vs GPT-5.4 vs Claude Sonnet 4.6

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.

  1. Our pick

    Google

    Gemini 3.1 Pro Preview

    Released Feb 19, 2026Latest

    68/100
    • ECI156.3
    • Price$2.00 / $12.00
    • Context1.05M
  2. OpenAI

    GPT-5.4

    Released Mar 5, 2026

    65/100
    • ECI157.9
    • Price$2.50 / $15.00
    • Context1.05M
  3. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    62/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  4. Google

    Gemini 3.1 Pro Preview

    Released Feb 19, 2026Latest

    84/100
    • ECI156.3
    • Price$2.00 / $12.00
    • Context1.05M
  5. OpenAI

    GPT-5.4

    Released Mar 5, 2026

    82/100
    • ECI157.9
    • Price$2.50 / $15.00
    • Context1.05M
  6. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    78/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
01 — Verdict

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 · GPT-5.4: Text, Images, PDFs · Claude Sonnet 4.6: Text, Images, PDFs
  • Self-hostingNo confirmed open weightsAll three are available only through APIs
How the score is built
MeasureWeightGemini 3.1 Pro PreviewGPT-5.4Claude Sonnet 4.6
CapabilityCapabilities Index (ECI)50%848581
Price25%181412
Inputs & features15%1008080
Context window10%656564
Overall100%68/10065/10062/100
How the score is built
MeasureWeightGemini 3.1 Pro PreviewGPT-5.4Claude Sonnet 4.6
CapabilityCapabilities Index (ECI)67%848581
Inputs & features20%1008080
Context window13%656564
Overall100%84/10082/10078/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Gemini 3.1 Pro Preview vs GPT-5.4 vs Claude Sonnet 4.6 specifications side by side
SpecificationGemini 3.1 Pro PreviewGoogleGPT-5.4OpenAIClaude Sonnet 4.6Anthropic
Capability
Capabilities Index (ECI)156.3157.9 (best)152.9
ECI rank#41 of 158#29 of 158 (best)#57 of 158
ECI confidence interval154.5–158.2156.0–160.0151.2–154.5
ECI evaluation dateFeb 19, 2026Mar 5, 2026Feb 17, 2026
Documented capabilitiesReasoning-first Gemini preview for agentic coding and complex problem solvingAgent-ready GPT for coding and computer-use workflows at a lower costClaude workhorse for coding agents, careful analysis, and production cost control
Model parametersNot publishedNot publishedNot published
Output modalitiesTextTextText
GPQA DiamondGraduate-level science questions94.4%high (best)93.3%xhigh87.4%32K
FrontierMath Tiers 1–3Research-level mathematics59.7%78.6%xhigh (best)Not published
OTIS Mock AIME 2024–2025Competition mathematics95.6%97.8%high (best)85.8%32K
SWE-bench VerifiedFixing real GitHub issues75.6%76.9%high (best)75.2%
SimpleQA VerifiedShort factual questions73.5%high (best)45.1%xhigh35.5%high
Publisher-reported benchmarks
SWE-Bench ProPublisher-reported result54.2resolve rateReported resultMay 28, 2026Not publishedNot published
Terminal-Bench 2.1Publisher-reported result70.3success rateReported resultMay 28, 2026Not published67success rateReported resultJun 30, 2026
SWE-Bench Pro · publicPublisher-reported result46.1resolve rateReported result59.1resolve rateReported resultNot published
SWE-Atlas Codebase QnAPublisher-reported result13.5scoreReported result40.8scoreReported result31.2scoreReported result
SWE-Atlas RefactoringPublisher-reported result33.81scoreReported result44.29scoreReported result32.21scoreReported result
SWE-Atlas Test WritingPublisher-reported result29.84scoreReported result44.36scoreReported result31.76scoreReported result
Artificial Analysis Coding Agent Indexhigh43average pass@1Reported resultNot publishedNot published
SWE-Atlas Codebase QnAhigh45.6pass@1Reported resultNot publishedNot published
SWE-Bench Pro · hard-aahigh15.1pass@1Reported resultNot publishedNot published
Terminal-Bench 2.1high68.3pass@1Reported resultNot publishedNot published
GPQA DiamondPublisher-reported result94.3accuracyReported resultApr 23, 202692.8accuracyReported resultApr 23, 2026Not published
Humanity's Last Exam · full set, text + MMPublisher-reported result44.4accuracyReported resultMay 19, 2026Not publishedNot published
ARC-AGI-2Publisher-reported result77.1accuracyReported resultMay 19, 2026Not publishedNot published
MMMU Prono tools80.5accuracyReported resultMay 19, 202681.2accuracyReported resultApr 23, 2026Not published
MCP AtlasPublisher-reported result78.2success rateReported resultMay 19, 2026Not publishedNot published
OSWorld-VerifiedPublisher-reported result76.2success rateReported resultMay 19, 202675success rateReported resultApr 23, 202678.5success rateReported resultJun 30, 2026
CharXiv Reasoningno tools83.3accuracyReported resultMay 19, 2026Not publishedNot published
GDPval-AAPublisher-reported result1314EloReported resultMay 19, 2026Not publishedNot published
Artificial Analysis Coding Agent IndexmediumNot published53.6average pass@1Reported result49.4average pass@1Reported result
SWE-Atlas Codebase QnAmediumNot published72.4pass@1Reported result70.3pass@1Reported result
SWE-Bench Pro · hard-aamediumNot published18.4pass@1Reported result14.9pass@1Reported result
Terminal-Bench 2.1mediumNot published69.8pass@1Reported result63.1pass@1Reported result
Terminal-Bench 2.0Publisher-reported resultNot published75.1success rateReported resultApr 23, 2026Not published
Humanity's Last Examno toolsNot published39.8accuracyReported resultApr 23, 202634.6accuracyReported resultJun 30, 2026
Humanity's Last Examwith toolsNot published52.1accuracyReported resultApr 23, 202646.8accuracyReported resultJun 30, 2026
BrowseCompPublisher-reported resultNot published82.7accuracyReported resultApr 23, 2026Not published
GDPvalPublisher-reported resultNot published83wins or tiesReported resultApr 23, 2026Not published
ARC-AGI-2VerifiedNot published73.3accuracyReported resultApr 23, 2026Not published
FrontierMath · Tier 1-3Publisher-reported resultNot published47.6accuracyReported resultApr 23, 2026Not published
FrontierMath · Tier 4Publisher-reported resultNot published27.1accuracyReported resultApr 23, 2026Not published
Price per million tokens
Input$2.00 (best)$2.50$3.00
Output$12.00 (best)$15.00$15.00
Cached input$0.20 (best)$0.25$0.30
Blended (3:1)$4.50 (best)$5.63$6.00
Long-context rateOver 200K: $4.00 / $18.00Over 272K: $5.00 / $22.50Same rate
Price sourceOfficial Google APIOfficial OpenAI APIOfficial Anthropic API
Limits
Context window1,048,576 tokens1,050,000 tokens (best)1,000,000 tokens
Max inputNot published922,000 tokensNot published
Max output65,536 tokens128,000 tokens (best)64,000 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsYesYesYes
AudioYesNoNo
VideoYesNoNo
ReasoningYeslow · medium · highYeslow · medium · high · xhighYeslow · medium · high · max
Tool callingYesYesYes
Structured outputYesYesYes
File attachmentsYesYesYes
Temperature controlYesYesYes
Reasoning controleffortefforteffort
Availability
WeightsProprietaryProprietaryProprietary
API model IDgemini-3.1-pro-previewgpt-5.4claude-sonnet-4-6
API providers415158 (best)
ReleasedFeb 19, 2026Mar 5, 2026Feb 17, 2026
Knowledge cutoffJan 2025Aug 31, 2025Aug 31, 2025
Publisher documentationPublisher documentationPublisher documentationPublisher documentation
Source metadata updatedFeb 19, 2026Mar 5, 2026Mar 13, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 24, 2026Nov 24, 2026Nov 24, 2026
03 — Cost

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
  • GPT-5.4$55.00
  • Claude Sonnet 4.6$60.00
04 — Questions

Which should you choose?

Which is better: Gemini 3.1 Pro Preview, GPT-5.4 or Claude Sonnet 4.6?

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, GPT-5.4 or Claude Sonnet 4.6?

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, GPT-5.4 up to 128,000, Claude Sonnet 4.6 up to 64,000 tokens.

Which can read images, PDFs, audio or video?

Gemini 3.1 Pro Preview accepts text, images, PDFs, audio and video; GPT-5.4 accepts text, images and PDFs; Claude Sonnet 4.6 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, GPT-5.4 and Claude Sonnet 4.6 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, GPT-5.4 Aug 31, 2025, Claude Sonnet 4.6 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.