LLM API pricing
270 models and 1,197 routes so far, 23 ways to buy, per 1M tokens; +161 added in the last 30 days
Latest price changes
All changes| Seen | Model | Old price | New price | Change |
|---|---|---|---|---|
| Oct 2Oct 2, 20265 days ago | Input $1.6Output $4.8Cached input $0.4 | Input $2Output $6Cached input $0.5 | +25% | |
| Aug 29Aug 29, 20265 weeks ago | Input $0.375Output $1.88Cached input $0.037 | Input $0.75Output $3.75Cached input $0.075 | +100% | |
| Aug 24Aug 24, 20266 weeks ago | Input $2.5Output $15Cached input $0.25 | Input $2Output $10Cached input $0.2 | -20% | |
| Aug 21Aug 21, 20266 weeks ago | Input $5Output $30Cached input $0.5 | Input $2.5Output $15Cached input $0.25 | -50% | |
| Aug 14Aug 14, 20267 weeks ago | Input $1.5Output $7.5Cached input $0.15 | Input $0.75Output $3.75Cached input $0.075 | -50% | |
| Jul 31Jul 31, 20262 months ago | Input $1.04Output $6.24 | Input $1.03Output $6.16 | -1% | |
| Jul 31Jul 31, 20262 months ago | Input $1.25Output $7.5Cached input $0.125 | Input $1Output $6Cached input $0.1 | -20% | |
| Jul 28Jul 28, 20262 months ago | Cached input $0.025 | Cached input $0.03 | +20% |
30 of 270 models
| In / out per 1M | Cheapest route | ||||||
|---|---|---|---|---|---|---|---|
Anthropic · 1M | $10 | $50 | $10 / $50 | $20 | 1M | Lab list price | · |
OpenAI · 1.05MCheapest: $10 on OpenAI (flex) | $10 | $50 | $10 / $50 | $20 | 1.05M | $10 on OpenAI (flex) | · |
Anthropic · 1M | $4 | $20 | $4 / $20 | $8 | 1M | Lab list price | · |
Anthropic · 1M | $10 | $50 | $10 / $50 | $20 | 1M | Lab list price | · |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · |
Anthropic · 1M | $5 | $25 | $5 / $25 | $10 | 1M | Lab list price | · |
Anthropic · 1M | $5 | $25 | $5 / $25 | $10 | 1M | Lab list price | · |
Anthropic · 1M | $2 | $10 | $2 / $10 | $4 | 1M | Lab list price | · |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · |
Anthropic · 1M | $5 | $25 | $5 / $25 | $10 | 1M | Lab list price | · |
Google · 1MCheapest: $0.75 on Google Gemini API (flex) | $0.75 | $3.75 | $0.75 / $3.75 | $1.5 | 1M | $0.75 on Google Gemini API (flex) | · |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Google · 1MCheapest: $2.25 on Google Vertex AI (global-flex) | $2 | $12 | $2 / $12 | $4.5 | 1M | $2.25 on Google Vertex AI (global-flex) | · |
OpenAI · 1.05MCheapest: $33.8 on OpenAI (flex) | $30 | $180 | $30 / $180 | $67.5 | 1.05M | $33.8 on OpenAI (flex) | · |
OpenAI · 1.05MCheapest: $5.63 on OpenAI (flex) | $5 | $30 | $5 / $30 | $11.3 | 1.05M | $5.63 on OpenAI (flex) | · |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex) | $0.75 | $3.75 | $0.75 / $3.75 | $1.5 | 1M | $0.75 on Google Vertex AI (global-flex) | · |
Qwen (Alibaba) · 1M | $2 | $6 | $2 / $6 | $3 | 1M | Lab list price | · |
Moonshot AI · 1M | $0.885 | $10.5 | $0.885 / $10.5 | $3.3 | 1M | on Sail Research (fp4) | · |
Anthropic · 200K | $5 | $25 | $5 / $25 | $10 | 200K | Lab list price | · |
Z.ai · 1M | $0.37 | $1.14 | $0.37 / $1.14 | $0.563 | 1M | on Relace | · |
Anthropic · 1M | $3 | $15 | $3 / $15 | $6 | 1M | Lab list price | · |
Qwen (Alibaba) · 1M | $2 | $6 | $2 / $6 | $3 | 1M | Lab list price | · |
Anthropic · 1M | $2 | $10 | $2 / $10 | $4 | 1M | Lab list price | · |
Anthropic · 1M | $3 | $15 | $3 / $15 | $6 | 1M | Lab list price | · |
Z.ai · 205K | $0.43 | $1.75 | $0.43 / $1.75 | $0.76 | 205K | on Venice (fp4) | · |
OpenAI · 1.05MCheapest: $2.25 on OpenAI (flex) | $2 | $12 | $2 / $12 | $4.5 | 1.05M | $2.25 on OpenAI (flex) | · |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Google · 1MCheapest: $1.69 on Google Vertex AI (global-flex) | $1.5 | $9 | $1.5 / $9 | $3.38 | 1M | $1.69 on Google Vertex AI (global-flex) | · |
Ways to buy model access
Compare allIndependent gatewaysHelicone, Kong AI Gateway, LiteLLM, Neon AI Gateway, Vercel AI Gateway, Cloudflare AI Gateway, Requesty, Eden AI, OpenRouter, Martian Gateway, Portkey, TrueFoundry AI Gateway12
Cloud model platformsAWS Bedrock, Azure AI Foundry, Google Vertex AI, IBM watsonx.ai, OCI Generative AI5
Data platformsDatabricks Mosaic AI, Snowflake Cortex AI, BigQuery ML3
Developer hubsHugging Face Inference, Cloudflare Workers AI, NVIDIA NIM3
Questions
What is the cheapest LLM API?
Sort the models page by blended price, or read the lower-left corner of the price map. The cheapest capable models are usually the small "flash", "mini" or "lite" tiers and open-weight models served by hosts; the cheapest route for an open model is often a host rather than the lab.
How are LLM API prices quoted?
In US dollars per million tokens, with separate prices for input (the prompt) and output (what the model writes). Output usually costs 3 to 8 times input. Cached input and batch requests are cheaper where a provider offers them.
What does "blended" price mean here?
One number for ranking: three parts input to one part output, the usual mix for chat and retrieval work. Your own mix may differ; the calculator uses your actual token counts.
Where do the prices come from?
OpenRouter's public model catalog and its per-provider endpoint list, read every morning at 05:00 UTC, which carries each provider's list price. Each provider page links to the official pricing page. Price history before tracking began comes from Internet Archive snapshots of the same catalog.
Is GPT or Claude cheaper?
It depends on the tier. Compare them side by side on the compare page, which shows input, output, cached and batch prices and every route (the lab, Azure, Bedrock, Vertex).
Do AI gateways charge extra?
Some do. OpenRouter adds a fee when you buy credits, Vercel AI Gateway says it adds no markup, and self-hosted proxies like LiteLLM add nothing but your own hosting. The gateways page lists each one with its source.