Comprehensive side-by-side LLM comparison
GPT-5 nano leads with 30.8% higher average benchmark score. GPT-5 nano offers 128.0K more tokens in context window than Claude 3 Sonnet. GPT-5 nano is $17.55 cheaper per million tokens. Overall, GPT-5 nano is the stronger choice for coding tasks.
Anthropic
Claude 3 Sonnet was introduced as the balanced middle tier of the Claude 3 family, offering a combination of strong capabilities and operational speed. Designed to provide an optimal tradeoff between intelligence and performance for everyday tasks, it served as a versatile solution for a wide range of enterprise and consumer applications.
OpenAI
GPT-5 Nano was developed as the most compact variant in the GPT-5 family, designed for deployment in resource-constrained environments and edge computing scenarios. Built to bring next-generation AI capabilities to devices and applications where latency and efficiency are paramount, it distills GPT-5 innovations into a minimal footprint.
1 year newer

Claude 3 Sonnet
Anthropic
2024-02-29

GPT-5 nano
OpenAI
2025-08-07
Cost per million tokens (USD)

Claude 3 Sonnet

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

Claude 3 Sonnet

GPT-5 nano
GPT-5 nano
2024-05-30
Available providers and their performance metrics

Claude 3 Sonnet
Anthropic
Bedrock

Claude 3 Sonnet

GPT-5 nano

Claude 3 Sonnet

GPT-5 nano

GPT-5 nano
OpenAI
ZeroEval