Comprehensive side-by-side LLM comparison
Claude Sonnet 4 leads with 12.7% higher average benchmark score. Claude 3.5 Sonnet offers 72.0K more tokens in context window than Claude Sonnet 4. Both models have similar pricing. Overall, Claude Sonnet 4 is the stronger choice for coding tasks.
Anthropic
This upgraded version of Claude 3.5 Sonnet was released with significant improvements in coding and agentic tool use. Built to deliver enhanced performance in software engineering tasks, it brought substantial gains in reasoning and problem-solving while introducing the groundbreaking computer use capability in public beta, allowing it to interact with computer interfaces like a human.
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.
7 months newer

Claude 3.5 Sonnet
Anthropic
2024-10-22

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

Claude 3.5 Sonnet

Claude Sonnet 4
Context window and performance specifications
Average performance across 5 common benchmarks

Claude 3.5 Sonnet

Claude Sonnet 4
Performance comparison across key benchmark categories

Claude 3.5 Sonnet

Claude Sonnet 4
Available providers and their performance metrics

Claude 3.5 Sonnet
Anthropic
Bedrock

Claude 3.5 Sonnet

Claude Sonnet 4

Claude 3.5 Sonnet

Claude Sonnet 4

Claude Sonnet 4
Anthropic
Bedrock
ZeroEval