Comprehensive side-by-side LLM comparison
Claude Sonnet 4.5 leads with 32.3% higher average benchmark score. GPT-4.1 mini offers 816.3K more tokens in context window than Claude Sonnet 4.5. GPT-4.1 mini is $16.00 cheaper per million tokens. Overall, Claude Sonnet 4.5 is the stronger choice for coding tasks.
Anthropic
Claude Sonnet 4.5 was developed to bridge human thinking and machine assistance, allowing people to work with language and tools in a more conversational and natural way. Built with a focus on turning ideas into results, it represents an evolution in making AI feel less mechanical while maintaining strong capabilities across reasoning, coding, and collaborative tasks.
OpenAI
GPT-4.1 Mini was created as a smaller, more efficient variant of GPT-4.1, designed to provide strong capabilities with reduced computational requirements. Built to serve applications where speed and cost are priorities while maintaining solid performance, it extends the GPT-4.1 capabilities to resource-conscious deployments.
5 months newer

GPT-4.1 mini
OpenAI
2025-04-14

Claude Sonnet 4.5
Anthropic
2025-09-29
Cost per million tokens (USD)

Claude Sonnet 4.5

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

Claude Sonnet 4.5

GPT-4.1 mini
Performance comparison across key benchmark categories

Claude Sonnet 4.5

GPT-4.1 mini
GPT-4.1 mini
2024-05-31
Claude Sonnet 4.5
2025-01-31
Available providers and their performance metrics

Claude Sonnet 4.5
Anthropic
ZeroEval


Claude Sonnet 4.5

GPT-4.1 mini

Claude Sonnet 4.5

GPT-4.1 mini
GPT-4.1 mini
OpenAI
ZeroEval