Skip to content

Claude Sonnet 4 vs Gemini 3.1 Pro Preview

Claude Sonnet 4

Anthropic

74#91
vs
Signal-by-Signal Comparison
SignalClaude Sonnet 4DeltaGemini 3.1 Pro Preview
Capabilities
83
-17
100
Benchmarks
75
-16
92
Pricing
85
-3
88
Context window size
95
0
96
Recency
54
-46
100
Output Capacity
80
0
80
Overall Result
0 wins
of 6
6 wins
Gemini 3.1 Pro Preview wins 6 of 6 signals

Score History

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

74.4

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 4

Anthropic

Per request$0.010500
Daily$35.00
Monthly$1050.00
Annual$12600.00

Gemini 3.1 Pro Preview

Google

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

Gemini 3.1 Pro Preview saves you $250.00/month

That's $3000.00/year compared to Claude Sonnet 4 at your current usage level of 100K calls/month.

24% cheaper
Choose Gemini 3.1 Pro Preview for cost optimization

Claude Sonnet 4 pricing:
Input:$3.00/M tokens
Output:$15.00/M tokens
Gemini 3.1 Pro Preview pricing:
Input:$2.00/M tokens
Output:$12.00/M tokens
Claude Sonnet 4

Anthropic

74

Composite Score

Winner
Gemini 3.1 Pro Preview

Google

92

Composite Score

Signal-by-Signal Comparison
MetricClaude Sonnet 4Gemini 3.1 Pro PreviewWinner
Overall Score
74
92
Gemini 3.1 Pro Preview
Rank#91#11
Gemini 3.1 Pro Preview
Quality Rank#91#11
Gemini 3.1 Pro Preview
Adoption Rank#91#11
Gemini 3.1 Pro Preview
Parameters------
Context Window1000K1049K
Gemini 3.1 Pro Preview
Pricing$3.00/$15.00/M$2.00/$12.00/M--
Signal Scores
Capabilities
83
100
Gemini 3.1 Pro Preview
Benchmarks
75
92
Gemini 3.1 Pro Preview
Pricing
85
88
Gemini 3.1 Pro Preview
Context window size
95
96
Gemini 3.1 Pro Preview
Recency
54
100
Gemini 3.1 Pro Preview
Output Capacity
80
80
Gemini 3.1 Pro Preview
Benchmark Head-to-Head(13 benchmarks)
Claude Sonnet: 0Gemini 3.1: 5
Claude Sonnet
Gemini 3.1
Normalized 0-100%
MMLU
89.5%92.6%
MMLU-Pro
83.7%91.2%
GPQA Diamond
75.4%94.3%
MATH-500
81.4%-
HumanEval
93.8%-
SWE-bench Verified
72.7%80.6%
AIME 2024
58%-
IFEval
90.8%-
BBH
87%-
Arena Elo
13871494
LiveBench
67%-
HLE
5.52%-
BigCodeBench
32.4%-
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 4Strong Performer

Scores 74/100 (rank #91), placing it in the top 69% 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 18-point advantage, which typically translates to noticeably stronger performance on complex reasoning, code generation, and multi-step tasks.

When to Use Each Model

Choose Claude Sonnet 4 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 4
Input cost$3.00/M tokens
Output cost$15.00/M tokens
Cost per quality point$0.242
Est. monthly (1M tokens/day)$270.00
Gemini 3.1 Pro PreviewBest Value
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

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

Latency & Speed
Claude Sonnet 4Faster
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 4

Customer support chatbot

Suitable for user-facing chat with competitive response times. Gemini 3.1 Pro Preview also offers lower per-token costs for high-volume support

Claude Sonnet 4

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 ($12.00/M) reduces costs when processing thousands of records daily

Gemini 3.1 Pro Preview

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 4
Which Should You Choose?
Our recommendation:
Gemini 3.1 Pro Preview

Gemini 3.1 Pro Preview clearly outperforms Claude Sonnet 4 with a significant 17.799999999999997-point lead. For most general use cases, Gemini 3.1 Pro Preview is the stronger choice. However, Claude Sonnet 4 may still excel in niche scenarios.

by Anthropic

  • Choose for Quality - Marginally better benchmark scores; both are excellent
  • 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

  • Choose for Cost - 22% lower pricing; better value at scale
Capability Comparison
CapabilityClaude Sonnet 4Gemini 3.1 Pro Preview
Vision (Image Input)
Function Calling
Streaming
JSON Modediffers
Reasoning
Web Search
Image Output
Monthly Cost Calculator
1,000tokens (600 in / 400 out)
100requests/day (3,000/month)

Claude Sonnet 4

Anthropic

$23.40
estimated monthly cost

Gemini 3.1 Pro Preview

Google

Best Value
$18.00
estimated monthly cost

Gemini 3.1 Pro Preview saves you $5.40/month

That's 23% cheaper than Claude Sonnet 4 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 4Gemini 3.1 Pro Preview
Context Window1M1.0M
Max Output Tokens64,00065,536
Open SourceNoNo
CreatedMay 22, 2025Feb 19, 2026
Last updated: 57m ago

相关对比

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