LLM API pricing

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.

Estimate a real workload with the Claude pricing calculator, the LLM cost comparator, the prompt caching calculator or the batch API savings calculator.

Anthropic

ModelInputOutputCache hitBatch in / outContextMax outputSource (checked)
Claude Fable 5.2
claude-fable-5-2
$8.00 $40.00 $0.20 $4.00 / $20.00 1M 128K platform.claude.com (2026-11-12)
Claude Opus 5.5
claude-opus-5-5
$4.00 $20.00 $0.20 $2.00 / $10.00 1M 128K platform.claude.com (2026-11-12)
Claude Sonnet 5.5
claude-sonnet-5-5
$2.00 $10.00 $0.10 $1.00 / $5.00 1M 128K platform.claude.com (2026-11-12)
Claude Haiku 5.5
claude-haiku-5-5
$0.10 $0.50 $0.01 $0.05 / $0.25 1M 128K platform.claude.com (2026-11-12)
Prompts over 100,000 tokens: $0.50 input, $2.50 output, $0.05 cache hit.
Claude Opus 4.7
claude-opus-4-7
$5.00 $25.00 $0.50 $2.50 / $12.50 1M 128K platform.claude.com (2026-11-12)
Claude Sonnet 4.6
claude-sonnet-4-6
$3.00 $15.00 $0.30 $1.50 / $7.50 1M 128K platform.claude.com (2026-11-12)
Claude Haiku 4.5
claude-haiku-4-5
$1.00 $5.00 $0.10 $0.50 / $2.50 200K 64K platform.claude.com (2026-11-12)

OpenAI

ModelInputOutputCache hitBatch in / outContextMax outputSource (checked)
GPT-5
gpt-5
$1.25 $10.00 $0.125 — 400K 128K developers.openai.com (2026-11-12)
GPT-5 Mini
gpt-5-mini
$0.25 $2.00 $0.025 — — — developers.openai.com (2026-11-12)
GPT-5 Nano
gpt-5-nano
$0.05 $0.40 $0.005 — — — developers.openai.com (2026-11-12)
GPT-4o
gpt-4o
$2.50 $10.00 $1.25 — — — developers.openai.com (2026-11-12)
GPT-4o Mini
gpt-4o-mini
$0.15 $0.60 $0.075 — — — developers.openai.com (2026-11-12)
GPT-4.1
gpt-4-1
$2.00 $8.00 $0.50 — — — developers.openai.com (2026-11-12)
o3
o3
$2.00 $8.00 $0.50 — — — developers.openai.com (2026-11-12)

Google

ModelInputOutputCache hitBatch in / outContextMax outputSource (checked)
Gemini 2.5 Pro deprecated
gemini-2-5-pro
$1.25 $10.00 $0.125 — — — aistudio.google.com (2026-11-12)
Prompts up to 200k tokens; Google routes it to Gemini 3.8 Flash from 2026-12-01
Gemini 2.5 Flash deprecated
gemini-2-5-flash
$0.30 $2.50 $0.03 — — — aistudio.google.com (2026-11-12)
Text/image/video input price; Google routes it to Gemini 3.5 Flash-Lite from 2026-12-01

Embeddings

ModelInputSource (checked)
text-embedding-3-small (OpenAI)$0.02developers.openai.com (2026-11-12)
text-embedding-3-large (OpenAI)$0.13developers.openai.com (2026-11-12)

Reading the table

  • 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.