Free modelsExplainedDaily archiveLive dashboard
LLM API pricing · Qwen

Qwen API Pricing (Nov 2026): Cost per Million Tokens

Qwen API pricing: Qwen4 Max costs $1.43 per million input tokens and $4.28 per million output tokens. Here is every current Alibaba model's price, what typical jobs cost, and how to pay less.

Prices in US dollars per 1 million tokens, from OpenRouter's live list. Last checked Mon, 23 Nov 2026 10:01 UTC.

Newest Qwen models and prices

ModelInput / 1MOutput / 1MCached input / 1MContext
Qwen4 Max$1.43$4.28$0.0711M
Qwen3.8 Max Prime$4$12$0.51M
Qwen3.8 Omni Flash$0.15$0.47$0.0161M
Qwen3.8 Max (0902)$2$6$0.251M

Highest price: Qwen3.8 Max Prime at $4 in and $12 out. Biggest context window: Qwen3.8 2.4T A95B with 1M tokens. Output tokens cost more than input on almost every model, so long answers matter more than long prompts.

What typical jobs cost on Qwen

Per-million prices are hard to picture, so here is the same work priced on the newest models. Change the numbers in the LLM API cost calculator.

JobQwen4 MaxQwen3.8 Max PrimeQwen3.8 Omni FlashQwen3.8 Max (0902)
One chatbot reply
1,500 tokens in, 400 out
$0.0038$0.01$0.00041$0.0054
Summarise a 30-page report
20,000 tokens in, 1,000 out
$0.03$0.09$0.0035$0.05
1,000 customer-support replies
2,000 tokens in and 400 out, 1,000 times
$4.56$12.80$0.49$6.40
A chat app with 1,000 replies a day for a month
30,000 replies of 1,500 in and 400 out
$115$324$12.39$162
Bar chart: cost of 1,000 support replies on Qwen models. Qwen4 Max $4.56, Qwen3.8 Max Prime $12.80, Qwen3.8 Omni Flash $0.49, Qwen3.8 Max (0902) $6.40, Qwen3.8 Flash $0.49, Qwen3.8 27B $0.67, Qwen3.8 2.4T A95B $6.40, Qwen3.7 Flash $0.11.
What 1,000 replies (2,000 tokens in and 400 out each) cost on 8 recent Qwen models.

Qwen batch prices

If an answer can wait, the batch version of a model costs less. These are the batch prices OpenRouter lists today.

ModelNormal in / outBatch in / outSaving on output
Qwen3.8 Max (0902)$2 / $6$1.15 / $3.4542%
Qwen3.8 27B$0.035 / $1.5$0.16 / $2-33%
Qwen3.7 Plus$0.32 / $1.28$0.23 / $0.9228%

Cached input on Qwen

When you send the same long prompt again (a system prompt, a document, a codebase), the repeated part can be read from a cache at a much lower price. Qwen4 Max: $0.071 cached against $1.43 normal, 95% off; Qwen3.8 Max Prime: $0.5 cached against $4 normal, 88% off; Qwen3.8 Omni Flash: $0.016 cached against $0.15 normal, 89% off; Qwen3.8 Max (0902): $0.25 cached against $2 normal, 88% off. How it works: prompt caching explained.

Every current Qwen model

40 Qwen models are on OpenRouter's list today; these are the 20 newest, newest first.

ModelInput / 1MOutput / 1MCached input / 1MContext
Qwen4 Max$1.43$4.28$0.0711M
Qwen3.8 Max Prime$4$12$0.51M
Qwen3.8 Omni Flash$0.15$0.47$0.0161M
Qwen3.8 Max (0902)$2$6$0.251M
Qwen3.8 Flash$0.15$0.47$0.0161M
Qwen3.8 27B$0.035$1.5$0.0181M
Qwen3.8 2.4T A95B$2$6$0.251M
Qwen3.7 Flash$0.03$0.13$0.0061M
Qwen3.7 Plus$0.32$1.28$0.0641M
Qwen3.7 Max$1.48$4.42$0.2951M
Qwen3.5 Plus 2026-04-20$0.3$1.8—1M
Qwen3.6 Flash$0.188$1.13—1M
Qwen3.6 35B A3B$0.05$0.7$0.025262K
Qwen3.6 27B$0.32$3.2—262K
Qwen3.6 Plus$0.325$1.95—1M
Qwen3.5-9B$0.17$0.25—262K
Qwen3.5-35B-A3B$0.14$1$0.05262K
Qwen3.5-27B$0.26$2.6—262K
Qwen3.5-122B-A10B$0.26$2.08—262K
Qwen3.5-Flash$0.065$0.26—1M

How Qwen compares

See the cheapest LLM APIs across every lab.

Compare every model's price

This page covers one slice. The LLM API pricing table lists all 360 models side by side, refreshed every 30 minutes, with a filter to find any model fast.

Where these prices come from

Prices are read every 30 minutes from OpenRouter's public models API, which passes through each provider's price with no markup (it adds a 5.5% fee when you buy credits). Buying direct, check Alibaba's own pricing page.

New to LLM APIs?

Start with what an LLM API is, then how tokens work and how to get an API key. When you're ready to write code, see how to use an LLM API in Python, and to keep bills down read prompt caching explained and how to cut LLM API costs. Want it free? See the free LLM API guide.

Questions

How much does the Qwen API cost?

It depends on the model. Right now Qwen4 Max costs $1.43 per million input tokens and $4.28 per million output tokens. The cheapest Qwen model, Qwen3.7 Flash, costs $0.03 in and $0.13 out.

How much does the Qwen API cost per token?

Divide the per-million price by a million. Qwen4 Max costs $0.0000014 per input token and $0.0000043 per output token. A token is about three quarters of an English word.

What is the cheapest Qwen model?

Qwen3.7 Flash, at $0.03 per million input tokens and $0.13 per million output tokens, with a 1M-token context window.

How much does a typical Qwen API request cost?

A chatbot reply of about 1,500 tokens in and 400 out costs $0.0038 on Qwen4 Max and $0.000097 on Qwen3.7 Flash.

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.

See today's email