Comprehensive side-by-side LLM comparison
Claude Sonnet 4 leads with 12.4% higher average benchmark score. Gemini 1.5 Pro offers 1.8M more tokens in context window than Claude Sonnet 4. Gemini 1.5 Pro is $5.50 cheaper per million tokens. Claude Sonnet 4 is available on 4 providers. Overall, Claude Sonnet 4 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 1.5 Pro was introduced as Google's advanced multimodal model with an expanded context window, designed to comprehend and reason across long documents, videos, and audio. Built to handle complex, information-rich tasks, it brought breakthrough capabilities in processing extended context while maintaining high-quality reasoning and generation.
1 year newer

Gemini 1.5 Pro
2024-05-01

Claude Sonnet 4
Anthropic
2025-05-22
Cost per million tokens (USD)

Claude Sonnet 4

Gemini 1.5 Pro
Context window and performance specifications
Average performance across 2 common benchmarks

Claude Sonnet 4

Gemini 1.5 Pro
Gemini 1.5 Pro
2023-11-01
Available providers and their performance metrics

Claude Sonnet 4
Anthropic
Bedrock
ZeroEval

Claude Sonnet 4

Gemini 1.5 Pro

Claude Sonnet 4

Gemini 1.5 Pro

Gemini 1.5 Pro