Claude Sonnet 5 vs GPT-5 nano
GPT-5 nano is cheaper on input ($0.15 vs $3.00 per 1M tokens), Claude Sonnet 5 has the larger context window (400K).
| Spec | Claude Sonnet 5 | GPT-5 nano |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Modality | Text + Vision | Text |
| Context window | 400Kbest | 128K |
| Input / 1M | $3.00 | $0.15best |
| Output / 1M | $15.00 | $0.60best |
| Released | Feb 2026 | Jan 2026 |
| Best for | Chat / Assistant, Code generation, Image / Vision | High-volume / cheap, Chat / Assistant |
FAQ
- Is Claude Sonnet 5 cheaper than GPT-5 nano?
- GPT-5 nano is cheaper, at $0.15 per 1M input tokens versus $3.00.
- Which has the larger context window, Claude Sonnet 5 or GPT-5 nano?
- Claude Sonnet 5 has the larger context window at 400K tokens.