Comprehensive side-by-side LLM comparison
Claude 3.7 Sonnet leads with 11.3% higher average benchmark score. GPT-4.1 offers 752.3K more tokens in context window than Claude 3.7 Sonnet. GPT-4.1 is $8.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.1 represents an iterative improvement in the GPT-4 series, developed to refine the foundational capabilities established by GPT-4. Built to incorporate learnings and optimizations from the deployment of previous versions, it continues the evolution of OpenAI's flagship model line with enhanced reliability and performance.
1 month newer

Claude 3.7 Sonnet
Anthropic
2025-02-24

GPT-4.1
OpenAI
2025-04-14
Cost per million tokens (USD)

Claude 3.7 Sonnet

GPT-4.1
Context window and performance specifications
Average performance across 9 common benchmarks

Claude 3.7 Sonnet

GPT-4.1
Performance comparison across key benchmark categories

Claude 3.7 Sonnet

GPT-4.1
GPT-4.1
2024-06-01
Available providers and their performance metrics

Claude 3.7 Sonnet
Anthropic
Bedrock
ZeroEval

Claude 3.7 Sonnet

GPT-4.1

Claude 3.7 Sonnet

GPT-4.1

GPT-4.1
OpenAI