Comprehensive side-by-side LLM comparison
Claude 3.7 Sonnet leads with 49.1% higher average benchmark score. Claude 3.7 Sonnet offers 262.5K more tokens in context window than GPT-4. Claude 3.7 Sonnet is $72.00 cheaper per million tokens. Claude 3.7 Sonnet is available on 4 providers. Overall, Claude 3.7 Sonnet is the stronger choice for coding tasks.
Anthropic
Claude 3.7 Sonnet represents Anthropic's first hybrid reasoning model, capable of producing near-instant responses or extended step-by-step thinking that is visible to users. Developed with particularly strong improvements in coding and front-end web development, it allows users to control thinking budgets and balances real-world task performance with reasoning capabilities for enterprise applications.
OpenAI
GPT-4 was created as a large multimodal model capable of accepting image and text inputs while producing text outputs. Developed to exhibit human-level performance on various professional and academic benchmarks, it marked a significant advancement in reliability, creativity, and handling of nuanced instructions compared to its predecessors.
1 year newer

GPT-4
OpenAI
2023-06-13

Claude 3.7 Sonnet
Anthropic
2025-02-24
Cost per million tokens (USD)

Claude 3.7 Sonnet

GPT-4
Context window and performance specifications
Average performance across 1 common benchmarks

Claude 3.7 Sonnet

GPT-4
GPT-4
2022-12-31
Available providers and their performance metrics

Claude 3.7 Sonnet
Anthropic
Bedrock
ZeroEval

Claude 3.7 Sonnet

GPT-4

Claude 3.7 Sonnet

GPT-4

GPT-4
Azure
OpenAI