AI

Qwen API Pricing: Every Tier, Priced (2026)

The Qwen API runs from $0.05/$0.40 per million tokens on qwen-flash to $1.50/$4.50 on qwen4-max. We verified every tier against Alibaba's pricing, compared it to DeepSeek, Claude, GPT-6.2 and Gemini 4, and flagged the billing traps that inflate real bills.

Editorial illustration of tiered glowing price ledgers evoking Qwen API pricing tiers
Qwen's API spans a wide tier ladder from cheap flash models to the qwen4-max flagship. Illustration: Edgewisely.

The Qwen API runs from $0.05 / $0.40 per million input/output tokens on the cheapest qwen-flash tier to $1.50 / $4.50 for the flagship qwen4-max, with most production traffic landing on qwen-plus around $0.40 / $1.60. That makes qwen api pricing among the lowest from any frontier-class lab — far cheaper than Claude, GPT-6.2, or Gemini 4 at the top, and competitive with DeepSeek at the bottom. The catch is a tiered, thinking-token billing model that can quietly multiply your bill. Here is what you actually pay, and when Qwen is the right call.

TL;DR

  • Range: qwen-flash at $0.05/$0.40 (per 1M input/output) up to qwen4-max at $1.50/$4.50. qwen-plus sits in the middle at $0.40/$1.60. All prices Alibaba Model Studio, Singapore/International region, as of December 2026.
  • Cheapest place to run Qwen: the open-weight Qwen3-Coder-480B on DeepInfra at $0.30/$1.00 — the flagship qwen4-max is closed and API-only via Alibaba, so you can't self-host the top model.
  • Vs rivals: Qwen's cheap tiers sit alongside the cheapest Western options — Claude Haiku 5.5 ($0.10/$0.50) and GPT-6 Luna ($0.05/$0.25) — and undercut Gemini 4 Hydrogen ($1.50/$7.50). At the top, qwen4-max is far cheaper than Claude Opus 5.5 ($4/$20) or GPT-6.2 Astra ($8/$40).
  • The gotcha: prices are tiered by input-token bucket and thinking tokens bill at the output rate. A 300K-token request jumps every token to a higher tier; a reasoning-heavy call can 3x your output cost.
  • Verdict: use Qwen's API for cheap high-volume work, frontier reasoning at a fraction of Opus/Astra, and open-weight coding you can self-host. Avoid it if you need Western data residency or bill-predictability on long-context reasoning.

How much does the Qwen API cost?

The headline qwen api pricing for the current lineup, per 1M tokens, Alibaba Model Studio (Singapore/International), December 2026:

Model Maker Context Input $/1M Output $/1M Open weight? Best for
qwen-flash Alibaba 1M $0.05 $0.40 Partly Cheap high-volume, classification
qwen-plus (qwen3.7-plus) Alibaba 1M $0.40 $1.60 No General production workloads
qwen4-max Alibaba 256K* $1.50 $4.50 No (API-only) Flagship reasoning, agents
Qwen3-Coder-480B Alibaba 262K $0.30 $1.00 Yes (Apache-2.0) Agentic coding, self-host
DeepSeek-V4.1-Flash DeepSeek 128K* $0.15–0.30 $0.60–1.20 Yes (MIT) Cheap reasoning
DeepSeek-V4-Pro DeepSeek 128K* $0.66–1.32 $1.98–3.96 Yes (MIT) Frontier open-weight
Claude Haiku 5.5 Anthropic 200K* $0.10 $0.50 No Cheap, fast Western option
Claude Sonnet 5.5 Anthropic 200K* $2.00 $10.00 No Balanced quality
GPT-6 Luna OpenAI 400K* $0.05 $0.25 No Cheapest Western tier
GPT-6.1 Terra OpenAI 400K* $0.50 $2.50 No Western mid-tier
Gemini 4 Hydrogen Google 1M* $1.50 $7.50 No Long-context cheap tier

*Context windows are vendor-documented; qwen4-max, DeepSeek, Claude, GPT-6 and Gemini figures were not re-derived from a primary pricing page in this research. Qwen-flash/plus (1M) and Qwen3-Coder (262K) are confirmed. DeepSeek ranges are off-peak–peak. (Alibaba Model Studio pricing, updated Nov 30 2026; OpenRouter; DeepSeek; Claude; OpenAI; Google Vertex AI.)

Two structural quirks drive the real bill. First, Qwen prices by input-token tier — cross a threshold and every token in the request reprices to the higher bracket. Second, on thinking-capable models, reasoning tokens are billed at the output rate, which is 3–4x the input rate.

Qwen4 Max vs Qwen3 pricing: which tier do you need?

Most teams overpay by reaching for the flagship. The honest answer: qwen-plus handles the large majority of production work, and qwen-flash handles everything latency- and cost-sensitive.

The Max tier ladder, per 1M tokens (Singapore/International, December 2026):

Model Input $/1M Output $/1M Notes
qwen4-max $1.50 $4.50 Flagship; 1M-token free quota; closed/API-only
qwen3.8-max $2.00 $6.00 Prior flagship
qwen3.7-max $2.50 $7.50 Older; thinking-capable
qwen-max (legacy) $1.60 $6.40 Non-thinking only

Source: Alibaba Model Studio pricing, Nov 30 2026.

Note the inversion: qwen4-max is cheaper than the models it replaced. At $1.50/$4.50 it undercuts qwen3.8-max ($2/$6) and comes with a 1M-token free quota. If you're on an older Max snapshot, moving to qwen4-max cuts cost and raises quality at once.

Below Max, qwen-plus (the qwen3.7-plus snapshot, currently 20% off) is tiered: $0.40/$1.60 for requests up to 256K input tokens, rising to $1.20/$4.80 in the 256K–1M bucket. qwen-flash is the floor at $0.05/$0.40 (0–256K) and $0.25/$2.00 (256K–1M). Pick Plus for quality-sensitive work, Flash for volume.

Is Qwen cheaper than DeepSeek, Claude, or GPT?

Dramatically cheaper at the flagship level; a close race at the bottom, where DeepSeek and GPT-6 Luna now match it.

  • Vs DeepSeek: near-parity at the bottom. DeepSeek-V4.1-Flash runs $0.15/$0.60 off-peak ($0.30/$1.20 peak) against qwen-flash's $0.05/$0.40 — Qwen is cheaper on both off-peak. At the frontier, DeepSeek-V4-Pro ($0.66/$1.98 off-peak) undercuts qwen4-max on paper, but Max is the stronger agentic model. (DeepSeek pricing.)
  • Vs Claude: no contest on cost at the top. Claude Opus 5.5 is $4.00/$20.00 and Sonnet 5.5 is $2.00/$10.00 — qwen4-max at $1.50/$4.50 is roughly a quarter of Opus's output price. Only Claude Haiku 5.5 ($0.10/$0.50) competes with Qwen's cheap tiers. For the full Anthropic breakdown see our Claude API pricing guide.
  • Vs GPT: the flagship gap is enormous. GPT-6.2 Astra is $8.00/$40.00 — its output is nearly 9x qwen4-max's, and GPT-6.2 Sol ($2/$10) is still more than double. The fair fight lower down is GPT-6.1 Terra ($0.50/$2.50), which qwen-plus roughly matches, and GPT-6 Luna ($0.05/$0.25) — the one tier that actually beats qwen-flash, on output. (OpenAI pricing.)
  • Vs Gemini: Gemini 4 Neon is $3.00/$15.00 and the cheap tier Gemini 4 Hydrogen is $1.50/$7.50; qwen-flash and qwen-plus both come in well under Hydrogen. Note Gemini 4 Carbon and Argon rose to $4.00/$20.00 on December 1, 2026. (Google Vertex AI pricing.)

The pattern: Qwen, DeepSeek, and GPT-6 Luna set the floor together; the Western flagships charge a 3–9x premium at the top for brand, latency, and data residency. Across the board, Qwen sits among the cheapest AI APIs you can call today.

Horizontal bar chart comparing output token prices per 1M tokens: qwen-flash $0.40, Qwen3-Coder-480B $1.00, qwen-plus $1.60, qwen4-max $4.50, versus GPT-6 Luna $0.25, GPT-6.1 Terra $2.50, DeepSeek V4-Pro $3.96, Gemini 4 Hydrogen $7.50, GPT-6.2 Sol and Claude Sonnet 5.5 $10, Claude Opus 5.5 $20.
Chart: Edgewisely, data from Alibaba Model Studio, DeepSeek, OpenAI, Anthropic & Google pricing (as of December 2026)

Where is the cheapest place to run Qwen?

For the open-weight models, a third-party host — DeepInfra runs Qwen3-Coder-480B at $0.30/$1.00, with cache reads at $0.10, cheaper than Alibaba's own qwen3-coder-flash tier ($0.30/$1.50 at 0–32K). For the flagship, there is no cheaper option: qwen4-max is closed and API-only, so Alibaba Model Studio is the only source.

This is the load-bearing distinction. Alibaba open-weighted most of the Qwen3 line under Apache-2.0 — including the 480B-parameter Qwen3-Coder (VentureBeat) — so you can download it, self-host, or rent it from OpenRouter, DeepInfra, Together, or Fireworks. On OpenRouter the 480B Coder spans $0.30–0.35 input and $1.00–1.50 output across providers, with DeepInfra cheapest (OpenRouter). Qwen3-Coder ranks among the best AI models for coding you can self-host.

But the flagship qwen4-max was launched without open weights (The Next Web; Decrypt). You can't download it, you can't shop hosts, and you pay Alibaba's rate. So "cheapest place to run Qwen" splits two ways: open-weight models → third-party hosts or your own GPUs; flagship Max → Alibaba only. If you are weighing Qwen's open models against DeepSeek's, our DeepSeek vs Qwen comparison breaks the matchup down fully.

What are the hidden costs of the Qwen API?

Three line items the per-token sticker doesn't show.

Tier jumps. Pricing brackets are set by total input tokens per request, and all tokens bill at the matching tier. Push qwen-plus past 256K and input goes from $0.40 to $1.20 and output from $1.60 to $4.80 — on the whole request, not just the overflow. (Alibaba Model Studio pricing.)

Thinking tokens. On thinking-capable models, chain-of-thought bills at the output rate. A reasoning-heavy qwen-plus call that emits 2K of thinking plus 500 of answer pays the output price on all 2.5K. Budget for it or disable thinking where you don't need it.

Region and currency. Prices vary by region — China (Beijing) qwen4-max is $1.413/$4.24, slightly under the international $1.50/$4.50. Figures are shown with a "$" but Alibaba's regional rates derive from list RMB, so treat cross-region deltas as approximate. Offsetting the hidden costs: batch is 50% off, off-peak discounts apply 22:00–08:00 UTC+8, and context-cache hits bill at 10% of input (cache creation at 125%).

Our take

Qwen's pricing wins, but not where the headline points. The obvious story is "cheapest tokens," and that one no longer holds cleanly. At the bottom of the market, GPT-6 Luna ($0.05/$0.25) matches qwen-flash on input and beats it on output, and DeepSeek's off-peak Flash ($0.15/$0.60) is in the same bracket. If all you want is the lowest per-token price for high-volume classification or extraction, Qwen is one of several good answers, not the single obvious one. Say that plainly, because the aggregator roundups won't.

Where Qwen actually wins is the frontier, and the margin is enormous. qwen4-max at $1.50/$4.50 is a genuinely frontier-class model priced at a fraction of its Western peers — GPT-6.2 Astra is $8/$40, Claude Opus 5.5 is $4/$20, Gemini 4 Neon is $3/$15. On output, qwen4-max undercuts GPT-6.2 Astra by nearly 9x and Claude Opus by more than 4x. For teams running reasoning-heavy or agentic workloads where the flagship does the heavy lifting, that gap compounds into real money every day. This is the number that should drive the decision, and it's the one most price roundups bury under a wall of cheap-tier comparisons.

The second win is structural and underrated: the open weights. Alibaba released most of the Qwen3 line under Apache-2.0, including the 480B Qwen3-Coder, which means you can rent it from DeepInfra at $0.30/$1.00, self-host it, or pull it in-house when volume justifies GPUs. No Western frontier lab offers that. GPT-6.2 and Gemini 4 are pure dependencies — closed weights, vendor's rate, vendor's terms, and a price that can move the way Gemini 4 Carbon and Argon just did on December 1, doubling to $4/$20. The open-weight path caps your downside in a way a cheap closed model never can. For a founder, that optionality is worth more than a few cents per million tokens.

Now the honest caveats, because per-token price is a worse proxy for per-task cost on Qwen than on its rivals. First, the tier-by-input-bucket model reprices the entire request when you cross a threshold, which punishes exactly the long-context RAG and agent workloads people reach for long context to serve. Second, thinking tokens bill at the output rate, so a reasoning model's effective cost swings with how much it decides to think — a $1.60 output rate that becomes $4.80 at the 256K tier, plus thinking overhead, is not what you budgeted. DeepSeek's flat off-peak discount is more honest here; so is a fixed Western Flash rate. Model your Qwen bill at the next tier up, not the one you expect to hit.

Cost/quality judgment versus the obvious rival: against DeepSeek, Qwen wins on breadth and open-weight coding, DeepSeek wins on simplicity and MIT weights. Against the cheap Western tiers — Haiku 5.5, GPT-6 Luna, Gemini 4 Hydrogen — Qwen is competitive but no longer categorically cheaper, and it carries the one factor that overrides price for many buyers: this is China-hosted inference. For regulated data, EU/US residency requirements, or procurement that won't touch Alibaba Cloud, the cheapest token is irrelevant.

Verdict. Best for: high-volume cost-sensitive pipelines (qwen-flash), general production at quality (qwen-plus), agentic coding you may want to self-host (open-weight Qwen3-Coder-480B on DeepInfra), and frontier reasoning at a fraction of GPT-6.2 Astra or Claude Opus (qwen4-max). Avoid if: you need Western data residency or contractual data guarantees; your workload is long-context reasoning where tier-jumps and thinking-token overhead make the bill unpredictable; or you value billing simplicity over absolute price — in which case DeepSeek's flat off-peak model or a Western Flash tier will cost you a little more and surprise you a lot less.

Frequently Asked Questions

Is the Qwen API free?

Not fully, but it starts free. Alibaba Model Studio gives new models a free quota — qwen4-max includes a 1-million-token allowance — and open-weight Qwen models (like Qwen3-Coder-480B, Apache-2.0) are free to download and self-host; you only pay for compute. Beyond the free quota, API calls bill per token at the rates above.

How much does Qwen4 Max cost per token?

qwen4-max costs $1.50 per 1M input tokens and $4.50 per 1M output tokens on Alibaba Model Studio (Singapore/International, December 2026), with a 1M-token free quota. China (Beijing) region is slightly cheaper at $1.413/$4.24. It is Alibaba's closed, API-only flagship — there is no self-host option.

Is Qwen cheaper than GPT or Claude?

At the flagship level, by multiples. qwen4-max ($1.50/$4.50) undercuts GPT-6.2 Astra ($8.00/$40.00) and Claude Opus 5.5 ($4.00/$20.00) heavily on output. The exceptions are the cheapest tiers: Claude Haiku 5.5 ($0.10/$0.50) and GPT-6 Luna ($0.05/$0.25) match or slightly beat Qwen's low end, so at the bottom it's a tie.

Where is the cheapest place to use Qwen's API?

For open-weight models, a third-party host: DeepInfra runs Qwen3-Coder-480B at $0.30/$1.00 per 1M tokens, below Alibaba's own coder rate. For the flagship qwen4-max, Alibaba Model Studio is the only option because the model is closed and can't be hosted elsewhere. Batch and off-peak discounts cut Alibaba's bill further.

Does Qwen charge extra for thinking or reasoning tokens?

Yes. On thinking-capable Qwen models, reasoning (chain-of-thought) tokens bill at the output rate, which is 3–4x the input rate. A reasoning-heavy call can therefore cost far more than its visible answer length suggests. Where you don't need extended reasoning, disable thinking mode to avoid the surcharge.

Editor's note — sources: - Alibaba Cloud Model Studio — Model inference pricing (updated Nov 30 2026; accessed Dec 1 2026) — all Qwen per-token prices, tiers, batch/off-peak/cache rules. - Alibaba Cloud — qwen4-max model page (accessed Dec 1 2026) — flagship model listing. - The Next Web — Alibaba launches Qwen4-Max flagship without open weights (accessed Dec 1 2026) — qwen4-max is closed/API-only. - Decrypt — Qwen 4 Max: you can't download it (accessed Dec 1 2026) — confirms API-only flagship. - VentureBeat — Qwen3-Coder-480B launch (accessed Dec 1 2026) — Apache-2.0 open weights. - OpenRouter — Qwen3 Coder 480B (accessed Dec 1 2026) — third-party host prices, DeepInfra $0.30/$1.00, 262K context. - DeepSeek — API pricing (accessed Dec 1 2026) — deepseek-flash and deepseek-v4-pro peak/off-peak. - Claude — API pricing (accessed Dec 1 2026) — Haiku/Sonnet/Opus 5.5. - OpenAI — API pricing (vendor list price, accessed Dec 1 2026) — GPT-6.2 Astra $8/$40, GPT-6.2 Sol $2/$10, GPT-6.1 Terra $0.50/$2.50, GPT-6 Luna $0.05/$0.25. - Google — Vertex AI generative AI pricing (vendor list price, accessed Dec 1 2026) — Gemini 4 Neon $3/$15, Hydrogen $1.50/$7.50, Carbon & Argon $4/$20 from Dec 1 2026.

Get Edgewisely in your inbox

Business stories that matter, free. Enter your email — no password, no account to set up.
jamie@example.com
Subscribe