Model Comparison

Claude Sonnet 4 vs Gemini 1.5 Flash

Claude Sonnet 4 significantly outperforms across most benchmarks. Gemini 1.5 Flash is 22.9x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

Claude Sonnet 4 outperforms in 2 benchmarks (GPQA, MMMU), while Gemini 1.5 Flash is better at 0 benchmarks.

Claude Sonnet 4 significantly outperforms across most benchmarks.

Sat May 30 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Gemini 1.5 Flash costs less

For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 20.0x more expensive than Gemini 1.5 Flash ($0.15/1M tokens).

For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 25.0x more expensive than Gemini 1.5 Flash ($0.60/1M tokens).

In conclusion, Claude Sonnet 4 is more expensive than Gemini 1.5 Flash.*

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

Lowest available price from all providers
Sat May 30 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
Google
Gemini 1.5 Flash
Input tokens$0.15
Output tokens$0.60
Best providerGoogle
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemini 1.5 Flash accepts 1,048,576 input tokens compared to Claude Sonnet 4's 200,000 tokens. Claude Sonnet 4 can generate longer responses up to 64,000 tokens, while Gemini 1.5 Flash is limited to 8,192 tokens.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
Google
Gemini 1.5 Flash
Input1,048,576 tokens
Output8,192 tokens
Sat May 30 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Claude Sonnet 4 and Gemini 1.5 Flash 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 1.5 Flash

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 1.5 Flash

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while Gemini 1.5 Flash was released on 2024-05-01.

Claude Sonnet 4 is 13 months newer than Gemini 1.5 Flash.

Claude Sonnet 4

May 22, 2025

1.0 years ago

1.1yr newer
Gemini 1.5 Flash

May 1, 2024

2.1 years ago

Knowledge Cutoff

When training data ends

Gemini 1.5 Flash has a documented knowledge cutoff of 2023-11-01, while Claude Sonnet 4's cutoff date is not specified.

We can confirm Gemini 1.5 Flash's training data extends to 2023-11-01, but cannot make a direct comparison without Claude Sonnet 4's cutoff date.

Claude Sonnet 4

Gemini 1.5 Flash

Nov 2023

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. Gemini 1.5 Flash 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 1.5 Flash

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

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher GPQA score (75.4% vs 51.0%)
Higher MMMU score (74.4% vs 62.3%)
Larger context window (1,048,576 tokens)
Less expensive input tokens
Less expensive output tokens
AnthropicClaude Sonnet 4
GoogleGemini 1.5 Flash

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 4
Google
Gemini 1.5 Flash

FAQ

Common questions about Claude Sonnet 4 vs Gemini 1.5 Flash.

Which is better, Claude Sonnet 4 or Gemini 1.5 Flash?

Claude Sonnet 4 significantly outperforms across most benchmarks. Claude Sonnet 4 is made by Anthropic and Gemini 1.5 Flash 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 1.5 Flash 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 1.5 Flash scores XSTest: 97.0%, HellaSwag: 86.5%, GSM8k: 86.2%, BIG-Bench Hard: 85.5%, MGSM: 82.6%.

Is Claude Sonnet 4 cheaper than Gemini 1.5 Flash?

Gemini 1.5 Flash is 20.0x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. Gemini 1.5 Flash costs $0.15/M input and $0.60/M output via google.

What are the context window sizes for Claude Sonnet 4 and Gemini 1.5 Flash?

Claude Sonnet 4 supports 200K tokens and Gemini 1.5 Flash 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 1.5 Flash?

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

Who makes Claude Sonnet 4 and Gemini 1.5 Flash?

Claude Sonnet 4 is developed by Anthropic and Gemini 1.5 Flash is developed by Google.