Comprehensive side-by-side LLM comparison
GPT-5 nano leads with 4.0% higher average benchmark score. GPT-5 nano offers 128.0K more tokens in context window than Claude 3.5 Sonnet. GPT-5 nano is $17.55 cheaper per million tokens. Both models have their strengths depending on your specific coding needs.
Anthropic
This upgraded version of Claude 3.5 Sonnet was released with significant improvements in coding and agentic tool use. Built to deliver enhanced performance in software engineering tasks, it brought substantial gains in reasoning and problem-solving while introducing the groundbreaking computer use capability in public beta, allowing it to interact with computer interfaces like a human.
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.
9 months newer

Claude 3.5 Sonnet
Anthropic
2024-10-22

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

Claude 3.5 Sonnet

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

Claude 3.5 Sonnet

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

Claude 3.5 Sonnet
Anthropic
Bedrock

Claude 3.5 Sonnet

GPT-5 nano

Claude 3.5 Sonnet

GPT-5 nano

GPT-5 nano
OpenAI
ZeroEval