claude-sonnet-5-5 vs gpt-4.1
claude-sonnet-5-5 and gpt-4.1 are priced within 15% of each other on input.
| claude-sonnet-5-5 | gpt-4.1 | |
|---|---|---|
| Input / 1M | $2.00 | $2.00 |
| Cached input / 1M | $0.10 | $0.50 |
| Output / 1M | $10.00 | $8.00 |
| Context window | 1M | 1M |
| Max output | 128K | 33K |
| Provider | Anthropic | OpenAI |
| Vision | Yes | Yes |
| Tool calling | Yes | Yes |
| Token count | estimated | exact |
Which to pick
- Cheaper input: claude-sonnet-5-5
- Cheaper output: gpt-4.1
- Larger context: gpt-4.1
List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.
Related comparisons
claude-sonnet-5-5 detail · gpt-4.1 detail · All Anthropic pricing · All comparisons