Model Comparison

Claude Sonnet 4 vs Gemini 2.5 ProWhich is better in 2026?

Gemini 2.5 Pro shows notably better performance in the majority of benchmarks. Gemini 2.5 Pro is 1.7x cheaper per token.

Verdict: Claude Sonnet 4 vs Gemini 2.5 Pro — which is better?

Claude Sonnet 4 (by Anthropic) and Gemini 2.5 Pro (by Google) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Claude Sonnet 4 outperforms in 1 benchmarks (SWE-Bench Verified), while Gemini 2.5 Pro is better at 3 benchmarks (AIME 2025, GPQA, MMMU). Gemini 2.5 Pro shows notably better performance in the majority of benchmarks.

On price, Gemini 2.5 Pro is roughly 1.7x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Gemini 2.5 Pro also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Choose Claude Sonnet 4 if…

  • you want the most recent training data — it shipped May 2025

Choose Gemini 2.5 Pro if…

  • you want the strongest raw capability — it leads on 3 of 4 shared benchmarks
  • cost matters — it's about 1.7x cheaper per token
  • you process long inputs — it offers a 1,048,576 token context window

Performance Benchmarks

Comparative analysis across standard metrics

4 benchmarks

Claude Sonnet 4 outperforms in 1 benchmarks (SWE-Bench Verified), while Gemini 2.5 Pro is better at 3 benchmarks (AIME 2025, GPQA, MMMU).

Gemini 2.5 Pro shows notably better performance in the majority of benchmarks.

Sat Jun 06 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Gemini 2.5 Pro costs less

For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 2.4x more expensive than Gemini 2.5 Pro ($1.25/1M tokens).

For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 1.5x more expensive than Gemini 2.5 Pro ($10.00/1M tokens).

In conclusion, Claude Sonnet 4 is more expensive than Gemini 2.5 Pro.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sat Jun 06 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
Google
Gemini 2.5 Pro
Input tokens$1.25
Output tokens$10.00
Best providerGoogle
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemini 2.5 Pro accepts 1,048,576 input tokens compared to Claude Sonnet 4's 200,000 tokens. Gemini 2.5 Pro can generate longer responses up to 65,536 tokens, while Claude Sonnet 4 is limited to 64,000 tokens.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
Google
Gemini 2.5 Pro
Input1,048,576 tokens
Output65,536 tokens
Sat Jun 06 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Claude Sonnet 4 and Gemini 2.5 Pro support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Sonnet 4

Text
Images
Audio
Video

Gemini 2.5 Pro

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude Sonnet 4

Proprietary

Closed source

Gemini 2.5 Pro

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while Gemini 2.5 Pro was released on 2025-05-20.

Claude Sonnet 4 is 0 month newer than Gemini 2.5 Pro.

Claude Sonnet 4

May 22, 2025

1.0 years ago

2d newer
Gemini 2.5 Pro

May 20, 2025

1.0 years ago

Knowledge Cutoff

When training data ends

Gemini 2.5 Pro has a documented knowledge cutoff of 2025-01-31, while Claude Sonnet 4's cutoff date is not specified.

We can confirm Gemini 2.5 Pro's training data extends to 2025-01-31, but cannot make a direct comparison without Claude Sonnet 4's cutoff date.

Claude Sonnet 4

Gemini 2.5 Pro

Jan 2025

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. Gemini 2.5 Pro is available from Google.

Claude Sonnet 4

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

Gemini 2.5 Pro

google logo
Google
Input Price:Input: $1.25/1MOutput Price:Output: $10.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher SWE-Bench Verified score (72.7% vs 63.2%)
Larger context window (1,048,576 tokens)
Less expensive input tokens
Less expensive output tokens
Higher AIME 2025 score (83.0% vs 70.5%)
Higher GPQA score (83.0% vs 75.4%)
Higher MMMU score (79.6% vs 74.4%)
AnthropicClaude Sonnet 4
GoogleGemini 2.5 Pro

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 4
Google
Gemini 2.5 Pro

FAQ

Common questions about Claude Sonnet 4 vs Gemini 2.5 Pro.

Which is better, Claude Sonnet 4 or Gemini 2.5 Pro?

Gemini 2.5 Pro shows notably better performance in the majority of benchmarks. Claude Sonnet 4 is made by Anthropic and Gemini 2.5 Pro is made by Google. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Claude Sonnet 4 compare to Gemini 2.5 Pro in benchmarks?

Claude Sonnet 4 scores MMMLU: 86.5%, TAU-bench Retail: 80.5%, GPQA: 75.4%, MMMU: 74.4%, SWE-Bench Verified: 72.7%. Gemini 2.5 Pro scores MRCR: 93.0%, AIME 2024: 92.0%, Global-MMLU-Lite: 88.6%, Video-MME: 84.8%, AIME 2025: 83.0%.

Is Claude Sonnet 4 cheaper than Gemini 2.5 Pro?

Gemini 2.5 Pro is 2.4x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. Gemini 2.5 Pro costs $1.25/M input and $10.00/M output via google.

What are the context window sizes for Claude Sonnet 4 and Gemini 2.5 Pro?

Claude Sonnet 4 supports 200K tokens and Gemini 2.5 Pro supports 1.0M tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Sonnet 4 and Gemini 2.5 Pro?

Key differences include context window (200K vs 1.0M), input pricing ($3.00 vs $1.25/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 4 and Gemini 2.5 Pro?

Claude Sonnet 4 is developed by Anthropic and Gemini 2.5 Pro is developed by Google.