LLM API Pricing Compared: 360 Models, Live Prices
LLM API pricing compared: input and output prices per million tokens for 360 models from OpenAI, Anthropic, Google, DeepSeek, Mistral and more, refreshed every 30 minutes from OpenRouter's live price list.
Prices in US dollars per 1 million tokens. Last checked Mon, 23 Nov 2026 09:44 UTC.
Newest models from the big AI labs
OpenAI
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| GPT-6.2 Astra Pro | $8 | $40 | 1.1M |
| GPT-6.2 Astra | $8 | $40 | 1.1M |
| GPT-6.2 Sol Pro | $2 | $10 | 1.1M |
Anthropic
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Claude Fable 5.2 | $8 | $40 | 1M |
| Claude Haiku 5.5 | $0.1 | $0.5 | 1M |
| Claude Sonnet 5.5 | $2 | $10 | 1M |
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Gemini 4 Neon | $3 | $15 | 1M |
| Gemini 4 Hydrogen | $1.5 | $7.5 | 1M |
| Gemini 4 Carbon | $2 | $10 | 1M |
SpaceXSI
DeepSeek
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.3 | $1.2 | 1M |
| DeepSeek V4.1 Flash | $0.05 | $0.199 | 1M |
| DeepSeek V4 Flash Vision Exp | $0.216 | $0.647 | 1M |
Mistral
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Pixtral Large 2502 | $2 | $6 | 128K |
| Mistral Large 4 | $0.7 | $2.1 | 1M |
| Mistral Medium 3.5 | $1.5 | $7.5 | 262K |
Qwen
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Qwen4 Max | $1.43 | $4.28 | 1M |
| Qwen3.8 Max Prime | $4 | $12 | 1M |
| Qwen3.8 Omni Flash | $0.15 | $0.47 | 1M |
MoonshotAI
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Kimi K3.1 Pro | $0.24 | $8.4 | 1M |
| Kimi K3 | $0.192 | $16 | 1M |
| Kimi K2.7 Code | $0.6 | $3 | 262K |
Z.ai
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| GLM 5.3 FlashX Legal | $0.37 | $1.25 | 1M |
| GLM 5.3 Prime | $1.68 | $5.28 | 1M |
| GLM 5.3 FlashX | $0.37 | $1.25 | 1M |
Meta
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Llama 4 Maverick | $0.35 | $1 | 524K |
| Llama 4 Scout | $0.1 | $0.3 | 1.3M |
| Llama 3.3 70B Instruct | $0.71 | $0.71 | 131K |
Cheapest LLM APIs right now
The 10 lowest-priced models with at least a 32K-token context window, weighted towards input price, since most requests send more than they get back. Need it free? See the free LLM API guide and the free LLM API calculator.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| inclusionAI: Ling 3.0 Tiny | $0.015 | $0.045 | 262K |
| Meta: Llama 3.1 8B Instruct | $0.02 | $0.04 | 131K |
| Mistral: Mistral Nemo | $0.029 | $0.03 | 131K |
| inclusionAI: Ling 3.0 Flash | $0.021 | $0.063 | 262K |
| Google: Gemma 3 4B | $0.04 | $0.05 | 131K |
| Nex AGI: Nex-N2.5-Mini | $0.025 | $0.1 | 262K |
| Z.ai: GLM Flash Latest | $0.04 | $0.078 | 1M |
| Z.ai: GLM 5.3 Flash | $0.04 | $0.078 | 1M |
| Qwen: Qwen3.7 Flash | $0.03 | $0.13 | 1M |
| OpenAI: gpt-oss-20b | $0.03 | $0.13 | 131K |
Every model's price
Pricing by lab, calculator and guides
By lab: Claude API pricing, OpenAI API pricing, Gemini API pricing, DeepSeek API pricing, Grok API pricing, Mistral API pricing, Qwen API pricing, Kimi API pricing, Meta Llama API pricing. Head to head: OpenAI vs Claude, Gemini vs Claude, DeepSeek vs OpenAI. Tools: the LLM API cost calculator and the cheapest LLM APIs. New to this? Start with the LLM API guide for beginners.
Where these prices come from
Every price is read from OpenRouter's public models API, which passes through each provider's own price with no markup on inference. Always check the provider's pricing page before a big job. The raw prices are free JSON: llm-pricing.json (CC BY 4.0).
Questions
What is the cheapest LLM API?
Among models with at least a 32K context window, the cheapest right now are inclusionAI: Ling 3.0 Tiny ($0.015 in, $0.045 out per million tokens), Meta: Llama 3.1 8B Instruct ($0.02 in, $0.04 out per million tokens), Mistral: Mistral Nemo ($0.029 in, $0.03 out per million tokens). Several models are also completely free: see the free LLM API guide.
How much does the OpenAI API cost?
OpenAI's newest model here, GPT-6.2 Astra Pro, costs $8 per million input tokens and $40 per million output tokens. Smaller OpenAI models cost much less; see the table.
How much does the Claude API cost?
Claude Fable 5.2 costs $8 per million input tokens and $40 per million output tokens. The full Anthropic line-up is in the table.
How much does the Gemini API cost?
Gemini 4 Neon costs $3 per million input tokens and $15 per million output tokens. Some Gemini models also have a free tier through Google AI Studio.
What does price per million tokens mean?
A token is roughly three quarters of an English word, so a million tokens is about 750,000 words. Input tokens are what you send (your prompt and any documents); output tokens are what the model writes back, and usually cost more.
Is OpenRouter's price the same as buying from the provider?
OpenRouter says it passes through the underlying providers' prices with no markup on inference. It charges a 5.5% fee (minimum $0.80) when you buy credits, so the total is slightly higher than going direct.
What are batch prices?
92 models also have a batch version, usually around half price, for requests that don't need an instant answer. They're listed in the full table.
Get this in your inbox at 7am
One free email each morning with the AI repos, models and stories that are picking up speed, including new free models. Your own time zone, no spam.