gpt-5-nano vs Claude Sonnet 5
| OpenAI gpt-5-nano | Anthropic Claude Sonnet 5 | |
|---|---|---|
| Vendor | OpenAI | Anthropic |
| Context window | 400,000 | 1,000,000 |
| Max output | 128,000 | 128,000 |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| File input | Yes | Yes |
| Input | text, image | text, image |
| Output | text | text |
| Released | 2025-08-07 | 2026-06-29 |