List prices in US dollars per million tokens for current Claude, OpenAI and Gemini API models. Every row is
copied from the provider's own pricing page, linked in the last column, and was checked on the date shown.
Models whose prices we have not verified on an official page are not listed. Prices change, so confirm on the
provider's page before you budget.
Cache hit is the price of input tokens served from a prompt cache. Anthropic bills cache
writes separately (1.25x base input for the 5-minute cache, 2x for 1 hour) and states the hit
multiplier per model: 10% on Haiku 5.5, Opus 4.7, Sonnet 4.6 and Haiku 4.5 and 5% on Opus 5.5 and Sonnet 5.5 and 2.5% on Fable 5.2.
Batch prices are shown only where the provider's pricing page lists them.
Context and max output are shown only where the provider documents them
for that model; a dash means not stated on the cited page.
Claude models from Opus 4.7 on use a newer tokenizer that fits about 555k words in 1M tokens, versus about
750k words before (Anthropic models overview), so the same text costs more tokens on those models.