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-4oclaude-sonnet-4-5
Model IDgpt-4oclaude-sonnet-4-5
Provideropenaianthropic
Input /1M$2.5$3
Output /1M$10$15
Cached input /1M$1.25$0.3
Context128,000200,000
Max output16,38464,000

gpt-4o details · claude-sonnet-4-5 details