Comprehensive side-by-side LLM comparison
Claude Sonnet 4.5 leads with 43.7% higher average benchmark score. GPT-4.1 nano offers 816.3K more tokens in context window than Claude Sonnet 4.5. GPT-4.1 nano is $17.50 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 Nano was developed as the smallest and most efficient variant in the GPT-4.1 family, designed for applications requiring minimal latency and resource usage. Built to enable AI capabilities on edge devices and resource-constrained environments, it distills GPT-4.1 capabilities into an ultra-compact form factor.
5 months newer

GPT-4.1 nano
OpenAI
2025-04-14

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

Claude Sonnet 4.5

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

Claude Sonnet 4.5

GPT-4.1 nano
GPT-4.1 nano
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 nano

Claude Sonnet 4.5

GPT-4.1 nano
GPT-4.1 nano
OpenAI