gpt-4o vs claude-sonnet-4-5
Same spec sheet, same units: prices per 1M tokens, updated 2026-11-20.
Verdict: gpt-4o is 33% cheaper on output tokens ($10 vs $15 per 1M). Check the context and cached-input rows before deciding on price alone.
| gpt-4o | claude-sonnet-4-5 | |
|---|---|---|
| Model ID | gpt-4o | claude-sonnet-4-5 |
| Provider | openai | anthropic |
| Input /1M | $2.5 | $3 |
| Output /1M | $10 | $15 |
| Cached input /1M | $1.25 | $0.3 |
| Context | 128,000 | 200,000 |
| Max output | 16,384 | 64,000 |