Skip to content

Claude Sonnet 5 vs Gemini 3.1 Pro Preview

Claude Sonnet 5

Anthropic

85#44
vs
Signal-by-Signal Comparison
SignalClaude Sonnet 5DeltaGemini 3.1 Pro Preview
Capabilities
100
--
100
Pricing
90
+2
88
Context window size
95
0
96
Recency
100
--
100
Output Capacity
85
+5
80
Benchmarks
0
-91
92
Overall Result
2 wins
of 6
2 wins
It's a tie - both models win 2 signals each

Score History

Score History (24 data points)
Claude Sonnet 5Gemini 3.1 Pro Preview
Claude Sonnet 5

85.2

current score

Leader

Gemini 3.1 Pro Preview

right now

Gemini 3.1 Pro Preview

92.2

current score

LMMarketCap.com
Interactive Price Comparison
100Kcalls/month
1,000tokens (~1,333 chars)
500tokens (~667 chars)

Claude Sonnet 5

Anthropic

Best Value
Per request$0.007000
Daily$23.33
Monthly$700.00
Annual$8400.00

Gemini 3.1 Pro Preview

Google

Per request$0.008000
Daily$26.67
Monthly$800.00
Annual$9600.00

Claude Sonnet 5 saves you $100.00/month

That's $1200.00/year compared to Gemini 3.1 Pro Preview at your current usage level of 100K calls/month.

13% cheaper
Choose Claude Sonnet 5 for cost optimization

Claude Sonnet 5 pricing:
Input:$2.00/M tokens
Output:$10.00/M tokens
Gemini 3.1 Pro Preview pricing:
Input:$2.00/M tokens
Output:$12.00/M tokens
Claude Sonnet 5

Anthropic

85

Composite Score

Winner
Gemini 3.1 Pro Preview

Google

92

Composite Score

Signal-by-Signal Comparison
MetricClaude Sonnet 5Gemini 3.1 Pro PreviewWinner
Overall Score
85
92
Gemini 3.1 Pro Preview
Rank#44#11
Gemini 3.1 Pro Preview
Quality Rank#44#11
Gemini 3.1 Pro Preview
Adoption Rank#44#11
Gemini 3.1 Pro Preview
Parameters------
Context Window1000K1049K
Gemini 3.1 Pro Preview
Pricing$2.00/$10.00/M$2.00/$12.00/M--
Signal Scores
Capabilities
100
100
Claude Sonnet 5
Pricing
90
88
Claude Sonnet 5
Context window size
95
96
Gemini 3.1 Pro Preview
Recency
100
100
Claude Sonnet 5
Output Capacity
85
80
Claude Sonnet 5
Benchmarks--
92
Gemini 3.1 Pro Preview
Benchmark Head-to-Head(5 benchmarks)
Claude Sonnet: 0Gemini 3.1: 0
Claude Sonnet
Gemini 3.1
Normalized 0-100%
MMLU
-92.6%
MMLU-Pro
-91.2%
GPQA Diamond
-94.3%
SWE-bench Verified
-80.6%
Arena Elo
-1494
Benchmark Interpretation

Our score (0-100) is driven by benchmark performance (90%) from Arena Elo ratings, MMLU, GPQA, HumanEval, SWE-bench, and 15+ standardized evaluations. Capabilities and context window serve as tiebreakers (10%). Learn more about our methodology.

Claude Sonnet 5Elite Tier

Scores 85/100 (rank #44), placing it in the top 85% of all 290 models tracked.

Raw Quality0/100
Cost Efficiency0/100
Speed0/100
Gemini 3.1 Pro PreviewElite Tier

Scores 92/100 (rank #11), placing it in the top 97% of all 290 models tracked.

Raw Quality0/100
Cost Efficiency0/100
Speed0/100

Gemini 3.1 Pro Preview has a 7-point advantage, which typically translates to noticeably better performance on complex reasoning, code generation, and multi-step tasks.

When to Use Each Model

Choose Claude Sonnet 5 when you need:

  • Step-by-step reasoning and chain-of-thought problem solving

Choose Gemini 3.1 Pro Preview when you need:

  • Step-by-step reasoning and chain-of-thought problem solving
Cost-Performance Analysis
Claude Sonnet 5Best Value
Input cost$2.00/M tokens
Output cost$10.00/M tokens
Cost per quality point$0.141
Est. monthly (1M tokens/day)$180.00
Gemini 3.1 Pro Preview
Input cost$2.00/M tokens
Output cost$12.00/M tokens
Cost per quality point$0.152
Est. monthly (1M tokens/day)$210.00

Claude Sonnet 5 offers 14% better value per quality point. At 1M tokens/day, you'd spend $180.00/month with Claude Sonnet 5 vs $210.00/month with Gemini 3.1 Pro Preview - a $30.00 monthly difference.

Latency & Speed
Claude Sonnet 5Faster
Speed score0/100
Gemini 3.1 Pro Preview
Speed score0/100

Both models have comparable response speeds. For most applications, the latency difference is negligible.

When latency matters most: Interactive chatbots, IDE code completion, real-time translation, and user-facing applications where response time directly impacts experience. For batch processing, background summarization, or offline analysis, latency is less critical.

Example Use Cases

Code generation & review

Based on overall model capabilities and architecture for coding tasks like generating functions, debugging, and refactoring

Claude Sonnet 5

Customer support chatbot

Suitable for user-facing chat with competitive response times. Claude Sonnet 5 also offers lower per-token costs for high-volume support

Claude Sonnet 5

Long document analysis

Larger context window (1049K tokens) can process longer documents, contracts, and research papers in a single pass

Gemini 3.1 Pro Preview

Batch data extraction

Lower output pricing ($10.00/M) reduces costs when processing thousands of records daily

Claude Sonnet 5

Creative writing & content

Higher overall composite score (92/100) correlates with better nuance, coherence, and style in long-form content

Gemini 3.1 Pro Preview

Image understanding & OCR

Supports vision input - can analyze screenshots, diagrams, photos, and scanned documents directly

Claude Sonnet 5
Which Should You Choose?
Our recommendation:
Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview has a moderate advantage with a 7-point lead in composite score. It wins on more signal dimensions, but Claude Sonnet 5 has specific strengths that could make it the better choice for certain workflows.

by Anthropic

  • Choose for Quality - Marginally better benchmark scores; both are excellent
  • Choose for Cost - 14% lower pricing; better value at scale
  • Choose for Reliability - Higher uptime and faster response speeds
  • Choose for Prototyping - Stronger community support and better developer experience
  • Choose for Production - Wider enterprise adoption and proven at scale

by Google

Consider for specialized use cases.

Capability Comparison
CapabilityClaude Sonnet 5Gemini 3.1 Pro Preview
Vision (Image Input)
Function Calling
Streaming
JSON Mode
Reasoning
Web Search
Image Output
Monthly Cost Calculator
1,000tokens (600 in / 400 out)
100requests/day (3,000/month)

Claude Sonnet 5

Anthropic

Best Value
$15.60
estimated monthly cost

Gemini 3.1 Pro Preview

Google

$18.00
estimated monthly cost

Claude Sonnet 5 saves you $2.40/month

That's 13% cheaper than Gemini 3.1 Pro Preview at 1,000 tokens/request and 100 requests/day.

Assumes 60% input / 40% output token ratio per request. Actual costs may vary based on your usage pattern.

Parameters & Context
ParameterClaude Sonnet 5Gemini 3.1 Pro Preview
Context Window1M1.0M
Max Output Tokens128,00065,536
Open SourceNoNo
CreatedJun 30, 2026Feb 19, 2026
Last updated: 57m ago

相关对比

Claude Sonnet 5 vs Gemini 3.1 Pro Preview (2026) | LM Market Cap