ZMIME
Comparison · 2 models · Updated Nov 24, 2026

Claude Sonnet 4.6 vs Gemini 3.1 Pro Preview

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

    Claude Sonnet 4.6

    Released Feb 17, 2026

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

    Google

    Gemini 3.1 Pro Preview

    Released Feb 19, 2026Latest

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

    Claude Sonnet 4.6

    Released Feb 17, 2026

    78/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  4. Our pick

    Google

    Gemini 3.1 Pro Preview

    Released Feb 19, 2026Latest

    84/100
    • ECI156.3
    • Price$2.00 / $12.00
    • Context1.05M
  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 PreviewClaude Sonnet 4.6: Text, Images, PDFs · Gemini 3.1 Pro Preview: Text, Images, PDFs, Audio, Video
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightClaude Sonnet 4.6Gemini 3.1 Pro Preview
CapabilityCapabilities Index (ECI)50%8184
Price25%1218
Inputs & features15%80100
Context window10%6465
Overall100%62/10068/100
How the score is built
MeasureWeightClaude Sonnet 4.6Gemini 3.1 Pro Preview
CapabilityCapabilities Index (ECI)67%8184
Inputs & features20%80100
Context window13%6465
Overall100%78/10084/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.

Claude Sonnet 4.6 vs Gemini 3.1 Pro Preview specifications side by side
SpecificationClaude Sonnet 4.6AnthropicGemini 3.1 Pro PreviewGoogle
Capability
Capabilities Index (ECI)152.9156.3 (best)
ECI rank#57 of 158#41 of 158 (best)
ECI confidence interval151.2–154.5154.5–158.2
ECI evaluation dateFeb 17, 2026Feb 19, 2026
Documented capabilitiesClaude workhorse for coding agents, careful analysis, and production cost controlReasoning-first Gemini preview for agentic coding and complex problem solving
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questions87.4%32K94.4%high (best)
FrontierMath Tiers 1–3Research-level mathematicsNot published59.7%
OTIS Mock AIME 2024–2025Competition mathematics85.8%32K95.6% (best)
SWE-bench VerifiedFixing real GitHub issues75.2%75.6% (best)
SimpleQA VerifiedShort factual questions35.5%high73.5%high (best)
Publisher-reported benchmarks
SWE-Atlas Codebase QnAPublisher-reported result31.2scoreReported result13.5scoreReported result
SWE-Atlas RefactoringPublisher-reported result32.21scoreReported result33.81scoreReported result
SWE-Atlas Test WritingPublisher-reported result31.76scoreReported result29.84scoreReported result
Artificial Analysis Coding Agent Indexmedium49.4average pass@1Reported resultNot published
SWE-Atlas Codebase QnAmedium70.3pass@1Reported resultNot published
SWE-Bench Pro · hard-aamedium14.9pass@1Reported resultNot published
Terminal-Bench 2.1medium63.1pass@1Reported resultNot published
Terminal-Bench 2.1Publisher-reported result67success rateReported resultJun 30, 202670.3success rateReported resultMay 28, 2026
Humanity's Last Examno tools34.6accuracyReported resultJun 30, 2026Not published
Humanity's Last Examwith tools46.8accuracyReported resultJun 30, 2026Not published
OSWorld-VerifiedPublisher-reported result78.5success rateReported resultJun 30, 202676.2success rateReported resultMay 19, 2026
SWE-Bench ProPublisher-reported resultNot published54.2resolve rateReported resultMay 28, 2026
SWE-Bench Pro · publicPublisher-reported resultNot published46.1resolve rateReported result
Artificial Analysis Coding Agent IndexhighNot published43average pass@1Reported result
SWE-Atlas Codebase QnAhighNot published45.6pass@1Reported result
SWE-Bench Pro · hard-aahighNot published15.1pass@1Reported result
Terminal-Bench 2.1highNot published68.3pass@1Reported result
GPQA DiamondPublisher-reported resultNot published94.3accuracyReported resultApr 23, 2026
Humanity's Last Exam · full set, text + MMPublisher-reported resultNot published44.4accuracyReported resultMay 19, 2026
ARC-AGI-2Publisher-reported resultNot published77.1accuracyReported resultMay 19, 2026
MMMU Prono toolsNot published80.5accuracyReported resultMay 19, 2026
MCP AtlasPublisher-reported resultNot published78.2success rateReported resultMay 19, 2026
CharXiv Reasoningno toolsNot published83.3accuracyReported resultMay 19, 2026
GDPval-AAPublisher-reported resultNot published1314EloReported resultMay 19, 2026
Price per million tokens
Input$3.00$2.00 (best)
Output$15.00$12.00 (best)
Cached input$0.30$0.20 (best)
Blended (3:1)$6.00$4.50 (best)
Long-context rateSame rateOver 200K: $4.00 / $18.00
Price sourceOfficial Anthropic APIOfficial Google API
Limits
Context window1,000,000 tokens1,048,576 tokens (best)
Max inputNot publishedNot published
Max output64,000 tokens65,536 tokens (best)
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioNoYes
VideoNoYes
ReasoningYeslow · medium · high · maxYeslow · medium · high
Tool callingYesYes
Structured outputYesYes
File attachmentsYesYes
Temperature controlYesYes
Reasoning controlefforteffort
Availability
WeightsProprietaryProprietary
API model IDclaude-sonnet-4-6gemini-3.1-pro-preview
API providers58 (best)41
ReleasedFeb 17, 2026Feb 19, 2026
Knowledge cutoffAug 31, 2025Jan 2025
Publisher documentationPublisher documentationPublisher documentation
Source metadata updatedMar 13, 2026Feb 19, 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.

  • Claude Sonnet 4.6$60.00
  • Gemini 3.1 Pro Preview$44.00
04 — Questions

Which should you choose?

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

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, Claude Sonnet 4.6 or Gemini 3.1 Pro Preview?

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: Claude Sonnet 4.6 up to 64,000, Gemini 3.1 Pro Preview up to 65,536 tokens.

Which can read images, PDFs, audio or video?

Claude Sonnet 4.6 accepts text, images and PDFs; Gemini 3.1 Pro Preview accepts text, images, PDFs, audio and video. Gemini 3.1 Pro Preview handles the widest range of inputs.

Are any of these open source?

No. Claude Sonnet 4.6 and Gemini 3.1 Pro Preview 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: Claude Sonnet 4.6 Aug 31, 2025, Gemini 3.1 Pro Preview Jan 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.