CompareLLM
CompareLLM.ai
Live
Leaderboard
Models
Compare
Best of & Stacks
Research & News
…
CompareLLM
CompareLLM.ai
Precision Benchmarks

Programmatic, dated AI model benchmarks, head-to-head comparisons, and Stack Engine presets.

Daily ingest · 06:00 UTC

Analytics & Benchmarks

  • AI Model Leaderboard
  • Head-to-Head Compare Hub
  • Models Directory
  • Stack Engine Presets
  • Frontier Models
  • Open Weights Catalog

Guides & Intent Lists

  • Best LLM Lists (2026)
  • Best Coding LLM
  • Best Cheap LLM
  • Fastest Low-Latency LLM
  • Claude vs GPT Benchmark
  • What is Elo?
  • Methodology Guides
  • News & Dispatches

Transparency & API

  • Evaluation Methodology
  • Benchmark Changelog
  • Public JSON API
  • llms.txt Specification
  • Privacy Policy
  • Sign In / Account

© 2026 CompareLLM. Public benchmark data aggregated from Arena Elo, LiveBench, SWE-bench & OpenRouter.

Every score has a dated snapshot.

Theme:
Currency:
  1. Home
  2. Comparisons
  3. Claude Sonnet 5 vs Google: Gemini 3.1 Pro Preview

Pairwise benchmark snapshot · Aug 17, 2026noindex (thin pair)

Claude Sonnet 5 vs Google: Gemini 3.1 Pro Preview benchmark

In this head-to-head showdown, Claude Sonnet 5 is more budget-friendly at $10/1M per 1M output tokens. Review the complete breakdown below to determine which model best fits your performance and budget requirements.

Executive Comparison Verdict

Bottom Line: Both Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview present distinct architectural strengths. Compare the verified benchmark matrix below to choose the model tailored to your specific application requirements.
Share Analysis:
WhatsAppTelegramXLinkedInReddit

Verified Head-to-Head Advantage Breakdown

2 direct benchmark disciplines evaluated across capability, speed, and cost

Claude Sonnet 5 (1)Google: Gemini 3.1 Pro Preview (1)
Claude Sonnet 5
1 of 2 Wins
✓Output price
Google: Gemini 3.1 Pro Preview
1 of 2 Wins
✓Context window
Anthropic
Leads 1 of 2 metrics
Claude Sonnet 5

Anthropic workhorse. Official $2/$10 per 1M tokens made permanent on Aug 10 2026.

Sonnet 5Elo 1,556$10/1M out
Google
Leads 1 of 2 metrics
Google: Gemini 3.1 Pro Preview

Auto-discovered from OpenRouter (google/gemini-3.1-pro-preview). Preview until a second source matches.

$12/1M out

Claude 5 Series Lineage & Sibling Variants

3 models

Currently comparing Claude Sonnet 5 vs Google: Gemini 3.1 Pro Preview. Alternative family tiers available.

Active: Claude Sonnet 5
Claude Opus 5$50Claude Fable 5$50
Top Rival Showdowns for Claude Sonnet 5
All Matchups
Compare vs:vs GPT-5vs Gemini 3 Provs Grok 4.6vs DeepSeek V4 Provs Qwen 3 Max
Preference Leader

No shared data

Single model data

Throughput Leader

No shared data

No latency data

Value per Dollar LeaderClaude Sonnet 5 Wins

Claude Sonnet 5

$10 / 1M output

Capability Percentiles

Relative percentile scores computed across all active models in the benchmark catalog.

Multi-Dimensional Capability Radar

Leaders Matchup Capability Radar

Comparing top Western standard models with China's leading frontier rival across 6 skill dimensions. Tap any spoke or dot to inspect.

Tap any node to inspect
0–100 %ile
Head-to-Head Comparison

Overall Matchup Breakdown

Category wins across reasoning intelligence, generation speed, and token cost.

Claude Sonnet 5 (8)vsGoogle: Gemini 3.1 Pro Preview (1)
Claude Sonnet 5: 8W (89%)Overall: Claude Sonnet 5Google: Gemini 3.1 Pro Preview: 1W (11%)
← Claude Sonnet 51 tiesGoogle: Gemini 3.1 Pro Preview →
🏆Claude Sonnet 5(5/5)

Intelligence & Reasoning

Preference Elo, Coding proficiency, SWE-bench & LiveBench accuracy

Benchmark
Claude Sonnet 5vsGoogle: Gemini 3.1 Pro Preview
Preference Elo
1,556vs—
Coding Elo
1,562vs—
SWE-bench
73.8%vs—
LiveBench
70.4%vs—
GPQA Diamond
82.8%vs—
Claude Sonnet 5: 5WGoogle: Gemini 3.1 Pro Preview: 0W
🏆Claude Sonnet 5(2/2)

Speed & Latency

Generation throughput and time to first token responsiveness

Benchmark
Claude Sonnet 5vsGoogle: Gemini 3.1 Pro Preview
Output speed
118 tok/svs—
Time to first token
175 msvs—
Claude Sonnet 5: 2WGoogle: Gemini 3.1 Pro Preview: 0W
Tied (1-1)

Pricing & Capacity

Cost per million tokens and max context window length

Benchmark
Claude Sonnet 5vsGoogle: Gemini 3.1 Pro Preview
Output price
$10/1Mvs$12/1M+$2/1M
Input price
$2/1Mvs$2/1M
Context window
1Mvs1M+49k
Claude Sonnet 5: 1WGoogle: Gemini 3.1 Pro Preview: 1W

Side-by-Side Benchmark Matrix

Preference Elo
Claude Sonnet 51,556
lmarena · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
Coding Elo
Claude Sonnet 51,562
lmarena · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
LiveBench
Claude Sonnet 570.4%
livebench · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
SWE-bench
Claude Sonnet 573.8%
swebench · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
GPQA Diamond
Claude Sonnet 582.8%
seed-bootstrap · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
Time to first token
Claude Sonnet 5175 ms
seed-bootstrap · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
Output speed
Claude Sonnet 5118 tok/s
seed-bootstrap · Aug 16, 2026
Google: Gemini 3.1 Pro Preview—
Input price
Claude Sonnet 5$2/1M
openrouter · Aug 17, 2026
Google: Gemini 3.1 Pro Preview$2/1M
openrouter · Aug 17, 2026
Output price+$2/1M
Claude Sonnet 5$10/1M
openrouter · Aug 17, 2026
Google: Gemini 3.1 Pro Preview$12/1M
openrouter · Aug 17, 2026
Context window+49k
Claude Sonnet 51M
openrouter · Aug 17, 2026
Google: Gemini 3.1 Pro Preview1M
openrouter · Aug 17, 2026
BenchmarkClaude Sonnet 5Google: Gemini 3.1 Pro PreviewAdvantage Delta
Preference Elo
1,556
lmarena · Aug 16, 2026
——
Coding Elo
1,562
lmarena · Aug 16, 2026
——
LiveBench
70.4%
livebench · Aug 16, 2026
——
SWE-bench
73.8%
swebench · Aug 16, 2026
——
GPQA Diamond
82.8%
seed-bootstrap · Aug 16, 2026
——
Time to first token
175 ms
seed-bootstrap · Aug 16, 2026
——
Output speed
118 tok/s
seed-bootstrap · Aug 16, 2026
——
Input price
$2/1M
openrouter · Aug 17, 2026
$2/1M
openrouter · Aug 17, 2026
—
Output price
$10/1M
openrouter · Aug 17, 2026
$12/1M
openrouter · Aug 17, 2026
+$2/1M
Context window
1M
openrouter · Aug 17, 2026
1M
openrouter · Aug 17, 2026
+49k
Interactive Simulator (USD)

Workload Cost & Savings Calculator

Simulate monthly production API costs in USD (US Dollar).

Save up to 12% with Claude Sonnet 5
Monthly Volume50M tokens/mo
Quick Presets:
Token Ratio (In vs Out)70% In / 30% Out
RAG / Search (10% out)Coding / Chat (50% out)
Claude Sonnet 5$220.00 / mo
In: $70Out: $150
Google: Gemini 3.1 Pro Preview$250.00 / mo
In: $70Out: $180
Estimated Cost Delta

Claude Sonnet 5 is estimated to save $30.00/month ($360/year).

Based on 50M tokens (30% gen)

Key Selection Recommendations

  • 1
    Claude Sonnet 5:Pick Claude Sonnet 5 when you are optimizing output cost.
  • 2
    Google: Gemini 3.1 Pro Preview:Pick Google: Gemini 3.1 Pro Preview for million-token RAG or long-document jobs.

Recommended Workload Routing

Repo / coding agentsinsufficient data

Need SWE-bench on both sides.

High-volume chatClaude Sonnet 5

Lower output list price ($10/1M).

Voice / low-latency UIinsufficient data

Need TTFT on both sides.

Long-document RAGGoogle: Gemini 3.1 Pro Preview

Larger window (1M).

Screenshots / visionClaude Sonnet 5

Claude Sonnet 5 is the side marked multimodal in the catalog.

Target WorkloadRecommended PickEvaluation Rationale
Repo / coding agentsinsufficient dataNeed SWE-bench on both sides.
High-volume chatClaude Sonnet 5Lower output list price ($10/1M).
Voice / low-latency UIinsufficient dataNeed TTFT on both sides.
Long-document RAGGoogle: Gemini 3.1 Pro PreviewLarger window (1M).
Screenshots / visionClaude Sonnet 5Claude Sonnet 5 is the side marked multimodal in the catalog.

Related Editorial Dispatches & Benchmark Notes

View all news
compareAug 10, 2026

Sonnet vs Opus in 2026: same family, different invoice

Usually Sonnet 5 vs Opus 5. Coding delta versus output $/1M. The workhorse question.

priceAug 10, 2026

Claude Sonnet 5 at $2/$10: the 2026 Anthropic workhorse

Aug 10 2026 made the $2/$10 list permanent. Sonnet is the default Claude unless the repo is actually on fire.

launchFeb 18, 2026

Claude Sonnet 4.5 is the previous workhorse — still a valid vs baseline

Most of Opus 4.5 coding at a mid-tier price. Sonnet 5 replaced it as the buy; 4.5 remains a compare baseline.

Community Sentiment

Cast Your Matchup Vote

0 total votes

Community Discussions (0)

Sign in to cast your verified vote, bookmark models, and participate in benchmark discussions.Sign In to Post

No comments posted on this matchup yet. Be the first to share an evaluation note!

Social Share Card Preview

Dynamic OpenGraph banner generated at /compare/claude-sonnet-5-vs-gemini-3-1-pro-preview/opengraph-image

Save PNG

CompareLLM AI Matrix

Verified Head-to-Head Telemetry

LIVE BENCHMARK
VS
Anthropic

Claude Sonnet 5

Elo 1,556
SWE-bench73.8%
Speed (tok/s)118 tok/s
Input / 1M Tokens$2/1M
Output / 1M Tokens$10/1M
Google

Google: Gemini 3.1 Pro Preview

Elo n/a
SWE-bench—
Speed (tok/s)1M
Input / 1M Tokens$2/1M
Output / 1M Tokens$12/1M

Frequently Asked Questions

Which is better overall, Claude Sonnet 5 or Google: Gemini 3.1 Pro Preview?
We do not have preference Elo for both models, so we do not declare an overall winner. Compare the metrics that exist.
Which is better at coding, Claude Sonnet 5 or Google: Gemini 3.1 Pro Preview?
SWE-bench is missing for at least one model, so we do not rank coding from a single number.
Which is cheaper to run in production?
Claude Sonnet 5 output tokens are $10/1M versus $12/1M. Input prices and retry rates still move the real bill.
Which is faster, Claude Sonnet 5 or Google: Gemini 3.1 Pro Preview?
We do not have TTFT for both models.
Which has the larger context window?
Google: Gemini 3.1 Pro Preview accepts 1M tokens versus 1M.
Can I self-host either model?
Neither model is marked open-weights here. You are comparing hosted APIs.
Are these scores from CompareLLM’s own evals?
No. V1 aggregates public leaderboards (and optional first-party latency pings). Each cell names its source and date. Read /methodology.
What does preference Elo mean on this page?
Preference Elo is a crowd vote from LMArena / Arena. People see two hidden answers and pick the one they like more. The model that wins more often gets a higher Elo. That means people preferred it — not that it passed a school test. It is not SWE-bench, not accuracy, and not a number we invent. Claude Sonnet 5 and Google: Gemini 3.1 Pro Preview Elo cells are dated snapshots from the named source — we do not compute Arena ourselves.

Related news

  • compare · Aug 10, 2026

    Sonnet vs Opus in 2026: same family, different invoice

  • price · Aug 10, 2026

    Claude Sonnet 5 at $2/$10: the 2026 Anthropic workhorse

  • launch · Feb 18, 2026

    Claude Sonnet 4.5 is the previous workhorse — still a valid vs baseline

Similar Head-to-Head Comparisons

All Claude Sonnet 5 matchups →|All Google: Gemini 3.1 Pro Preview matchups →
Claude Sonnet 5 vs Claude Sonnet 4.5 (previous sonnet)Gemini 3 Pro vs Claude Sonnet 5Claude Opus 4.5 vs Claude Sonnet 5Gemini 3.6 Pro vs Claude Sonnet 5Claude Opus 4.6 vs Claude Sonnet 5Gemini 3.7 Flash vs Claude Sonnet 5