Prices verified September 25, 2026 · 36 plans · 29 API models · 9 providers · What changed

For developers · verified September 25, 2026

AI API pricing: 29 models, per million tokens.

Input and output prices for OpenAI, Anthropic, Google, xAI, DeepSeek and Mistral models, sorted cheapest first. Estimate your monthly bill with the calculator below.

Provider
ModelProviderInput /1MOutput /1MContextNotes
GPT-6 Luna OpenAI$0.10$0.501.05MCheapest GPT-6 model.
DeepSeek V4.1-Flash DeepSeek AI$0.15$0.601MOff-peak price. Peak hours (weekdays 01–04 & 06–10 UTC): $0.30 / $1.20. Replaced V4-Flash.
Mistral Small 4 Mistral AI$0.15$0.60256K
GPT-5.6 Luna OpenAI$0.20$1.201.05M
GPT-5.4 nano OpenAI$0.20$1.25400K
Gemini 3.1 Flash-Lite Google$0.25$1.501M
Gemini 3.5 Flash-Lite Google$0.30$2.501M
Mistral Large 3 Mistral AI$0.50$1.50256K
DeepSeek V4-Pro DeepSeek AI$0.66$1.981MOff-peak price. Peak: $1.32 / $3.96. Planned Sept 14 retirement was reversed.
Gemini 3.8 Flash Promo priceGoogle$0.75$3.751MLaunch price until Dec 31, 2026; then $1.50 / $7.50.
Gemini 3.7 Flash Promo priceGoogle$0.75$3.751MLaunch price until Dec 31, 2026; then $1.50 / $7.50.
Gemini 3.6 Flash Promo priceGoogle$0.75$3.751MLaunch price until Dec 31, 2026; then $1.50 / $7.50.
Claude Haiku 4.5 Anthropic$1$5200K
Grok 4.3 xAI$1.25$2.501M
Mistral Medium 3.5 Mistral AI$1.50$7.50256K
Gemini 3.5 Flash LegacyGoogle$1.50$91MNow labelled legacy; newer Flash models are cheaper.
Grok 4.7 xAI$2$6500KAbove 200K tokens: $4 / $12.
Grok 4.5 xAI$2$6500K
GPT-6 Sol OpenAI$2$101.05MBalanced GPT-6 tier.
Claude Sonnet 5 Anthropic$2$101MPlanned increase to $3 / $15 was cancelled; $2 / $10 is permanent.
GPT-5.6 Terra OpenAI$2$121.05M
Gemini 3.1 Pro PreviewGoogle$2$121MPreview. Above 200K tokens: $4 / $18.
GPT-5.6 Sol Promo priceOpenAI$4$201.05MPromotional price until Nov 21, 2026; list price is $5 / $30.
Claude Opus 5.5 Anthropic$4$201MNew Opus; cheaper than Opus 5.
Claude Opus 5 Anthropic$5$251M
Claude Opus 4.8 Anthropic$5$251M
GPT-6 Astra OpenAI$10$501.05MOpenAI's most capable model. Long context above 272K costs more.
Claude Fable 5.1 Anthropic$10$501MAnthropic's top generally available tier.
GPT-5.5 pro OpenAI$30$1801.05MMost expensive model in this table.

Blended = (3 × input + output) ÷ 4, a typical chat mix. Off-peak prices shown for DeepSeek. Promotional prices are marked.

API cost calculator

ModelProviderPer monthPer year

For reference, 1M input + 1M output tokens costs: GPT-6 Luna ≈ $0.60 · DeepSeek V4.1-Flash ≈ $0.75 · Gemini 3.8 Flash ≈ $4.50 · GPT-6 Sol ≈ $12.00 · Claude Sonnet 5 ≈ $12.00 · Claude Opus 5.5 ≈ $24.00 · GPT-6 Astra ≈ $60.00.

API pricing questions

How do API prices work?

You pay per million tokens (roughly 750,000 English words). Input (what you send) and output (what the model writes) are priced separately; output usually costs 3–6× more.

What's the cheapest capable API model right now?

By input price, GPT-6 Luna at $0.10 in / $0.50 out. GPT-6 Luna ($0.10 / $0.50) and DeepSeek V4.1-Flash ($0.15 / $0.60 off-peak) are the budget standouts.

Which API prices are temporary?

GPT-5.6 Sol is on a promotion until Nov 21, 2026 (list $5 / $30). Gemini 3.6, 3.7 and 3.8 Flash are $0.75 / $3.75 until Dec 31, 2026, then $1.50 / $7.50. DeepSeek charges 2× in weekday peak hours.

Do I need the API or a subscription?

If you chat with AI yourself, a subscription is almost always cheaper. The API is for developers building products or automations.