Skip to navigation

Cheap LLM API prices: DeepSeek, GLM, Kimi and Qwen

In short: Per-million prices for DeepSeek, GLM, Kimi and Qwen from the vendors, Together and Fireworks, with cached, batch and off-peak rates, read 26 November 2026.

Published 23 min read
On this page

The cheapest of these families on 26 November 2026 is the small tier. Together lists GLM-5.3-Flash, Qwen3.8 Flash and MiniMax M3.1 Flash at $0.15 per million input tokens, and DeepSeek’s own page charges the same $0.15 for DeepSeek V4.1 Flash outside peak hours. The flagships of the same families (GLM-5.3, Qwen4 Max, Kimi K3.1 Pro) cost about 9 to 13 times more per input token, and the real gap on your bill depends on how much of your input is cached.

How much do DeepSeek, GLM, Kimi and Qwen cost per million tokens?

The table is every rate in this post in one place. Each row names the page it came from, because a price quoted without its page is a rumour. Where two sources disagree, both rows are shown instead of picking one.

Model Input Cached input Output Read on
DeepSeek V4.1 Flash, off-peak $0.15 $0.003 $0.60 DeepSeek pricing
DeepSeek V4.1 Flash, peak $0.30 $0.006 $1.20 DeepSeek pricing
DeepSeek V4.1 Flash, any hour $0.30 $0.006 $1.20 Together pricing and Fireworks pricing
DeepSeek V4 Pro 0813, peak $1.32 $0.044 $3.96 DeepSeek pricing
DeepSeek V4 Pro 0813, Together $1.32 $0.13 $3.96 Together pricing
GLM-5.3 $1.40 $0.26 $4.40 Z.ai pricing and Together
GLM-5.3-Flash $0.15 $0.03 $0.50 Z.ai pricing and Together
Kimi K3.1 Pro, Together $2.00 $0.20 $10.00 Together pricing, same input and output on Fireworks
Kimi K3, Together $3.00 $0.30 $15.00 Together pricing
Qwen4 Max, Together $1.50 $0.075 $4.50 Together pricing
Qwen 3.8 Max, Fireworks $2.00 not shown $6.00 Fireworks pricing
Qwen3.8 Flash, Together $0.15 no separate rate $0.47 Together pricing
MiniMax M3.1 Flash, Together $0.15 $0.015 $0.60 Together pricing

Four things stand out. First, DeepSeek publishes two prices for each model, and the host pages show one. Together and Fireworks list DeepSeek V4.1 Flash at DeepSeek’s peak rate with no off-peak line, so a workload that can run at off-peak hours is cheaper at DeepSeek’s own endpoint. Second, the cached rate for the same Pro snapshot is $0.044 at DeepSeek at peak and $0.13 on Together, about three times as much, so a cache-heavy workload cares which door it uses. Third, Kimi’s own pricing page did not return its rate table in the text we fetched, so the Kimi figures above are Together’s, and Kimi’s page tells you the K3 series has a 1,048,576-token context window and automatic caching of repeated prefixes. Fourth, Qwen has no single price: the Flash tier costs a tenth of the Max tier.

One naming trap, since people search for these by name. DeepSeek’s page says to call the model deepseek-flash, and says the older names deepseek-v4-flash and deepseek-v4-flash-vision-exp are retired and now served by the V4.1 Flash snapshot at the Flash price. Every host and gateway spells ids differently, so copy the id from the page you are paying, not from a blog post, including this one.

Which models are cheapest once you blend input and output?

A table of three columns is hard to compare, so the chart collapses each row into one number. It assumes a mix of three input tokens for every output token and no caching, which is a plain chat or extraction workload; your mix will differ, and the calculator further down lets you change it. The blended price is (3 x input + output) / 4, computed from the rates in the table.

Blended price per 1M tokens, 3:1 input to output, nothing cached

  • Qwen3.8 Flash$0.23Together
  • GLM-5.3-Flash$0.24Z.ai and Together
  • DeepSeek V4.1 Flash, off-peak$0.26DeepSeek
  • MiniMax M3.1 Flash$0.26Together
  • DeepSeek V4.1 Flash, peak$0.52DeepSeek, Together, Fireworks
  • DeepSeek V4 Pro, peak$1.98DeepSeek
  • GLM-5.3$2.15Z.ai and Together
  • Qwen4 Max$2.25Together
  • Kimi K3.1 Pro$4.00Together and Fireworks
  • Kimi K3$6.00Together
Blended price is (3 x input + output) / 4 from the rates in the table above. It is a comparison aid built on an assumed 3:1 mix, not a measured workload, and it ignores caching, batch and off-peak discounts.

Read the chart in two bands. The first four bars sit within a few cents of each other, so for the small tier the price is not what separates them: output quality, speed and how reliably the host serves them are. The last five bars are roughly nine to twenty-six times higher, and that is the band where a wrong choice costs real money. A coding agent that runs all day on Kimi K3 at $6.00 blended costs about 26 times what the same traffic costs on Qwen3.8 Flash at $0.23, and whether the agent is 26 times better is the question the chart cannot answer.

If you are weighing the whole market and not only these four families, the post on the best frontier models of November 2026 compares the top tier, and the gateway fee comparison shows what a middleman adds to any of these rates.

How much does caching cut the bill?

Caching is the biggest discount on the page and the one most often forgotten. When the beginning of a prompt repeats (a long system prompt, a pinned document, the earlier turns of a conversation), the provider bills those tokens at a cached rate instead of the full input rate.

How one request becomes a line on the bill

Provider counts the tokensinput tokens and output tokensInput split: hit or missa repeated prefix counts as a hitHits x cached rate$0.006 per 1M on DeepSeek FlashMisses x input, output x outputthinking tokens are output tokensFees only where a host adds themOpenRouter: on credit purchases
Rates are per million tokens. A reasoning model's thinking tokens are billed as output, which is why a model with a cheap input rate can still produce a large bill.

The chart below shows how much each cached rate takes off the same model’s input price, from the rows of the table. A cached rate is a separate line item on every provider listed here, and the ratio differs more than you would guess.

Discount on input tokens when the prefix is cached (percent)

  • DeepSeek V4.1 Flash98%$0.006 against $0.30
  • Qwen4 Max, Together95%$0.075 against $1.50
  • Kimi K3.1 Pro, Together90%$0.20 against $2.00
  • GLM-5.381%$0.26 against $1.40
  • GLM-5.3-Flash80%$0.03 against $0.15
Percent off the same model's uncached input rate, computed from the table. The mechanics differ by provider: Fireworks says cached input is billed at half price or less with no write fee, while Kimi bills cache writes for K3 models separately by time to live (5 minutes or 1 hour).

Two practical consequences follow. A workload whose prompts share a long prefix is much cheaper than its headline rate suggests, and at a 90 percent hit rate DeepSeek V4.1 Flash costs less on input than GLM-5.3-Flash does with no caching at all. The reverse is also true: a workload with a fresh prompt every time, such as classifying independent short documents, gets almost nothing from caching, and the uncached rate is the real price. That is why the prompt caching documentation and the post on reducing LLM API costs both start by asking how much of your prompt repeats.

Caching windows also expire. Kimi’s page says repeated prefixes are cached automatically with a default time to live of five minutes, so a job that pauses for ten minutes between calls pays the full input rate again. If your traffic is bursty, measure the hit rate you actually get from the usage fields in the reply instead of assuming the best case.

Do batch and off-peak rates change the answer?

Sometimes, and for a different reason in each case. The three discounts here are not the same kind of thing, so it helps to separate them.

Off-peak pricing (DeepSeek). DeepSeek’s page bills half the peak rate outside peak hours. Peak is 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays; every other hour, including weekends, is off-peak. In India (UTC+05:30) those peak windows are 06:30 to 09:30 and 11:30 to 15:30 IST. A nightly job costs half of what the same job costs at 07:00 IST on a Tuesday. If your traffic is interactive you cannot move it, but a backfill or an evaluation run can.

Batch pricing (Kimi, Fireworks). Kimi bills batch inference for kimi-k3.1-pro and kimi-k3 at 60% of the standard price, for work that does not need a real-time answer. Fireworks lists batch mode at 50% off input and output. Together’s page has a separate batch price tab, and we did not extract discount figures from it, so we do not quote one. Batch trades latency for price, and it needs an asynchronous workflow: you submit a file and collect the results later. The model pages on this site show input, output and cached rates only, so there is no batch rate to quote here; if your workload is batch-shaped, the vendor’s route is where that discount lives.

Reserved capacity (Fireworks). Fireworks lists reserved throughput with a 99.9 percent uptime term. That is a different product with a different bill, aimed at steady high volume, and it matters here only because it is a reminder that an uptime promise is something you pay for. Our own terms make no uptime guarantee, and the status page and the uptime guide show what we measure instead.

One more date worth knowing if you are choosing a Kimi model: Kimi’s page says its K2 series is closed to newly registered users from 31 October 2026 and is planned to retire by the end of December 2026. Build on the K3 series, not K2.

What would your month cost?

Enter your own volumes. The calculator multiplies your monthly tokens by the rates from the table, with a share of the input counted as cache hits, and it checks the same traffic against the free lane at the bottom. It runs in your browser and sends nothing.

Monthly cost by model, at published list rates

DeepSeek V4.1 Flash, off-peak
$13.59
DeepSeek rate
DeepSeek V4.1 Flash, peak or Together
$27.18
GLM-5.3-Flash
$12.90
GLM-5.3
$115.80
Qwen4 Max, Together
$114.75
Kimi K3.1 Pro, Together
$216.00
Tokens per day (30-day month)
2,500,000
Free lane, 100 requests and 3,000,000 tokens a day
Fits

Rates from the table above, read 26 November 2026, with no batch discount and no gateway fee. Prices change; check the vendor page before you commit. The free-lane check compares your daily requests and tokens with the shared allowance.

At the defaults (60 million input tokens, 15 million output, half of the input cached) the small tier costs about $13 a month and the flagships cost $115 to $216. That spread of about 16 times is the whole argument for testing a small model on your own prompts first. Set the cache share to zero and DeepSeek at peak jumps from $27 to $36, which is the price of not structuring your prompts for reuse. If you have never counted your own tokens, the guide to estimating a monthly LLM bill and the cost calculator show how to get the inputs.

What do the same families cost on this gateway?

Our catalogue lists a rate for each of these models, and the rates sit below the vendor list prices. Here is the catalogue as of its last price check, with every figure read from the same data file the model pages use and the status each model page shows.

Catalogue id Vendor list (in / out) Our catalogue rate (in / out) Cached Status on 26 Nov 2026
deepseek-v4-flash $0.15 / $0.60 $0.0392 / $0.0784 $0.003 Unavailable
deepseek-v4-pro $0.66 / $1.98 $0.49 / $0.98 $0.022 Unavailable
glm-5.3 $1.40 / $4.40 $0.396 / $0.77 $0.26 Unavailable
glm-5.3-flash $0.15 / $0.50 $0.07 / $0.21 $0.03 Unavailable
kimi-k3 $3 / $15 $0.353 / $5.67 $0.30 Unavailable
minimax-m3 $0.30 / $1.20 $0.161 / $0.672 $0.06 Unavailable

Two things in the table are worth a second look. The “vendor list” column is the figure our catalogue records as the vendor’s public list; for DeepSeek it equals DeepSeek’s off-peak rate today, which is half of what DeepSeek charges at peak. And the discount is large: the catalogue rate for GLM 5.3 is 82 percent under list and for DeepSeek V4 Flash 86 percent. A discount that deep is a decision about price, not a measurement of cost, and the transparency page explains why we do not ask you to treat it as a promise. Rates can change, the model page carries the date it was checked, and the pricing page and the billing documentation say how credit is spent.

Kimi’s own cached rate is the other one to watch. The catalogue lists a cached price for Kimi K3 of $0.30 against $0.353 for uncached input, a gap of about 15 percent, where Together shows $0.30 against $3.00. If you build a cache-heavy workload on a catalogue rate, compare the cached column with the one above before you assume the headline discount carries over.

What can you call today, and what is a free day worth?

The free lane has 47 model ids ending in :free, and they include the same families: z-ai-glm-5.3:free, z-ai-glm-5.3-flash:free, deepseek-deepseek-v4.1-flash:free, moonshotai-kimi-k3.1-pro:free, minimaxai-minimax-m3-1-flash:free and qwen-qwen3.8-27b:free. They bill $0 per token and share one allowance of 100 requests and 3,000,000 tokens a day per account, refilling at 00:00 UTC (05:30 IST). They work with a $0 balance, with no top-up and no card, and keep working after the sign-up credit is spent; the allowance is the only limit, and hitting it returns a 429 until the refill. They are served by upstream providers we choose and monitor but do not host, so the transparency page applies in full: the weights are often the same as the vendor’s, and we cannot prove it from here.

One of those ids deserves a caution. qwen-qwen3.8-27b:free is the 27B Qwen model, not the Flash or Max tier priced above, so its quality should not be inferred from those rows. The free lane has no Qwen4 Max or Qwen3.8 Flash id today.

What is the allowance worth in dollars? The chart prices one full day, 4 million input tokens and 1 million output tokens with no caching, at the list rate of the same model family on the host pages. It only includes families that have a free id, and it is the most you could take, which needs about 50,000 tokens per request to reach the token cap inside 100 requests.

Value of one full free-lane day at published list rates (USD)

  • GLM 5.3 Flash$1.10z-ai-glm-5.3-flash:free, at the GLM-5.3-Flash rate
  • MiniMax M3.1 Flash$1.20minimaxai-minimax-m3-1-flash:free
  • DeepSeek V4.1 Flash$2.40deepseek-deepseek-v4.1-flash:free, at the peak rate
  • GLM 5.3$10.00z-ai-glm-5.3:free
  • Kimi K3.1 Pro$18.00moonshotai-kimi-k3.1-pro:free
4 million input and 1 million output tokens, nothing cached, priced at the host list rate for the same model family. An upper bound for one account on one model; the free lane shares one allowance across all ids, and its real use is almost always lower.

The honest reading is modest. At best a day of free-lane use is worth about $1 to $18 at list rates, and a realistic day, at a few hundred thousand tokens, is worth a few cents. That is still the right price for building and testing, and it is why the free-tier comparison treats the free lane as a development tool, not a production plan. When you are ready to choose among the free ids, the guide to free AI models via API sorts them by task and context window.

What do fees add on top of the token price?

A per-token price is only part of what you pay when a gateway sits in the middle. The other part is a fee, and gateways put it in different places.

Where you pay Fee as published What it means for $100 of credit
OpenRouter, Standard 5.5% ($0.80 minimum) when you buy credits; inference passed through at provider price $5.50 of fee on a $100 purchase; the $0.80 minimum is the fee below about $14.55
OpenRouter, Business 8% on credit purchases $8.00 on $100
Direct, vendor or host (DeepSeek, Z.ai, Kimi, Together, Fireworks) No gateway fee; taxes may apply, and Kimi says its prices exclude them You pay the list rate, plus tax where it applies
One AI API Key No fee: the amount you add is the amount you get $100 added is $100 of credit

The last row has a catch we should state plainly. Online checkout is not open yet, so credit is added by email: you write to support@oneaiapikey.com with your username and the amount, we reply with how to pay, and the credit lands once the payment is received. That is slower than a card form, and for a first top-up you may prefer the OpenRouter flow for its speed even with the fee. The pricing page shows the current steps. Once a key is created and its usage is consumed we do not give money back; if the key does not work or there is a technical problem on our side, contact support at somdutt777@gmail.com with a genuine concern. The guide to prepaid LLM API credits covers what a prepaid balance does and does not protect you from, and the money-back terms checklist lists what to read before paying any provider.

If fees are the question, the gateway fee comparison works through credit fees, markup and bring-your-own-key at two spend levels, and the OpenRouter alternatives post puts seven options side by side. For this gateway against OpenRouter specifically, the dated comparison page is the place to start. If you are weighing self-hosting to avoid a percentage fee, LiteLLM versus a hosted gateway puts hours and dollars on it, and the One AI API Key review reads our own service without the sales tone.

Is the cheapest rate always the cheapest bill?

No, and the gap is usually in places the price table does not show.

Thinking tokens. DeepSeek’s page says V4.1 Flash supports thinking and non-thinking modes and that thinking is the default. Reasoning tokens are billed as output tokens, and output is the expensive side: four times the input rate on DeepSeek Flash. A model that writes 2,000 tokens of reasoning before a 100-token answer costs roughly twenty times the visible answer. If you do not need reasoning, turn it off or pick a model without it, and set a max_tokens limit either way. The reasoning guide shows the switch.

Retries and failed calls. A request that fails halfway and is retried costs twice if the first attempt was billed. On this gateway the model you named is retried up to twice, and if it is still failing, fallback rules, presets and automatic routing move the request to another similar model (the free lane also retries a failing :free call on another model by itself). Only the attempt that answers is billed, and the uptime and fallbacks guide explains the rules; a 429 from a provider is a separate case, covered in the 429 errors guide. On OpenRouter, its pricing FAQ says failed attempts are not charged for their model tokens either. Check how any host you use treats a failed call before you rely on it.

Context length. A long prompt is cheap per token and expensive in total. A million-token context window is useful, but filling it on every call at $0.30 per million is $0.30 a call before any output, and a hundred such calls is $30. The glossary of tokens, context windows and caching explains why a long history is billed again on each turn.

Middlemen that count differently. The most expensive failure is a relay that inflates token counts or serves a different model. In a 2026 audit of 20 relays, the authors found five that reported 4,200 to 60,000 more input tokens than the official API for identical requests, and their own conclusion was that price alone does not predict quality. That is the reason we publish usage records with token counts per request, why the transparency page lists what we monitor, and why the post on cheap LLM API reseller risks reads the research in detail. You can also verify that an API serves the model it names with six checks, none of which needs a paid plan.

The model that is too small. A cheap model that fails a task and needs a human to fix it is expensive. The right comparison is cost per correct result, not cost per token, which is a number only your own test set can produce. We would test two or three candidates on 20 real prompts before picking one.

Which family fits your job?

Bulk extraction or classification

Start with the small tier: GLM-5.3-Flash, Qwen3.8 Flash, MiniMax M3.1 Flash or DeepSeek V4.1 Flash off-peak, all at $0.15 per million input tokens in the table above. Prompts are short and independent, so caching helps little, and the uncached rate is the real price. Test on 20 real documents and set max_tokens low. For a free trial, try z-ai-glm-5.3-flash:free or deepseek-deepseek-v4.1-flash:free from the free ids list.

A coding agent with a long, repeated prompt

Look at the cached column first. A long system prompt and a growing repository context repeat on every call, so DeepSeek V4.1 Flash at $0.006 cached or GLM-5.3 at $0.26 cached can beat a model with a lower headline rate. The guide to choosing a model for coding agents covers quality, the coding agent setup post covers Cline, Cursor, Codex and Aider, and the prompt caching docs show how to keep the prefix stable.

Long documents or whole repositories

Check context first. DeepSeek's page lists a 1M context window with up to 384K output, and Kimi's K3 series has 1,048,576 tokens. A filled window is billed on every call, so combine it with caching, and test with your own long prompts: an advertised window is a ceiling, not a promise that quality holds across it. The transparency page explains why.

Hard reasoning where quality comes first

Budget for the flagship tier and measure. Kimi K3.1 Pro, Qwen4 Max, GLM-5.3 and DeepSeek V4 Pro cost roughly $2 to $4 blended per million tokens at a 3:1 mix. Run the same 20 hard prompts through two of them and compare cost per correct answer. The model comparison tool puts specs side by side.

Just trying models, no card

Use the free lane. 47 ids share 100 requests and 3,000,000 tokens a day, they work with a $0 balance, and the browser chat uses the same allowance. Sign-in is Google only. The quickstart has the first API call.

What would we check before moving a workload?

We would check six things, in this order, and four of them cost nothing.

  1. The rate on the vendor’s page, today. Prices in this post are dated 26 November 2026. Vendors change them, so read the page the day you commit.
  2. Your own token counts. Take 100 real requests, read the usage fields in the replies, and compute the average. Do not size a budget on a guess.
  3. Your cache hit rate. The usage fields report cached tokens, and the number you get is almost never the one in the vendor’s best case.
  4. Peak and off-peak, batch and real time. Move whatever can wait to the cheaper window.
  5. What the host does on failure. Is a failed attempt billed? Is there a fallback? Is there an uptime term, and who pays when it is missed?
  6. What the provider says about your data. On this gateway, by default what you send is not stored: prompts and answers pass through and are not kept, we keep counts and never content, and we do not train on your data. The upstream provider that runs a model processes the request under its own terms, so read both; the privacy guide and the routing and privacy docs list the qualifiers.

Then pick a spending limit before you send traffic. On this gateway each key can carry a spend limit, an expiry and a model allowlist, which caps what a bug or a leaked key can cost; the guide to one key per project with spend limits walks through the setup, and the cost-control documentation lists more habits with the arithmetic. If you are still choosing a provider, the 12-point provider checklist scores them against each other, and the guide to what an LLM gateway is explains why one key can reach several of these model families at all. If your code already speaks the OpenAI format, switching an app to a different base URL is two lines.

Try these model families for free first

$10 sign-up credit, 47 free models sharing 100 requests and 3,000,000 tokens a day, no card.

Frequently asked questions

Which of DeepSeek, GLM, Kimi and Qwen is cheapest per million tokens?
Among the models in this post, the small ones: GLM-5.3-Flash, Qwen3.8 Flash and MiniMax M3.1 Flash all list $0.15 per million input tokens on Together's pricing page, with output at $0.47 to $0.60. DeepSeek V4.1 Flash matches that off-peak on DeepSeek's own page ($0.15 in, $0.60 out) and costs double at peak. The flagships cost roughly 9 to 20 times more per input token (Kimi K3 is the top of that range).
Does a cheap per-token price mean a cheap bill?
Not always. The bill is tokens times rate, and the token count depends on your cache hit rate, how much a thinking model writes before it answers, how often you retry and whether a middleman inflates the count. The guide to reducing LLM API costs covers the levers, and the calculator above lets you test your own mix.
Can I buy DeepSeek, GLM or Kimi on your gateway today?
Not at a per-token price today. The priced ids are listed with rates on the model pages but are marked unavailable because no upstream route works for them right now. What does work is the free lane: 47 ids ending in :free, including GLM 5.3, GLM 5.3 Flash, DeepSeek V4.1 Flash and Kimi K3.1 Pro, at $0 per token inside 100 requests and 3,000,000 tokens a day. They work with a $0 balance: no top-up and no card, and they keep working after the sign-up credit is spent. The free ids page lists them, and the browser chat runs them with no code.
Are the rates on your model pages guaranteed?
No. A catalogue rate is a rate we set and can change, and the model page shows the date prices were checked. The transparency page explains how we think about price, quality and what we cannot promise. If a rate matters to a budget, check the model page the day you top up.
Why does Together list DeepSeek V4.1 Flash at DeepSeek's peak rate?
We do not know Together's reasoning. The numbers match: both show $0.30 input, $0.006 cached input and $1.20 output, and Together's page shows no off-peak line. DeepSeek itself bills half that outside its peak windows, which is why the calculator above has both rows.
Is batch pricing available here?
The model pages on this site show input, output and cached rates only, so there is no batch rate to quote. Vendors that offer one say so on their own pages: Kimi bills batch inference for K3 models at 60% of the standard price, and Fireworks lists batch mode at 50% off.
What does a gateway add on top of the model price?
It depends on the gateway. OpenRouter charges 5.5% (minimum $0.80) when you buy credits and passes inference through at provider prices. Here, credit is added by email from $1 with no fee: the amount you add is the amount you get. The gateway fee comparison works through both at $100 and $1,000, and the migration guide covers the move if you are leaving OpenRouter.
How do I try one of these model families for free first?
Sign in with Google, create a key and call one of the free ids; the $10 sign-up credit and the free lane need no card. The quickstart has the first call, and the browser chat lets you try a model before writing code. The free ids work with a $0 balance, so you can keep using them once the credit is gone. The guide to free AI models via API says which ids suit which task.
More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
  • 100requests
    per day
  • 3Mtokens
    per day
  • 47free
    models
  • $0per
    token
  • No card
  • No end date
Claim $10 credit →