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.

·UplinkSwitch·All posts

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.

Bar chart: flagship output prices per million tokens, list price next to ours
Rendered from the catalog on October 23, 2026.

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.

DeveloperLowest-priced modelInputOutputList
AnthropicClaude Haiku 5.5$0.06$0.15$0.10 / $0.50
DeepSeekDeepSeek V4 Flash 0731$0.0815$0.1164$0.14 / $0.28
GoogleGemini 2.5 Flash Lite$0.075$0.30$0.10 / $0.40
MetaMuse Spark 1.3 Contributor$0.15$0.30$0.10 / $0.20
MiniMaxMiniMax M3$0.09$0.36$0.30 / $1.20
MistralMinistral 14B 2512$0.20$0.20$0.20 / $0.20
Moonshot AIKimi K2.7 Code$0.426$1.7936$0.95 / $4.00
NVIDIANemotron 3.5 Super VL$0.225$0.75$0.15 / $0.50
OpenAIGPT-6 Luna$0.0625$0.20$0.10 / $0.50
QwenQwen3.8 Omni Flash$0.137$0.4623$0.15 / $0.47
TencentHy3$0.1063$0.44$0.139 / $0.556
xAIGrok 4.5$0.60$1.80$2.00 / $6.00
XiaomiMiMo V2.6 Flash$0.084$0.12$0.14 / $0.28
Z.aiGLM 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.

WorkloadAt Anthropic's list priceHereSaving
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

ModelInputCachedOutputList inputList outputUnder list
Claude Fable 5$3.00$0.30$15.00$10.00$50.0070% in, 70% out
Claude Fable 5.1$6.00$2.00$30.00$10.00$50.0040% in, 40% out
Claude Fable 5.2$4.00$0.184$20.00$8.00$40.0050% in, 50% out
Claude Haiku 4.5$0.60$0.06$3.00$1.00$5.0040% in, 40% out
Claude Haiku 5.5$0.06$0.01$0.15$0.10$0.5040% in, 70% out
Claude Opus 4.6$2.00$0.20$7.50$5.00$25.0060% in, 70% out
Claude Opus 4.7$2.00$0.20$7.50$5.00$25.0060% in, 70% out
Claude Opus 4.8$2.00$0.20$7.50$5.00$25.0060% in, 70% out
Claude Opus 5$2.00$0.20$7.50$5.00$25.0060% in, 70% out
Claude Opus 5.5$2.80$0.15$10.00$4.00$20.0030% in, 50% out
Claude Sonnet 4.6$1.80$0.18$9.00$3.00$15.0040% in, 40% out
Claude Sonnet 5$1.20$0.12$3.00$2.00$10.0040% in, 70% out
Claude Sonnet 5.5$1.20$0.075$3.00$2.00$10.0040% in, 70% out

DeepSeek: 7 models

ModelInputCachedOutputList inputList outputUnder list
DeepSeek V4 Flash 0423$0.30$0.006$1.20$0.30$1.200% in, 0% out
DeepSeek V4 Flash 0731$0.0815$0.0033$0.1164$0.14$0.2841% in, 58% out
DeepSeek V4 Flash Vision Exp$0.21$0.0042$0.84$0.30$1.2030% in, 30% out
DeepSeek V4 Pro 0423$0.792$0.0264$2.376$1.32$3.9640% in, 40% out
DeepSeek V4 Pro 0813$0.792$0.0625$1.188$1.32$3.9640% in, 70% out
DeepSeek V4.1 Flash$0.06$0.0063$0.18$0.30$1.2080% in, 85% out
DeepSeek V4.1 Flash 1017$0.25$0.006$1.20$0.30$1.2016% in, 0% out

Google: 16 models

ModelInputCachedOutputList inputList outputUnder list
Gemini 2.5 Flash$0.30$0.03$2.50$0.30$2.500% in, 0% out
Gemini 2.5 Flash Lite$0.075$0.06$0.30$0.10$0.4025% in, 25% out
Gemini 2.5 Pro$0.9375$0.0938$7.50$1.25$10.0025% in, 25% out
Gemini 3 Flash Preview$0.375$0.0375$2.25$0.50$3.0025% in, 25% out
Gemini 3 Pro Preview$5.00input rate$22.50$2.00$12.000% in, 0% out
Gemini 3.1 Flash Lite$0.15$0.15$0.90$0.25$1.5040% in, 40% out
Gemini 3.1 Flash Lite Preview$0.1875$0.0188$1.125$0.25$1.5025% in, 25% out
Gemini 3.1 Pro$1.20$0.7353$7.20$2.00$12.0040% in, 40% out
Gemini 3.1 Pro Preview$1.20$0.12$7.20$2.00$12.0040% in, 40% out
Gemini 3.5 Flash$1.50$0.15$9.00$1.50$9.000% in, 0% out
Gemini 3.5 Flash Lite$0.225$0.0225$1.875$0.30$2.5025% in, 25% out
Gemini 3.6 Flash$0.4925$0.0492$2.25$0.75$3.7534% in, 39% out
Gemini 3.7 Flash$0.4925$0.0493$2.25$0.75$3.7534% in, 39% out
Gemini 3.8 Flash$0.4925$0.0493$2.25$0.75$3.7534% in, 40% out
Gemini 4 Argon$1.20$0.0625$3.00$2.00$10.0040% in, 70% out
Gemini 4 Neon$2.475$0.1238$12.375$3.00$15.0017% in, 17% out

Meta: 1 model

ModelInputCachedOutputList inputList outputUnder list
Muse Spark 1.3 Contributor$0.15$0.003$0.30$0.10$0.200% in, 0% out

MiniMax: 5 models

ModelInputCachedOutputList inputList outputUnder list
MiniMax M2$0.30input rate$2.295$0.30$1.200% in, 0% out
MiniMax M2.5$0.405$0.0405$1.62$0.30$1.200% in, 0% out
MiniMax M2.7$0.315$0.063$1.26$0.30$1.200% in, 0% out
MiniMax M3$0.09$0.018$0.36$0.30$1.2070% in, 70% out
Minimax M3.1 Flash$0.105$0.0105$0.42$0.15$0.6030% in, 30% out

Mistral: 1 model

ModelInputCachedOutputList inputList outputUnder list
Ministral 14B 2512$0.20$0.02$0.20$0.20$0.200% in, 0% out

Moonshot AI: 6 models

ModelInputCachedOutputList inputList outputUnder list
Kimi K2.5$0.5625input rate$3.00$0.45$2.250% in, 0% out
Kimi K2.6$0.95$0.16$4.00$0.95$4.000% in, 0% out
Kimi K2.7$0.475$0.0475$2.00$0.95$4.0050% in, 50% out
Kimi K2.7 Code$0.426$0.0852$1.7936$0.95$4.0055% in, 55% out
Kimi K3$0.90$0.12$4.50$3.00$15.0070% in, 70% out
Kimi K3.1 Pro$1.00$0.10$5.00$2.00$10.0050% in, 50% out

NVIDIA: 1 model

ModelInputCachedOutputList inputList outputUnder list
Nemotron 3.5 Super VL$0.225$0.03$0.75$0.15$0.500% in, 0% out

OpenAI: 13 models

ModelInputCachedOutputList inputList outputUnder list
GPT-4o$2.50$1.25$10.00$2.50$10.000% in, 0% out
GPT-4o mini$0.15$0.075$0.60$0.15$0.600% in, 0% out
GPT-5.3-Codex$1.75$0.18$14.00$1.75$14.000% in, 0% out
GPT-5.4$1.50$0.15$9.00$2.50$15.0040% in, 40% out
GPT-5.4 Mini$0.75$0.075$4.50$0.75$4.500% in, 0% out
GPT-5.5$1.80$0.16$9.00$5.00$30.0064% in, 70% out
GPT-5.6 Luna$0.12$0.012$0.72$0.20$1.2040% in, 40% out
GPT-5.6 Sol$1.20$0.12$3.00$4.00$20.0070% in, 85% out
GPT-5.6 Terra$1.20$0.12$3.60$2.00$12.0040% in, 70% out
GPT-6 Astra$3.00$0.30$15.00$10.00$50.0070% in, 70% out
GPT-6 Luna$0.0625$0.0125$0.20$0.10$0.5037% in, 60% out
GPT-6 Sol$0.60$0.12$3.00$2.00$10.0070% in, 70% out
GPT-6.1 Sol$0.60$0.06$3.00$2.00$10.0070% in, 70% out

Qwen: 5 models

ModelInputCachedOutputList inputList outputUnder list
Qwen3.7 Max$0.6471$0.0885$1.9412$1.475$4.42556% in, 56% out
Qwen3.7 Plus$0.1961$0.0392$0.7846$0.32$1.2838% in, 38% out
Qwen3.8 2.4T-A95B$1.00$0.10$3.00$2.00$6.0050% in, 50% out
Qwen3.8 Max (0902)$2.0548$0.075$6.1644$2.00$6.000% in, 0% out
Qwen3.8 Omni Flash$0.137input rate$0.4623$0.15$0.478% in, 1% out

Tencent: 2 models

ModelInputCachedOutputList inputList outputUnder list
Hy3$0.1063$0.0263$0.44$0.139$0.55623% in, 20% out
Hy4 preview$1.251$0.063$3.7515$0.834$2.500% in, 0% out

xAI: 5 models

ModelInputCachedOutputList inputList outputUnder list
Grok 4.3$1.875$0.30$3.75$1.25$2.500% in, 0% out
Grok 4.5$0.60$0.09$1.80$2.00$6.0070% in, 70% out
Grok 4.6$0.60$0.15$1.80$2.00$6.0070% in, 70% out
Grok 4.7$0.60$0.15$1.80$2.00$6.0070% in, 70% out
Grok 4.7 Build Fast$2.00$0.20$6.00$4.00$12.0050% in, 50% out

Xiaomi: 4 models

ModelInputCachedOutputList inputList outputUnder list
MiMo V2.6 Flash$0.084$0.0025$0.12$0.14$0.2840% in, 57% out
MiMo V2.6 Pro$0.261$0.0038$0.40$0.435$0.8740% in, 54% out
MiMo-V2.5$0.175$0.0118$0.35$0.14$0.280% in, 0% out
MiMo-V2.5-Pro$0.261$0.0022$0.522$0.435$0.8740% in, 40% out

Z.ai: 6 models

ModelInputCachedOutputList inputList outputUnder list
GLM 5.1$0.3824$0.325$1.2017$0.966$3.03660% in, 60% out
GLM 5.2$0.24$0.068$0.60$0.60$2.0060% in, 70% out
GLM 5.3$0.3276$0.068$1.0296$1.092$3.43270% in, 70% out
GLM 5.3 Flash$0.09$0.0112$0.15$0.15$0.5040% in, 70% out
GLM 5.3 FlashX$0.0479$0.045$0.1596$0.075$0.2536% in, 36% out
GLM 5.4$0.42$0.078$1.32$1.40$4.4070% 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

How to estimate an LLM API bill, step by step

  1. 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.
  2. 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.
  3. Multiply each count by its rate per million and add the three.
  4. Multiply by requests a day and days a month.
  5. 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/estimate for 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.

Questions

Not for sustained use. Most developers offer a rate-limited free tier or a small starter credit, then bill per token from prepaid credit. Here there is no free tier: the smallest top-up is $10 and every model bills per token from it. See free AI API options.

DeepSeek V4 Flash 0731 is the lowest-priced chat model on the index with a stable real-model check today, at $0.0815 in and $0.1164 out per million tokens, for the bulk tasks its class suits. A flagship task costs more at every developer, so compare models of the same class, not the whole table.

Three rates: input, cached input and output. Claude Sonnet 5.5 is $2.00 in, $0.10 cached and $10.00 out per million at Anthropic's list, and $1.20, $0.075 and $3.00 here. A 2,000-token request with a 500-token answer on it costs $0.009 at list and $0.0039 here.

It depends on the limit you hit first: requests per minute, tokens per day or the models allowed. Google, OpenAI and the other developers each publish their own free-tier limits on their pricing pages, and they change, so read the current page before building on one. See free AI API options.

Count the input, cached input and output tokens of one request, multiply each by its rate per million, add the three, then multiply by requests a month. The calculator above does this for every model on the index, and POST https://api.uplinkswitch.com/v1/estimate returns the same figures as JSON.

Keep a stable prompt prefix so cached input bills at the cached rate, pick the model class per task, set a monthly limit on each key, and buy from a provider priced under list. Each cut compounds with the others.

OpenClaw takes any OpenAI-compatible key, so the lowest-priced model for it is the lowest-priced model for the task you give it. DeepSeek V4 Flash 0731 at $0.1164 out per million tokens is the floor among models with a stable check today. See OpenClaw setup.
Join on Telegram
Help