AI Models · Paid vs Paid

Gemini 3.1 Pro Preview Paid vs Claude Sonnet 5 Paid

Gemini 3.1 Pro Preview vs Claude Sonnet 5 compared — price per token, context window, multimodality, openness and which to choose. Full 2026 breakdown.

Prices & specs refreshed from live data · olud.ai

Open-model prices = cheapest provider via OpenRouter; official maker rates may be higher.

Gemini 3.1 Pro PreviewPaidGoogle
$2 /M input
$12 /M outputManaged API (no infra to run)
TypeProprietary
Context window1M tokens
MultimodalYes
Self-hostNo
Claude Sonnet 5PaidAnthropic
$2 /M input
$10 /M outputManaged API (no infra to run)
TypeProprietary
Context window1M tokens
MultimodalYes
Self-hostNo
Choose Claude Sonnet 5 for the lower output price ($10/M vs $12/M). Choose Gemini 3.1 Pro Preview if you need the larger 1M context window.

Gemini 3.1 Pro Preview vs Claude Sonnet 5 specs

SpecGemini 3.1 Pro PreviewClaude Sonnet 5Winner
MakerGoogleAnthropic
TypeProprietaryProprietary
Context window1M tokens1M tokensGemini 3.1 Pro Preview
Input price$2/M$2/M= Tie
Output price$12/M$10/MClaude Sonnet 5
Vision / multimodalYesYes= Tie
Tool / function callingYesYes= Tie
Self-hostableNo (API only)No (API only)
LicenseProprietaryProprietary

Price gap & when to choose each

Choose Gemini 3.1 Pro Preview if…
  • You want frontier performance through a managed API
  • You need the longer 1M context window
  • You value reliability & ecosystem
  • You don't want to manage infrastructure
Choose Claude Sonnet 5 if…
  • You want frontier performance through a managed API
  • You want the lower output price
  • You value reliability & ecosystem
  • You don't want to manage infrastructure

Feature comparison

CapabilityGemini 3.1 Pro PreviewClaude Sonnet 5
Open weights (downloadable)
Self-hostable
Runs fully offline
Vision / multimodal
Tool / function calling
1M+ context window

Benchmarks: Gemini 3.1 Pro Preview vs Claude Sonnet 5

Independent benchmark scores measured by Artificial Analysis. Higher is better (except latency).

Gemini 3.1 Pro Preview
Claude Sonnet 5
Intelligence index
30.4
38.4
Coding index
68.8
71.5
GPQA
94.1%
91.1%
Humanity's Last Exam
47%
41.3%
Long Context Reasoning
82%
82%
SciCode
58.7%
54.3%
IFBench
77.1%
τ²-Bench
95.6%
τ-Bench Banking
21.4%
37.3%
Terminal-Bench
73.8%
80.5%
Terminal-Bench Hard
53.8%
Speed
125.2 tok/s
83.2 tok/s
Latency
24.48s
114.22s
Intelligence per $
6.8
9.6

Benchmark data by Artificial Analysis.

How Gemini 3.1 Pro Preview and Claude Sonnet 5 score

🤝 Neck and neck on these criteria (3.2 vs 3.2 / 5).
CriterionGemini 3.1 Pro PreviewClaude Sonnet 5
Cost-efficiency3.53.5
Context window5.05.0
Openness1.51.5
Self-hosting1.01.0
Multimodality5.05.0

Scores come from live data — output price (cost), context length, open vs closed weights (openness & self-hosting) and vision/tool support (multimodality). Raw task quality isn't scored here; it depends on your benchmark — see the verdict.

What each model is

Gemini 3.1 Pro Preview Paid

Google · Proprietary

Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation.

Claude Sonnet 5 Paid

Anthropic · Proprietary

Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max,...

Other models in these families

These variants are tracked but not compared here — one page per family keeps the comparison readable.

Other variants tracked
Gemini 3.1 Pro Preview (batch)Gemini 2.5 ProGemini 2.5 Pro (batch)Gemini 2.5 Pro Preview 05-06Gemini 3.1 Pro Preview Custom ToolsNano Banana Pro (Gemini 3 Pro Image Preview)
Other variants tracked
Claude Sonnet 5 (batch)Claude Sonnet 4.6Claude Sonnet 4.6 (batch)Claude Sonnet 4.5Claude Sonnet 4.5 (batch)Claude Sonnet 4

Frequently asked questions

Gemini 3.1 Pro Preview vs Claude Sonnet 5 — which is cheaper?

Claude Sonnet 5 is cheaper on output ($10/M vs $12/M).

Which has the larger context window?

Gemini 3.1 Pro Preview offers the larger context window (1M tokens).

Gemini 3.1 Pro Preview vs Claude Sonnet 5 — which should I pick in 2026?

Choose Claude Sonnet 5 for the lower output price ($10/M vs $12/M). Choose Gemini 3.1 Pro Preview if you need the larger 1M context window.

People also compare

Explore more open-source AI

Browse the full open-source model leaderboard, thousands of tools and live benchmarks — all in one place.

Open the leaderboard →