LLM API pricing in December 2026: every model compared, with a calculator
Input, cached and output prices for every chat model next to the developer's list, plus a calculator that prices your workload at list and here. Live catalog.
The lowest-priced LLM API on the index today with a stable real-model check is DeepSeek V4 Flash 0731 at $0.0815 in and $0.1164 out per million tokens on UplinkSwitch, against DeepSeek's $0.14 and $0.28. Claude Sonnet 5.5 is $1.20 in and $3.00 out and GPT-6.1 Sol $0.60 and $3.00. 64 of the 85 chat models with a developer list price are priced under it on input and output, rebuilt below from the live catalog.
Updated 2026-10-19 with the cost calculator and the sections on what LLM API pricing is, its types, how to estimate a bill, best practices, mistakes and tools.

The short answer
LLM API pricing is per million tokens, at three rates: input, cached input and output. The tables on this page put each developer's list price next to ours for 85 chat models from 14 developers, read from the live catalog when the page was built. 64 of them are priced here under list on both input and output, up to 85% under on the widest gap. The lowest-priced model from each developer is below, then the calculator, then every model grouped by developer.
| Developer | Lowest-priced model | Input | Output | List |
|---|---|---|---|---|
| Anthropic | Claude Haiku 5.5 | $0.06 | $0.15 | $0.10 / $0.50 |
| DeepSeek | DeepSeek V4 Flash 0731 | $0.0815 | $0.1164 | $0.14 / $0.28 |
| Gemini 2.5 Flash Lite | $0.075 | $0.30 | $0.10 / $0.40 | |
| Meta | Muse Spark 1.3 Contributor | $0.15 | $0.30 | $0.10 / $0.20 |
| MiniMax | MiniMax M3 | $0.09 | $0.36 | $0.30 / $1.20 |
| Mistral | Ministral 14B 2512 | $0.20 | $0.20 | $0.20 / $0.20 |
| Moonshot AI | Kimi K2.7 Code | $0.426 | $1.7936 | $0.95 / $4.00 |
| NVIDIA | Nemotron 3.5 Super VL | $0.225 | $0.75 | $0.15 / $0.50 |
| OpenAI | GPT-6 Luna | $0.0625 | $0.20 | $0.10 / $0.50 |
| Qwen | Qwen3.8 Omni Flash | $0.137 | $0.4623 | $0.15 / $0.47 |
| Tencent | Hy3 | $0.1063 | $0.44 | $0.139 / $0.556 |
| xAI | Grok 4.5 | $0.60 | $1.80 | $2.00 / $6.00 |
| Xiaomi | MiMo V2.6 Flash | $0.084 | $0.12 | $0.14 / $0.28 |
| Z.ai | GLM 5.3 Flash | $0.09 | $0.15 | $0.15 / $0.50 |
Lowest by output price, then input. A model that did not answer the last real-model check (/proof) is skipped.
485 of 509 models answered today's real-model check with the same result as before. The verdicts are live, so the count moves with the check.
LLM API cost calculator
Pick a model, enter the tokens of one request and the requests a day, and read the same workload priced at the developer's list rate and at ours. Cached input is counted at its own rate, since on an agent loop it is most of the bill.
Per million tokens here: $1.20 in, $0.0750 cached, $3.00 out. Anthropic's list: $2.00 in, $0.1000 cached, $10.00 out.
| Workload | At Anthropic's list price | Here | Saving |
|---|---|---|---|
| One request | $0.00900 | $0.00390 | $0.00510 (56%) |
| 100 requests a day | $0.9000 | $0.3900 | $0.5100 (56%) |
| A month of 30 days | $27.00 | $11.70 | $15.30 (56%) |
Rates per million tokens from the live catalog when this page was built, rebuilt at most every five minutes. Cached tokens bill at the cached rate, or the input rate on a model without one; cache writes are not counted. A real request is billed on the model's own token count.
The same arithmetic as JSON, for every model at once: POST https://api.uplinkswitch.com/v1/estimate with input_tokens and output_tokens, no key needed.
LLM API pricing by developer
Every listed chat model with a developer list price, grouped by developer: input and output per million tokens here, the cached rate, and the developer's list input and output beside them. The last column is the percent under list on input and on output, rounded down. Each model name links to its page, where the list price carries the date it was read.
Anthropic: 13 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Claude Fable 5 | $3.00 | $0.30 | $15.00 | $10.00 | $50.00 | 70% in, 70% out |
| Claude Fable 5.1 | $6.00 | $2.00 | $30.00 | $10.00 | $50.00 | 40% in, 40% out |
| Claude Fable 5.2 | $4.00 | $0.184 | $20.00 | $8.00 | $40.00 | 50% in, 50% out |
| Claude Haiku 4.5 | $0.60 | $0.06 | $3.00 | $1.00 | $5.00 | 40% in, 40% out |
| Claude Haiku 5.5 | $0.06 | $0.01 | $0.15 | $0.10 | $0.50 | 40% in, 70% out |
| Claude Opus 4.6 | $2.00 | $0.20 | $7.50 | $5.00 | $25.00 | 60% in, 70% out |
| Claude Opus 4.7 | $2.00 | $0.20 | $7.50 | $5.00 | $25.00 | 60% in, 70% out |
| Claude Opus 4.8 | $2.00 | $0.20 | $7.50 | $5.00 | $25.00 | 60% in, 70% out |
| Claude Opus 5 | $2.00 | $0.20 | $7.50 | $5.00 | $25.00 | 60% in, 70% out |
| Claude Opus 5.5 | $2.80 | $0.15 | $10.00 | $4.00 | $20.00 | 30% in, 50% out |
| Claude Sonnet 4.6 | $1.80 | $0.18 | $9.00 | $3.00 | $15.00 | 40% in, 40% out |
| Claude Sonnet 5 | $1.20 | $0.12 | $3.00 | $2.00 | $10.00 | 40% in, 70% out |
| Claude Sonnet 5.5 | $1.20 | $0.075 | $3.00 | $2.00 | $10.00 | 40% in, 70% out |
DeepSeek: 7 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| DeepSeek V4 Flash 0423 | $0.30 | $0.006 | $1.20 | $0.30 | $1.20 | 0% in, 0% out |
| DeepSeek V4 Flash 0731 | $0.0815 | $0.0033 | $0.1164 | $0.14 | $0.28 | 41% in, 58% out |
| DeepSeek V4 Flash Vision Exp | $0.21 | $0.0042 | $0.84 | $0.30 | $1.20 | 30% in, 30% out |
| DeepSeek V4 Pro 0423 | $0.792 | $0.0264 | $2.376 | $1.32 | $3.96 | 40% in, 40% out |
| DeepSeek V4 Pro 0813 | $0.792 | $0.0625 | $1.188 | $1.32 | $3.96 | 40% in, 70% out |
| DeepSeek V4.1 Flash | $0.06 | $0.0063 | $0.18 | $0.30 | $1.20 | 80% in, 85% out |
| DeepSeek V4.1 Flash 1017 | $0.25 | $0.006 | $1.20 | $0.30 | $1.20 | 16% in, 0% out |
Google: 16 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Gemini 2.5 Flash | $0.30 | $0.03 | $2.50 | $0.30 | $2.50 | 0% in, 0% out |
| Gemini 2.5 Flash Lite | $0.075 | $0.06 | $0.30 | $0.10 | $0.40 | 25% in, 25% out |
| Gemini 2.5 Pro | $0.9375 | $0.0938 | $7.50 | $1.25 | $10.00 | 25% in, 25% out |
| Gemini 3 Flash Preview | $0.375 | $0.0375 | $2.25 | $0.50 | $3.00 | 25% in, 25% out |
| Gemini 3 Pro Preview | $5.00 | input rate | $22.50 | $2.00 | $12.00 | 0% in, 0% out |
| Gemini 3.1 Flash Lite | $0.15 | $0.15 | $0.90 | $0.25 | $1.50 | 40% in, 40% out |
| Gemini 3.1 Flash Lite Preview | $0.1875 | $0.0188 | $1.125 | $0.25 | $1.50 | 25% in, 25% out |
| Gemini 3.1 Pro | $1.20 | $0.7353 | $7.20 | $2.00 | $12.00 | 40% in, 40% out |
| Gemini 3.1 Pro Preview | $1.20 | $0.12 | $7.20 | $2.00 | $12.00 | 40% in, 40% out |
| Gemini 3.5 Flash | $1.50 | $0.15 | $9.00 | $1.50 | $9.00 | 0% in, 0% out |
| Gemini 3.5 Flash Lite | $0.225 | $0.0225 | $1.875 | $0.30 | $2.50 | 25% in, 25% out |
| Gemini 3.6 Flash | $0.4925 | $0.0492 | $2.25 | $0.75 | $3.75 | 34% in, 39% out |
| Gemini 3.7 Flash | $0.4925 | $0.0493 | $2.25 | $0.75 | $3.75 | 34% in, 39% out |
| Gemini 3.8 Flash | $0.4925 | $0.0493 | $2.25 | $0.75 | $3.75 | 34% in, 40% out |
| Gemini 4 Argon | $1.20 | $0.0625 | $3.00 | $2.00 | $10.00 | 40% in, 70% out |
| Gemini 4 Neon | $2.475 | $0.1238 | $12.375 | $3.00 | $15.00 | 17% in, 17% out |
Meta: 1 model
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Muse Spark 1.3 Contributor | $0.15 | $0.003 | $0.30 | $0.10 | $0.20 | 0% in, 0% out |
MiniMax: 5 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| MiniMax M2 | $0.30 | input rate | $2.295 | $0.30 | $1.20 | 0% in, 0% out |
| MiniMax M2.5 | $0.405 | $0.0405 | $1.62 | $0.30 | $1.20 | 0% in, 0% out |
| MiniMax M2.7 | $0.315 | $0.063 | $1.26 | $0.30 | $1.20 | 0% in, 0% out |
| MiniMax M3 | $0.09 | $0.018 | $0.36 | $0.30 | $1.20 | 70% in, 70% out |
| Minimax M3.1 Flash | $0.105 | $0.0105 | $0.42 | $0.15 | $0.60 | 30% in, 30% out |
Mistral: 1 model
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Ministral 14B 2512 | $0.20 | $0.02 | $0.20 | $0.20 | $0.20 | 0% in, 0% out |
Moonshot AI: 6 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Kimi K2.5 | $0.5625 | input rate | $3.00 | $0.45 | $2.25 | 0% in, 0% out |
| Kimi K2.6 | $0.95 | $0.16 | $4.00 | $0.95 | $4.00 | 0% in, 0% out |
| Kimi K2.7 | $0.475 | $0.0475 | $2.00 | $0.95 | $4.00 | 50% in, 50% out |
| Kimi K2.7 Code | $0.426 | $0.0852 | $1.7936 | $0.95 | $4.00 | 55% in, 55% out |
| Kimi K3 | $0.90 | $0.12 | $4.50 | $3.00 | $15.00 | 70% in, 70% out |
| Kimi K3.1 Pro | $1.00 | $0.10 | $5.00 | $2.00 | $10.00 | 50% in, 50% out |
NVIDIA: 1 model
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Nemotron 3.5 Super VL | $0.225 | $0.03 | $0.75 | $0.15 | $0.50 | 0% in, 0% out |
OpenAI: 13 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| GPT-4o | $2.50 | $1.25 | $10.00 | $2.50 | $10.00 | 0% in, 0% out |
| GPT-4o mini | $0.15 | $0.075 | $0.60 | $0.15 | $0.60 | 0% in, 0% out |
| GPT-5.3-Codex | $1.75 | $0.18 | $14.00 | $1.75 | $14.00 | 0% in, 0% out |
| GPT-5.4 | $1.50 | $0.15 | $9.00 | $2.50 | $15.00 | 40% in, 40% out |
| GPT-5.4 Mini | $0.75 | $0.075 | $4.50 | $0.75 | $4.50 | 0% in, 0% out |
| GPT-5.5 | $1.80 | $0.16 | $9.00 | $5.00 | $30.00 | 64% in, 70% out |
| GPT-5.6 Luna | $0.12 | $0.012 | $0.72 | $0.20 | $1.20 | 40% in, 40% out |
| GPT-5.6 Sol | $1.20 | $0.12 | $3.00 | $4.00 | $20.00 | 70% in, 85% out |
| GPT-5.6 Terra | $1.20 | $0.12 | $3.60 | $2.00 | $12.00 | 40% in, 70% out |
| GPT-6 Astra | $3.00 | $0.30 | $15.00 | $10.00 | $50.00 | 70% in, 70% out |
| GPT-6 Luna | $0.0625 | $0.0125 | $0.20 | $0.10 | $0.50 | 37% in, 60% out |
| GPT-6 Sol | $0.60 | $0.12 | $3.00 | $2.00 | $10.00 | 70% in, 70% out |
| GPT-6.1 Sol | $0.60 | $0.06 | $3.00 | $2.00 | $10.00 | 70% in, 70% out |
Qwen: 5 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Qwen3.7 Max | $0.6471 | $0.0885 | $1.9412 | $1.475 | $4.425 | 56% in, 56% out |
| Qwen3.7 Plus | $0.1961 | $0.0392 | $0.7846 | $0.32 | $1.28 | 38% in, 38% out |
| Qwen3.8 2.4T-A95B | $1.00 | $0.10 | $3.00 | $2.00 | $6.00 | 50% in, 50% out |
| Qwen3.8 Max (0902) | $2.0548 | $0.075 | $6.1644 | $2.00 | $6.00 | 0% in, 0% out |
| Qwen3.8 Omni Flash | $0.137 | input rate | $0.4623 | $0.15 | $0.47 | 8% in, 1% out |
Tencent: 2 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Hy3 | $0.1063 | $0.0263 | $0.44 | $0.139 | $0.556 | 23% in, 20% out |
| Hy4 preview | $1.251 | $0.063 | $3.7515 | $0.834 | $2.50 | 0% in, 0% out |
xAI: 5 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Grok 4.3 | $1.875 | $0.30 | $3.75 | $1.25 | $2.50 | 0% in, 0% out |
| Grok 4.5 | $0.60 | $0.09 | $1.80 | $2.00 | $6.00 | 70% in, 70% out |
| Grok 4.6 | $0.60 | $0.15 | $1.80 | $2.00 | $6.00 | 70% in, 70% out |
| Grok 4.7 | $0.60 | $0.15 | $1.80 | $2.00 | $6.00 | 70% in, 70% out |
| Grok 4.7 Build Fast | $2.00 | $0.20 | $6.00 | $4.00 | $12.00 | 50% in, 50% out |
Xiaomi: 4 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| MiMo V2.6 Flash | $0.084 | $0.0025 | $0.12 | $0.14 | $0.28 | 40% in, 57% out |
| MiMo V2.6 Pro | $0.261 | $0.0038 | $0.40 | $0.435 | $0.87 | 40% in, 54% out |
| MiMo-V2.5 | $0.175 | $0.0118 | $0.35 | $0.14 | $0.28 | 0% in, 0% out |
| MiMo-V2.5-Pro | $0.261 | $0.0022 | $0.522 | $0.435 | $0.87 | 40% in, 40% out |
Z.ai: 6 models
| Model | Input | Cached | Output | List input | List output | Under list |
|---|---|---|---|---|---|---|
| GLM 5.1 | $0.3824 | $0.325 | $1.2017 | $0.966 | $3.036 | 60% in, 60% out |
| GLM 5.2 | $0.24 | $0.068 | $0.60 | $0.60 | $2.00 | 60% in, 70% out |
| GLM 5.3 | $0.3276 | $0.068 | $1.0296 | $1.092 | $3.432 | 70% in, 70% out |
| GLM 5.3 Flash | $0.09 | $0.0112 | $0.15 | $0.15 | $0.50 | 40% in, 70% out |
| GLM 5.3 FlashX | $0.0479 | $0.045 | $0.1596 | $0.075 | $0.25 | 36% in, 36% out |
| GLM 5.4 | $0.42 | $0.078 | $1.32 | $1.40 | $4.40 | 70% in, 70% out |
What LLM API pricing is
LLM API pricing is per-token metering. A request is billed on the tokens it sends (input), the tokens the model writes back (output) and, where the developer offers prompt caching, the tokens read back from cache at a cached rate below input. Each rate is quoted per million tokens. Some developers add batch rates for delayed jobs and tiered rates above a context length; those sit on their pricing pages (Anthropic, OpenAI). The list price is the developer's own page. A reseller's price is what you pay, and the tables here show both.
Why the price per token matters more than the plan price
Output tokens cost more than input tokens at every developer on the index: 1x to 8.3x the input rate at list, 5x on Claude Sonnet 5.5. So the shape of the work sets the bill. A chat turn is mostly input and a short answer; a long document is almost all input; an agent loop writes thousands of output tokens per step and re-reads its whole context on each one. On an agent loop the cached rate changes the bill more than the choice of model, which Claude Code pricing works through turn by turn. A plan price hides all of this behind a monthly cap; a per-token price shows it.
Types of LLM API pricing
- Per-token at list, by family, each with the developer's rate next to ours per model: Claude API pricing, GPT API pricing, Gemini API pricing, DeepSeek API pricing, Grok API pricing, Kimi API pricing, GLM API pricing, Qwen API pricing.
- Cached input and prompt caching: a second, lower rate for the part of the prompt the model has seen before. Claude Code cost per token shows how far it moves a session's bill.
- Free tiers and starter credit: rate-limited, meant for trying a model, not for running one. Free AI API options lists what each developer gives and what $1 buys per model here.
- Plans versus per-token: a monthly price with a usage cap against a bill that follows the work, worked in coding plans vs pay-per-token API for the Kimi, GLM and Qwen plans and in the Claude Code post for Anthropic's.
- Media per second and per image: video and image models bill per clip second or per image, priced here against the developer's list in the media API guide and on the media model pages.
- Under-list pricing with a 30-day lock: the rates in these tables, published as the LLM API price index. Each paid top-up locks them for 30 days, and billing takes the lowest live rate inside the window.
How to estimate an LLM API bill, step by step
- Count the tokens of one request. About 4 characters per token in English; the estimate endpoint uses the same rule, and a real request is billed on the model's own count.
- Split them into input, cached input and output. Cached input is the prefix you repeat: the system prompt, the tool list, the conversation so far.
- Multiply each count by its rate per million and add the three.
- Multiply by requests a day and days a month.
- Check it in the calculator above, or with
POST https://api.uplinkswitch.com/v1/estimate.
Worked on Claude Sonnet 5.5: 2,000 input tokens at $2.00 plus 500 output tokens at $10.00, per million, is $0.009 a request at list and $0.0039 here. At 100 requests a day for 30 days that is $27.00 at list and $11.70 here.
Best practices
- Keep a stable prefix. The system prompt and tool definitions go first and never change mid-session, so they come back from cache at the cached rate.
- Pick the model class per task: a flagship for planning and review, a flash-class model for bulk extraction and classification.
- Set a monthly spend limit on every key, so a loop stops at a number you chose.
- Lock the price with a top-up: each one holds the rates for 30 days, and billing takes the lowest live rate.
- Download the price index CSV and diff it monthly; a rate change shows as one changed row.
Common mistakes
- Comparing list prices only. The list is the developer's page; what you pay depends on where you buy.
- Ignoring the cached rate. On a long session most input tokens are cached ones.
- Counting input only on an agent loop. Output is the larger share of the bill there, at 1x to 8.3x the input rate.
- Treating a free tier as a price. It is a rate limit with a cutoff; the per-token price is what the work costs once it passes.
Tools for LLM API pricing
- The LLM API price index: the rows on this page as JSON and CSV, rebuilt every five minutes.
- The calculator above, and
POST https://api.uplinkswitch.com/v1/estimatefor the same figures as JSON. - The LLM cost calculator: the cost of one request and of a month of them, for any model on the list.
- Savings: upload an OpenAI or Anthropic usage export and read the month re-priced at these rates.
/llms-full.txt: the catalog and prices in one text file for agents.- The daily real-model check, and signed receipts and monthly statements with a public verifier at statements/verify.
- Other tables: benchlm.ai and pricepertoken.com publish list-price tables across developers; this page adds a price under list beside each. Reviews on Product Hunt.
Method
The rows are the price index, built from GET https://api.uplinkswitch.com/v1/catalog when this page was built (2026-12-03 11:54 UTC) and rebuilt at most every five minutes. A list price is the developer's own published rate per million tokens, read from its pricing page; the date it was read is on each model page. The percent under list is rounded down to a whole number, and 0% means at or above list on that class.
Left out: models with no list price on record (the Models page lists them with our price alone), and third-party modified builds. Dated snapshots and effort variants fold into their base model.
This post keeps its URL and is refreshed monthly with the month in the title. The numbers above are whatever the catalog says now.
Get the data
The same rows as JSON and CSV (/pricing-index.json, /pricing-index.csv), cached for five minutes, each with an x-uplink-generated header carrying the build time. Cite the index, not this post.
Pricing by family, each with the developer's list price next to ours: Claude, GPT, Gemini, Grok, DeepSeek, Kimi, GLM, Qwen, MiniMax, MiMo.