Comprehensive side-by-side LLM comparison
Claude Sonnet 4 leads with 42.1% higher average benchmark score. Claude 3 Haiku offers 72.0K more tokens in context window than Claude Sonnet 4. Claude 3 Haiku is $16.50 cheaper per million tokens. Overall, Claude Sonnet 4 is the stronger choice for coding tasks.
Anthropic
Claude 3 Haiku was created as the fastest and most affordable model in its intelligence class, processing 21K tokens per second for prompts under 32K tokens. Built for enterprise workloads requiring quick analysis of large datasets, it combines state-of-the-art vision capabilities with strong performance on industry benchmarks while prioritizing speed, affordability, and enterprise-grade security.
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.
1 year newer

Claude 3 Haiku
Anthropic
2024-03-13

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

Claude 3 Haiku

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

Claude 3 Haiku

Claude Sonnet 4
Available providers and their performance metrics

Claude 3 Haiku
Anthropic
Bedrock

Claude 3 Haiku

Claude Sonnet 4

Claude 3 Haiku

Claude Sonnet 4

Claude Sonnet 4
Anthropic
Bedrock
ZeroEval