ZMIME
Comparison · 2 models · Updated Nov 24, 2026

Gemini 3.1 Pro Preview vs Claude Sonnet 4.6

Gemini 3.1 Pro Preview comes out ahead, 68 to 62 on our weighted score, and it is the cheaper option too.Gemini 3.1 Pro Preview comes out ahead, 84 to 78 on our weighted score, and it is the cheaper option too.

  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. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    62/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  3. Our pick

    Google

    Gemini 3.1 Pro Preview

    Released Feb 19, 2026Latest

    84/100
    • ECI156.3
    • Price$2.00 / $12.00
    • Context1.05M
  4. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    78/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  5. Add a model

    Make it a three-way comparison.

01 — Verdict

Gemini 3.1 Pro Preview is our pick

Gemini 3.1 Pro Preview is the better all-round choice, scoring 68/100 against Claude Sonnet 4.6 (62). It leads on capability, price and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.Gemini 3.1 Pro Preview is the better all-round choice, scoring 84/100 against Claude Sonnet 4.6 (78). It leads on capability and inputs & features. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGemini 3.1 Pro PreviewCapabilities Index (ECI): 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 · Claude Sonnet 4.6 $6.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 3.1 Pro PreviewGemini 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
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightGemini 3.1 Pro PreviewClaude Sonnet 4.6
CapabilityCapabilities Index (ECI)50%8481
Price25%1812
Inputs & features15%10080
Context window10%6564
Overall100%68/10062/100
How the score is built
MeasureWeightGemini 3.1 Pro PreviewClaude Sonnet 4.6
CapabilityCapabilities Index (ECI)67%8481
Inputs & features20%10080
Context window13%6564
Overall100%84/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 Claude Sonnet 4.6 specifications side by side
SpecificationGemini 3.1 Pro PreviewGoogleClaude Sonnet 4.6Anthropic
Capability
Capabilities Index (ECI)156.3 (best)152.9
ECI rank#41 of 158 (best)#57 of 158
ECI confidence interval154.5–158.2151.2–154.5
ECI evaluation dateFeb 19, 2026Feb 17, 2026
Documented capabilitiesReasoning-first Gemini preview for agentic coding and complex problem solvingClaude workhorse for coding agents, careful analysis, and production cost control
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questions94.4%high (best)87.4%32K
FrontierMath Tiers 1–3Research-level mathematics59.7%Not published
OTIS Mock AIME 2024–2025Competition mathematics95.6% (best)85.8%32K
SWE-bench VerifiedFixing real GitHub issues75.6% (best)75.2%
SimpleQA VerifiedShort factual questions73.5%high (best)35.5%high
Publisher-reported benchmarks
SWE-Bench ProPublisher-reported result54.2resolve rateReported resultMay 28, 2026Not published
Terminal-Bench 2.1Publisher-reported result70.3success rateReported resultMay 28, 202667success rateReported resultJun 30, 2026
SWE-Bench Pro · publicPublisher-reported result46.1resolve rateReported resultNot published
SWE-Atlas Codebase QnAPublisher-reported result13.5scoreReported result31.2scoreReported result
SWE-Atlas RefactoringPublisher-reported result33.81scoreReported result32.21scoreReported result
SWE-Atlas Test WritingPublisher-reported result29.84scoreReported result31.76scoreReported result
Artificial Analysis Coding Agent Indexhigh43average pass@1Reported resultNot published
SWE-Atlas Codebase QnAhigh45.6pass@1Reported resultNot published
SWE-Bench Pro · hard-aahigh15.1pass@1Reported resultNot published
Terminal-Bench 2.1high68.3pass@1Reported resultNot published
GPQA DiamondPublisher-reported result94.3accuracyReported resultApr 23, 2026Not published
Humanity's Last Exam · full set, text + MMPublisher-reported result44.4accuracyReported resultMay 19, 2026Not published
ARC-AGI-2Publisher-reported result77.1accuracyReported resultMay 19, 2026Not published
MMMU Prono tools80.5accuracyReported resultMay 19, 2026Not published
MCP AtlasPublisher-reported result78.2success rateReported resultMay 19, 2026Not published
OSWorld-VerifiedPublisher-reported result76.2success rateReported resultMay 19, 202678.5success rateReported resultJun 30, 2026
CharXiv Reasoningno tools83.3accuracyReported resultMay 19, 2026Not published
GDPval-AAPublisher-reported result1314EloReported resultMay 19, 2026Not published
Artificial Analysis Coding Agent IndexmediumNot published49.4average pass@1Reported result
SWE-Atlas Codebase QnAmediumNot published70.3pass@1Reported result
SWE-Bench Pro · hard-aamediumNot published14.9pass@1Reported result
Terminal-Bench 2.1mediumNot published63.1pass@1Reported result
Humanity's Last Examno toolsNot published34.6accuracyReported resultJun 30, 2026
Humanity's Last Examwith toolsNot published46.8accuracyReported resultJun 30, 2026
Price per million tokens
Input$2.00 (best)$3.00
Output$12.00 (best)$15.00
Cached input$0.20 (best)$0.30
Blended (3:1)$4.50 (best)$6.00
Long-context rateOver 200K: $4.00 / $18.00Same rate
Price sourceOfficial Google APIOfficial Anthropic API
Limits
Context window1,048,576 tokens (best)1,000,000 tokens
Max inputNot publishedNot published
Max output65,536 tokens (best)64,000 tokens
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioYesNo
VideoYesNo
ReasoningYeslow · medium · highYeslow · medium · high · max
Tool callingYesYes
Structured outputYesYes
File attachmentsYesYes
Temperature controlYesYes
Reasoning controlefforteffort
Availability
WeightsProprietaryProprietary
API model IDgemini-3.1-pro-previewclaude-sonnet-4-6
API providers4158 (best)
ReleasedFeb 19, 2026Feb 17, 2026
Knowledge cutoffJan 2025Aug 31, 2025
Publisher documentationPublisher documentationPublisher documentation
Source metadata updatedFeb 19, 2026Mar 13, 2026
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 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
  • Claude Sonnet 4.6$60.00
04 — Questions

Which should you choose?

Which is better: Gemini 3.1 Pro Preview or Claude Sonnet 4.6?

Gemini 3.1 Pro Preview is the better all-round choice, scoring 68/100 against Claude Sonnet 4.6 (62). It leads on capability, price and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.Gemini 3.1 Pro Preview is the better all-round choice, scoring 84/100 against Claude Sonnet 4.6 (78). It leads on capability and inputs & features. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemini 3.1 Pro Preview 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). 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 $6.00 for Claude Sonnet 4.6 (1.3× as much).

Which scores higher on benchmarks?

Gemini 3.1 Pro Preview scores higher on the Capabilities Index (ECI): 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 (154.5–158.2 vs 151.2–154.5), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 3.1 Pro Preview 94.4%, Claude Sonnet 4.6 87.4%; OTIS Mock AIME 2024–2025 — Gemini 3.1 Pro Preview 95.6%, Claude Sonnet 4.6 85.8%; SWE-bench Verified — Gemini 3.1 Pro Preview 75.6%, Claude Sonnet 4.6 75.2%; SimpleQA Verified — Gemini 3.1 Pro Preview 73.5%, Claude Sonnet 4.6 35.5%.

Which is better for coding?

Gemini 3.1 Pro Preview resolves more real GitHub issues on SWE-bench Verified: Gemini 3.1 Pro Preview 75.6% and Claude Sonnet 4.6 75.2%. Both support tool calling for agent workflows.

Which has the bigger context window?

Gemini 3.1 Pro Preview has the largest context window at 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 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. Gemini 3.1 Pro Preview handles the widest range of inputs.

Are any of these open source?

No. Gemini 3.1 Pro Preview and Claude Sonnet 4.6 are proprietary and only available through APIs and apps.

Which is newer?

Gemini 3.1 Pro Preview is the newest, released 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.

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.