Comprehensive side-by-side LLM comparison
Claude Sonnet 4 leads with 10.5% higher average benchmark score. Claude Sonnet 4 offers 195.9K more tokens in context window than GPT-4.5. Claude Sonnet 4 is $207.00 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.
OpenAI
GPT-4.5 was developed as an intermediate advancement between GPT-4 and GPT-5, designed to incorporate incremental improvements in reasoning, factuality, and instruction-following. Built to bridge generational capabilities while maintaining compatibility with existing applications, it represents a refinement of the GPT-4 architecture with enhanced performance characteristics.
2 months newer

GPT-4.5
OpenAI
2025-02-27

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

Claude Sonnet 4

GPT-4.5
Context window and performance specifications
Average performance across 6 common benchmarks

Claude Sonnet 4

GPT-4.5
Performance comparison across key benchmark categories

Claude Sonnet 4

GPT-4.5
Available providers and their performance metrics

Claude Sonnet 4
Anthropic
Bedrock
ZeroEval

Claude Sonnet 4

GPT-4.5

Claude Sonnet 4

GPT-4.5

GPT-4.5
OpenAI