Qwen3 Coder API pricing
2 providers serve Qwen3 Coder. Qwen3 Coder is an open-weight model (Apache-2.0) with 480B total parameters, 35B active per token (mixture-of-experts), up to 262K context. Prices below are per 1M tokens, cheapest input first (self-hosting math further down).
Refreshed 2026-08-23 · list prices from provider APIs| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context | |
|---|---|---|---|---|---|
| OpenRouter | $0.220 | $0.950output floor | - | 262K | Use |
| Vercel AI Gateway | $0.400 | $1.60 | - | 262K | Use |
The cheapest way to run Qwen3 Coder
On an illustrative 70M-input / 30M-output monthly workload, today's lowest listed cost is roughly $43.90/month, at OpenRouter. Input-heavy, output-heavy and cache-heavy workloads can produce different winners. Use the live mix calculator below rather than combining floors from two different providers. On output-token cost alone, the API floor remains below our self-hosting estimate of ~$0.960/1M. Details below. Run your own numbers in the breakeven calculator, or read the breakeven math.
Your actual monthly cost
Cache read uses the listed cache rate where available; otherwise it falls back to normal input price. Batch, write-cache, volume and negotiated discounts are excluded.
Or run it yourself: Qwen3 Coder self-hosting economics
Qwen3 Coder is open-weight (Apache-2.0), so the API price above competes with the GPU-hour market. 480B total parameters (MoE, ~35B active per token) needs roughly 660 GB VRAM at FP8 or 330 GB at INT4, KV-cache headroom included.
Related models
| Model | Cheapest in $/1M | Cheapest out $/1M | Providers |
|---|---|---|---|
| Qwen3 235B A22B | $0.071 | $0.100 | 10 |
| Qwen3 32B | $0.050 | $0.100 | 9 |
| Qwen3 30B A3B | $0.051 | $0.200 | 7 |
| Qwen3 Next 80B A3B Instruct | $0.100 | $0.900 | 7 |
| Qwen3 Next 80B A3B Thinking | $0.140 | $0.900 | 7 |
| Qwen3-Coder-480b-A35b-Instruct | $0.220 | $1.30 | 6 |
FAQ
What is the cheapest API for Qwen3 Coder?
As of 2026-08-23, the lowest input price for Qwen3 Coder is OpenRouter at $0.220 per 1M input tokens. The lowest output price is OpenRouter at $0.950 per 1M output tokens. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is Vercel AI Gateway at $0.400, a 82% difference.
How much VRAM do you need to self-host Qwen3 Coder?
Qwen3 Coder has 480B parameters, so plan for roughly 660 GB of VRAM at FP8 or 330 GB at INT4/AWQ, KV-cache headroom included. That exceeds a single GPU. A typical node is 4× MI300X.
← All models · GPU rental prices · Breakeven calculator · Get this data as JSON