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.
- 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.
| Notes | Source | ||||||
|---|---|---|---|---|---|---|---|
| GPT-6 Luna | OpenAI | $0.10 | $0.50 | $0.010 | 1.05M | Small/cheap tier. Cache writes: 30m $0.125, 12h $0.25. Flex/Batch at half price. | Official |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | $0.010 | 1M | Tiered: prompts over 100k tokens cost $0.50 in / $2.50 out / $0.05 cache hit. Batch 50% off. | Official |
| Mistral Small 4 | Mistral | $0.15 | $0.60 | $0.015 | n/a | Version v26.03. | Official |
| Qwen3.8-Flash | Alibaba (Qwen) | $0.15 | $0.47 | n/a | 1M | Singapore (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-Flash | Z.ai | $0.15 | $0.50 | $0.030 | n/a | Cache storage free for a limited time. | Official |
| MiniMax-M3.1-Flash | MiniMax | $0.15 | $0.60 | $0.015 | 1M | n/a | Official |
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.025 | n/a | Text/image/video price shown; audio input $0.50. | Official | |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.030 | 1.05M | Same price for text, image, video and audio input. Cache storage $1.00/1M tokens/hour. | Official | |
| Codestral | Mistral | $0.30 | $0.90 | $0.030 | n/a | Code model. | Official |
| DeepSeek-V4.1-Flash | DeepSeek | $0.30 | $1.20 | $0.006 | 1M | Peak 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-M3 | MiniMax | $0.30 | $1.20 | $0.060 | 1M | Labeled 'permanent 50% off'. Over 512k input: $0.60 in / $2.40 out. Priority tier costs 1.5x. | Official |
| Qwen3.7-Plus | Alibaba (Qwen) | $0.40 | $1.60 | $0.080 | 1M | Singapore (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 Flash | $0.75 | $3.75 | $0.075 | 1.05M | Price 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 Flash | $0.75 | $3.75 | $0.075 | 1M | Previous-generation Flash. Price through 2026-12-31; from 2027-01-01: $1.50 in / $7.50 out. | Official | |
| Grok Build 0.1 | xAI | $1.00 | $2.00 | $0.20 | 256K | Coding model. Requests of 200k+ tokens are billed at 2x. No batch discount. | Official |
| Grok 4.3 | xAI | $1.25 | $2.50 | $0.20 | 1M | Requests of 200k+ tokens are billed at 2x. Batch 20% off. | Official |
| Muse Spark 1.3 | Meta | $1.25 | $4.25 | $0.15 | 1.05M | Meta Model API. Contributor mode (lets Meta train on your data) costs $0.10 in / $0.20 out. | Official |
| DeepSeek-V4-Pro | DeepSeek | $1.32 | $3.96 | $0.044 | 1M | Peak price shown. Off-peak is 50% off ($0.66 in / $1.98 out / $0.022 cached). Version DeepSeek-V4-Pro-0813. | Official |
| Mistral Large 4 | Mistral | $1.36 | $4.18 | $0.14 | 1M | Public Preview. USD prices (EUR also shown). | Official |
| GLM-5.3 | Z.ai | $1.40 | $4.40 | $0.26 | n/a | Cache storage free for a limited time. | Official |
| Mistral Medium 3.5 | Mistral | $1.50 | $7.50 | $0.15 | 256K | GA. | Official |
| GPT-5.3 Codex | OpenAI | $1.75 | $14.00 | $0.17 | n/a | Listed under Specialized models (Codex). | Official |
| GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | $0.10 | 1.05M | Cache writes: 30m $2.50, 12h $5.00. Flex/Batch $1.00 in / $5.00 out. Regional endpoints +10%. | Official |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | $0.10 | 1M | Cache writes: 5m $2.50, 1h $4. Full 1M context at standard price. Batch 50% off. | Official |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | $0.20 | n/a | Previous generation, still listed. Cache writes: 5m $2.50, 1h $4. Batch 50% off. | Official |
| Gemini 4 Argon | $2.00 | $10.00 | $0.10 | 1.05M | Introductory 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 Preview | $2.00 | $12.00 | $0.20 | n/a | Preview. Prompts over 200k tokens: $4.00 in / $18.00 out / $0.40 cached. | Official | |
| Grok 4.7 | xAI | $2.00 | $6.00 | $0.50 | 500K | Requests of 200k+ tokens are billed at 2x ($4 in / $12 out / $1 cached). Batch 20% off. US regional endpoint 1.1x. | Official |
| Qwen3.8-Max | Alibaba (Qwen) | $2.00 | $6.00 | $0.25 | 1M | Singapore (International) price; Global-scope regions charge $1.65 in / $4.951 out. Implicit cache price shown. Batch 50% off. | Official |
| Kimi K3 | Moonshot (Kimi) | $3.00 | $15.00 | $0.30 | 1.05M | Launch 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.5 | Anthropic | $4.00 | $20.00 | $0.20 | 1M | Cache writes: 5m $5, 1h $8. Full 1M context at standard price. Batch 50% off. | Official |
| Muse Wonder 1.0 | Meta | $4.00 | $20.00 | $0.20 | 1.05M | Preview. Standard mode only. | Official |
| Claude Opus 5 | Anthropic | $5.00 | $25.00 | $0.50 | n/a | Previous generation, still listed. Cache writes: 5m $6.25, 1h $10. Batch 50% off. | Official |
| GPT-6 Astra | OpenAI | $10.00 | $50.00 | $1.00 | 1.05M | Flagship. 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.1 | Anthropic | $10.00 | $50.00 | $0.25 | 1M | Top 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.