Skip to content
CostPerPrompt

Qwen3 Coder Flash API Pricing

Alibaba (Qwen) · context window 1M · prices updated 2026-09-15

Input per 1M tokens
$0.195
Output per 1M tokens
$0.975
Cached input per 1M
$0.039
80% cheaper than fresh input

Where Qwen3 Coder Flash sits on price

At $0.975 per million output tokens, Qwen3 Coder Flash is a mid tier model — 2.1× cheaper than the median output price of $2.08, which puts it cheaper than 69% and pricier than 31% of the models we track. It sits 22th cheapest of the 53 Alibaba (Qwen) models we track. Output costs 5.0× input, the usual spread — trim both, starting with the answer length.

Output tokens per $1
1,025,641
One full context fill
$0.195
Cheaper than
69% of tracked models

Cached input is 80% cheaper. On an input-heavy workload you need roughly a 31% cache-hit rate to take 25% off the input line — reachable for chatbots and agents that resend the same system prompt and history.

What real workloads cost on Qwen3 Coder Flash

These three workloads are the ones teams actually run on a mid-priced model — a $0.975/1M model is not bought for the same job as one ten times the price.

Workload Per request Per month
Support chatbot — 500 conversations/day (5K in / 1.4K out) Conversation history re-sent each turn — the classic prompt-caching win. $0.0023 $35.10
Document pipeline — 10K docs/day (3K in / 500 out) Batch-friendly: no user waiting, so a ~50% batch discount usually applies. $0.0011 $322
Long-context analysis — 200 runs/day (250K in / 4K out) Only possible on large-context models; input cost is nearly the whole bill. $0.0527 $316

Model your exact traffic in the API cost calculator — it preloads Qwen3 Coder Flash with caching and batch options.

Qwen3 Coder Flash price history

Qwen3 Coder Flash's price has not moved since we began tracking it on Aug 2, 2026 — 44 days of stability in a market where 78 of the 334 models we track have repriced over the same period, including 17 of Alibaba (Qwen)'s own 53 models.

Change-points from our daily price snapshots (tracking since Aug 2, 2026; intraday moves between snapshots are not captured).

Qwen3 Coder Flash vs Gemma 4 31B (batch)

The closest-priced alternative from another vendor is Gemma 4 31B (batch) (Google) — priced within a rounding error on output, with $0.195 more per million input tokens. When two models land this close on price, the decision is quality on your own workload, not the price sheet: run 50 real requests through both and compare.

See Gemma 4 31B (batch) pricing →

Cheaper alternatives

More Alibaba (Qwen) models

Frequently asked questions

How much does the Qwen3 Coder Flash API cost?

Qwen3 Coder Flash costs $0.195 per million input tokens and $0.975 per million output tokens, with cached input at $0.039 per million (80% cheaper). That works out to roughly 1,025,641 output tokens per dollar.

What does the support chatbot workload cost on Qwen3 Coder Flash?

Support chatbot — 500 conversations/day (5K in / 1.4K out) costs about $0.0023 per request and $35.10 per month on Qwen3 Coder Flash. Conversation history re-sent each turn — the classic prompt-caching win.

What does it cost to fill Qwen3 Coder Flash's 1M context window?

Sending 1M of input in a single request costs $0.195 at $0.195 per million tokens — before any output. With prompt caching that same fill drops to about $0.039 on repeat requests. This is why large context windows are cheap to advertise and expensive to actually use.

Is Qwen3 Coder Flash worth the price?

Qwen3 Coder Flash sits in the middle of the market (22 of 53 by price within Alibaba (Qwen)). The honest test is a routing experiment: send the same 200 real requests to this model and to a tier below, and compare failure rate against the price gap — most teams find a majority of traffic never needed the pricier model.