Comprehensive side-by-side LLM comparison
Gemini 2.5 Pro Preview 06-05 leads with 7.6% higher average benchmark score. Gemini 2.5 Pro Preview 06-05 offers 786.1K more tokens in context window than Claude Sonnet 4. Gemini 2.5 Pro Preview 06-05 is $6.75 cheaper per million tokens. Claude Sonnet 4 is available on 4 providers. Overall, Gemini 2.5 Pro Preview 06-05 is the stronger choice for coding tasks.
Anthropic
Claude Sonnet 4 was created as the balanced offering in the Claude 4 family, designed to provide strong intelligence with practical speed and cost efficiency. Built to serve as a versatile workhorse for diverse applications, it balances advanced capabilities with operational considerations for everyday enterprise and consumer use.
Gemini 2.5 Pro Preview was released as an early access version of Gemini 2.5 Pro, designed to allow developers and enterprises to experiment with next-generation capabilities before general availability. Built to gather feedback and demonstrate upcoming features, it provided a window into the evolution of Google's flagship model.
14 days newer

Claude Sonnet 4
Anthropic
2025-05-22

Gemini 2.5 Pro Preview 06-05
2025-06-05
Cost per million tokens (USD)

Claude Sonnet 4

Gemini 2.5 Pro Preview 06-05
Context window and performance specifications
Average performance across 4 common benchmarks

Claude Sonnet 4

Gemini 2.5 Pro Preview 06-05
Performance comparison across key benchmark categories

Claude Sonnet 4

Gemini 2.5 Pro Preview 06-05
Gemini 2.5 Pro Preview 06-05
2025-01-31
Available providers and their performance metrics

Claude Sonnet 4
Anthropic
Bedrock
ZeroEval

Claude Sonnet 4

Gemini 2.5 Pro Preview 06-05

Claude Sonnet 4

Gemini 2.5 Pro Preview 06-05

Gemini 2.5 Pro Preview 06-05