Qwen API pricing for every model, newest first
By TechCompare · Updated · How we check
A 100,000 token prompt with a 5,000 token answer and half the input cached costs $0.285 on Qwen3.8 Max Prime, the newest model. Qwen3.5-Flash, the lowest cost model Alibaba sells itself, runs it for $0.0078.
Every Qwen model and its API price
Newest first. Prices are per 1M tokens. One request is 100K tokens in and 5K out, with 50% of the input cached.
| Model | Input | Output | Cached | Context | One request | Listed |
|---|---|---|---|---|---|---|
| Qwen3.8 Max PrimeAlibaba | $4 | $12 | $0.50 | 1M | $0.285 | Sep 23, 2026 |
| Qwen3.8 Omni FlashAlibaba | $0.15 | $0.47 | $0.016 | 1M | $0.0106 | Sep 21, 2026 |
| Qwen3.8 Max (0902)Alibaba | $2 | $6 | $0.25 | 1M | $0.1425 | Sep 3, 2026 |
| Qwen3.8 FlashAlibaba | $0.15 | $0.47 | $0.016 | 1M | $0.0106 | Aug 26, 2026 |
| Qwen3.8 27BAlibaba | $0.425 | $2.55 | $0.085 | 1.02M | $0.0382 | Aug 14, 2026 |
| Qwen3.8 2.4T A95BAlibaba | $2 | $6 | $0.25 | 1.05M | $0.1425 | Aug 12, 2026 |
| Qwen3.7 FlashAlibaba | $0.03 | $0.13 | $0.006 | 1M | $0.008 | Jul 27, 2026 |
| Qwen3.7 PlusAlibaba | $0.32 | $1.28 | $0.064 | 1M | $0.0256 | Jun 3, 2026 |
| Qwen3.7 MaxAlibaba | $1.475 | $4.425 | $0.295 | 1M | $0.1106 | May 21, 2026 |
| Qwen3.5 Plus 2026-04-20Alibaba | $0.30 | $1.80 | $0.30 | 1M | $0.039 | Apr 27, 2026 |
| Qwen3.6 27BAlibaba | $0.45 | $2.70 | $0.45 | 262K | $0.0585 | Apr 27, 2026 |
| Qwen3.6 35B A3BCheapest host: PrimeIntellect | $0.014 | $0.124 | $0.012 | 262K | $0.0019 | Apr 27, 2026 |
Listed is the day OpenRouter added the model. Prices checked Nov 14, 2026.
Qwen is Alibaba's model family, sold through Alibaba Cloud Model Studio. It's also one of the biggest open weight lines, so plenty of hosts sell Qwen models too. This page lists all 40 Qwen models OpenRouter carries, newest first, at Alibaba's own price where Alibaba sells the model and the host that charges least where it doesn't.
The top of the range is Qwen3.8 Max (0902), a 2.4 trillion parameter mixture of experts model, at $2 input and $6 output per million tokens. Qwen3.8 Max Prime is a high throughput version of that tier, sold as its own model, at $4 and $12. Qwen3.8 Flash handles multimodal reasoning at $0.15 and $0.47, and Qwen3.7 Plus lists $0.32 and $1.28.
Calculator
Cost Comparison
Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.
How to read the Qwen prices
Alibaba sets prices per deployment region in Model Studio, so the rate where you deploy can differ from the table. Rows are per million tokens.
Some Qwen models charge by prompt size. Qwen3.7 Plus bills a prompt past 256,000 tokens at $0.96 input and $3.84 output per million, so a long document and a short chat don't cost the same per token. Cached input on Qwen3.8 Max Prime costs $0.50 per million, 88% off the normal rate.
Work that can wait goes through the Batch API. On Qwen3.8 Max (0902) that's $1.15 input and $3.45 output per million, 43% off input.
Alibaba also publishes open weights for many Qwen models, usually the ones named by size, like 27B or 35B-A3B. That's why so many rows show a host, and why you can run those yourself. The largest window belongs to Qwen3.8 2.4T A95B, at 1.05M tokens, against 1M on Qwen3.8 Max Prime.
Verdict
Start with Qwen3.8 Max Prime and run Qwen3.5-Flash, the lowest cost model Alibaba sells for the example request, on the same prompts. Use it wherever it passes your checks. Save Qwen3.8 Max (0902) for the jobs that need its size.
Check the rate in your deployment region before you set a budget, and keep long prompts under the long prompt line where you can.
More LLM pricing scenarios
Related guides
Frequently asked questions
How much does the Qwen API cost?
What's the difference between Qwen3.8 Max and Max Prime?
Does Qwen charge more for long prompts?
Can I run Qwen models myself?
Which Qwen model has the largest context window?
Where do these prices come from?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use toolPower Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use toolData Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool