Qwen model
Qwen4 Max API cost calculator
Qwen4 Max costs $1.42 per 1M input tokens and $4.27 per 1M output tokens on the Qwen API, with a 1M-token context window. A typical request (2K input, 500 output tokens) costs $0.0050 — about $150/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on Qwen4 Max
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0020 | $1.99 |
| RAG query with context | 4,000 / 500 | $0.0078 | $7.84 |
| Document summarization | 20,000 / 1,000 | $0.03 | $32.77 |
| Agent coding session | 100,000 / 5,000 | $0.16 | $164 |
Qwen4 Max vs other Qwen models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Qwen4 Max | $1.42 | $4.27 | 1M |
| Qwen3.8 Max Prime | $4 | $12 | 1M |
| Qwen3.8 Omni Flash | $0.15 | $0.47 | 1M |
| Qwen3.8 Max (0902) | $2 | $6 | 1M |
| Qwen3.8 Flash | $0.15 | $0.47 | 1M |
Frequently asked questions
How much does Qwen4 Max cost per 1M tokens?
According to current pricing data, Qwen4 Max costs $1.42 per 1M input tokens and $4.27 per 1M output tokens. Processing 1M tokens each way costs $5.70.
What does a typical API request to Qwen4 Max cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0050. At 1,000 requests per day that is $4.99 daily, or about $150 per month.
What is Qwen4 Max's context window?
Qwen4 Max supports a 1M-token context window (1,000,000 tokens).
Does Qwen4 Max support prompt caching?
Yes. Cached input tokens cost $0.07 per 1M — a 95% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to Qwen4 Max?
GLM 5.2 from Z-ai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $1.42 for Qwen4 Max — roughly 204x cheaper on input.
Compare all current prices on the live model pricing dashboard, see Qwen4 Max vs GLM 5.2 pricing, or run Qwen4 Max head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.