LLM API Pricing: every major AI model's price per million tokens

Compare API prices for 35 AI models from 11 providers, including OpenAI, Anthropic and Google. Input, output and cached prices per million tokens, plus context windows.

Verified against official sources on · 35 entries
Key facts
  • Cheapest input: GPT-6 Luna (OpenAI) at $0.10 per million tokens.
  • Most expensive output: GPT-6 Astra (OpenAI) at $50.00 per million tokens.
  • Largest context window: GPT-6 Astra with 1.05M tokens.
  • 35 models from 11 providers, each checked against the provider's official pricing page.
35 of 35
NotesSource
GPT-6 LunaOpenAI$0.10$0.50$0.0101.05MSmall/cheap tier. Cache writes: 30m $0.125, 12h $0.25. Flex/Batch at half price.Official
Claude Haiku 5.5Anthropic$0.10$0.50$0.0101MTiered: prompts over 100k tokens cost $0.50 in / $2.50 out / $0.05 cache hit. Batch 50% off.Official
Mistral Small 4Mistral$0.15$0.60$0.015n/aVersion v26.03.Official
Qwen3.8-FlashAlibaba (Qwen)$0.15$0.47n/a1MSingapore (International), flat up to 1M input. The model info page shows a different 'International' price ($0.113 in / $0.382 out).Official
GLM-5.3-FlashZ.ai$0.15$0.50$0.030n/aCache storage free for a limited time.Official
MiniMax-M3.1-FlashMiniMax$0.15$0.60$0.0151Mn/aOfficial
Gemini 3.1 Flash-LiteGoogle$0.25$1.50$0.025n/aText/image/video price shown; audio input $0.50.Official
Gemini 3.5 Flash-LiteGoogle$0.30$2.50$0.0301.05MSame price for text, image, video and audio input. Cache storage $1.00/1M tokens/hour.Official
CodestralMistral$0.30$0.90$0.030n/aCode model.Official
DeepSeek-V4.1-FlashDeepSeek$0.30$1.20$0.0061MPeak price shown. Off-peak is 50% off ($0.15 in / $0.60 out / $0.003 cached); peak hours are weekdays 01:00-04:00 and 06:00-10:00 UTC. Version DeepSeek-V4.1-Flash-1017.Official
MiniMax-M3MiniMax$0.30$1.20$0.0601MLabeled 'permanent 50% off'. Over 512k input: $0.60 in / $2.40 out. Priority tier costs 1.5x.Official
Qwen3.7-PlusAlibaba (Qwen)$0.40$1.60$0.0801MSingapore (International) list price, up to 256k input. 256k-1M input: $1.20 in / $4.80 out. A limited-time 20% discount is currently shown.Official
Gemini 3.8 FlashGoogle$0.75$3.75$0.0751.05MPrice through 2026-12-31; from 2027-01-01: $1.50 in / $7.50 out / $0.15 cached. Cache storage $0.50/1M tokens/hour.Official
Gemini 3.6 FlashGoogle$0.75$3.75$0.0751MPrevious-generation Flash. Price through 2026-12-31; from 2027-01-01: $1.50 in / $7.50 out.Official
Grok Build 0.1xAI$1.00$2.00$0.20256KCoding model. Requests of 200k+ tokens are billed at 2x. No batch discount.Official
Grok 4.3xAI$1.25$2.50$0.201MRequests of 200k+ tokens are billed at 2x. Batch 20% off.Official
Muse Spark 1.3Meta$1.25$4.25$0.151.05MMeta Model API. Contributor mode (lets Meta train on your data) costs $0.10 in / $0.20 out.Official
DeepSeek-V4-ProDeepSeek$1.32$3.96$0.0441MPeak price shown. Off-peak is 50% off ($0.66 in / $1.98 out / $0.022 cached). Version DeepSeek-V4-Pro-0813.Official
Mistral Large 4Mistral$1.36$4.18$0.141MPublic Preview. USD prices (EUR also shown).Official
GLM-5.3Z.ai$1.40$4.40$0.26n/aCache storage free for a limited time.Official
Mistral Medium 3.5Mistral$1.50$7.50$0.15256KGA.Official
GPT-5.3 CodexOpenAI$1.75$14.00$0.17n/aListed under Specialized models (Codex).Official
GPT-6.1 SolOpenAI$2.00$10.00$0.101.05MCache writes: 30m $2.50, 12h $5.00. Flex/Batch $1.00 in / $5.00 out. Regional endpoints +10%.Official
Claude Sonnet 5.5Anthropic$2.00$10.00$0.101MCache writes: 5m $2.50, 1h $4. Full 1M context at standard price. Batch 50% off.Official
Claude Sonnet 5Anthropic$2.00$10.00$0.20n/aPrevious generation, still listed. Cache writes: 5m $2.50, 1h $4. Batch 50% off.Official
Gemini 4 ArgonGoogle$2.00$10.00$0.101.05MIntroductory price through 2026-11-30; from 2026-12-01: $4.00 in / $20.00 out / $0.20 cached. Implicit caching only. Not on free tier. Batch pricing is lower.Official
Gemini 3.1 Pro PreviewGoogle$2.00$12.00$0.20n/aPreview. Prompts over 200k tokens: $4.00 in / $18.00 out / $0.40 cached.Official
Grok 4.7xAI$2.00$6.00$0.50500KRequests of 200k+ tokens are billed at 2x ($4 in / $12 out / $1 cached). Batch 20% off. US regional endpoint 1.1x.Official
Qwen3.8-MaxAlibaba (Qwen)$2.00$6.00$0.251MSingapore (International) price; Global-scope regions charge $1.65 in / $4.951 out. Implicit cache price shown. Batch 50% off.Official
Kimi K3Moonshot (Kimi)$3.00$15.00$0.301.05MLaunch price from the official announcement; the live pricing table did not render. Flat pricing, no context tiers. Now called the previous-generation flagship.Official
Claude Opus 5.5Anthropic$4.00$20.00$0.201MCache writes: 5m $5, 1h $8. Full 1M context at standard price. Batch 50% off.Official
Muse Wonder 1.0Meta$4.00$20.00$0.201.05MPreview. Standard mode only.Official
Claude Opus 5Anthropic$5.00$25.00$0.50n/aPrevious generation, still listed. Cache writes: 5m $6.25, 1h $10. Batch 50% off.Official
GPT-6 AstraOpenAI$10.00$50.00$1.001.05MFlagship. Cache writes billed separately (30m $12.50, 12h $25.00). Flex/Batch at half price; Fast and Ultrafast tiers cost more. Regional endpoints +10%.Official
Claude Fable 5.1Anthropic$10.00$50.00$0.251MTop tier, above Opus. Cache writes: 5m $12.50, 1h $20. Full 1M context at standard price. Batch 50% off.Official

Questions people ask

What is the cheapest LLM API right now?

GPT-6 Luna from OpenAI has the lowest input price we track: $0.10 per million input tokens and $0.50 per million output tokens.

Which LLM has the largest context window?

GPT-6 Astra (OpenAI) has the largest context window in this tracker: 1.05M tokens.

How much does the OpenAI API cost?

OpenAI API prices per million tokens (input / output): GPT-6 Astra $10.00 / $50.00; GPT-5.3 Codex $1.75 / $14.00; GPT-6.1 Sol $2.00 / $10.00; GPT-6 Luna $0.10 / $0.50.

How much does the Anthropic API cost?

Anthropic API prices per million tokens (input / output): Claude Fable 5.1 $10.00 / $50.00; Claude Opus 5 $5.00 / $25.00; Claude Opus 5.5 $4.00 / $20.00; Claude Sonnet 5.5 $2.00 / $10.00; Claude Sonnet 5 $2.00 / $10.00; Claude Haiku 5.5 $0.10 / $0.50.

How much does the Google API cost?

Google API prices per million tokens (input / output): Gemini 3.1 Pro Preview $2.00 / $12.00; Gemini 4 Argon $2.00 / $10.00; Gemini 3.8 Flash $0.75 / $3.75; Gemini 3.6 Flash $0.75 / $3.75; Gemini 3.5 Flash-Lite $0.30 / $2.50; Gemini 3.1 Flash-Lite $0.25 / $1.50.

How much does the xAI API cost?

xAI API prices per million tokens (input / output): Grok 4.7 $2.00 / $6.00; Grok 4.3 $1.25 / $2.50; Grok Build 0.1 $1.00 / $2.00.

How much does the Mistral API cost?

Mistral API prices per million tokens (input / output): Mistral Medium 3.5 $1.50 / $7.50; Mistral Large 4 $1.36 / $4.18; Codestral $0.30 / $0.90; Mistral Small 4 $0.15 / $0.60.

How much does the DeepSeek API cost?

DeepSeek API prices per million tokens (input / output): DeepSeek-V4-Pro $1.32 / $3.96; DeepSeek-V4.1-Flash $0.30 / $1.20.

How much does the Meta API cost?

Meta API prices per million tokens (input / output): Muse Wonder 1.0 $4.00 / $20.00; Muse Spark 1.3 $1.25 / $4.25.

How much does the Alibaba (Qwen) API cost?

Alibaba (Qwen) API prices per million tokens (input / output): Qwen3.8-Max $2.00 / $6.00; Qwen3.7-Plus $0.40 / $1.60; Qwen3.8-Flash $0.15 / $0.47.

How much does the Moonshot (Kimi) API cost?

Moonshot (Kimi) API prices per million tokens (input / output): Kimi K3 $3.00 / $15.00.

How much does the Z.ai API cost?

Z.ai API prices per million tokens (input / output): GLM-5.3 $1.40 / $4.40; GLM-5.3-Flash $0.15 / $0.50.

How much does the MiniMax API cost?

MiniMax API prices per million tokens (input / output): MiniMax-M3 $0.30 / $1.20; MiniMax-M3.1-Flash $0.15 / $0.60.

Methodology

Prices are standard pay-as-you-go API rates in US dollars per million tokens, taken from each provider's official pricing page. Where a provider charges more above a context threshold, we list the base rate and note the tier. Batch discounts, regional pricing and enterprise contracts are not included. Prices are re-verified automatically and the date above shows the last check.

Spotted an error? Every row links to the official page we used. Corrections follow our editorial standards.