Calculate Qwen4-Max API Token Cost
Enter each token once. Uncached input, cache write, and cache read are separate buckets, not three copies of the same prompt. Put thinking tokens in output. Example chips are illustrations, not official sample bills. The figure is list price before any Singapore free-token quota.
Your Estimate
Singapore (International): $1.5 uncached input, $4.5 output (thinking + answer), $1.875 cache write (5m), $0.075 cache read, per 1M tokens.
Cost per request: $0.013500
Monthly cost: $135.00
Built-in tools such as web search are not in this total. They have separate per-call fees on the official pricing page. Token Plan credits are a different product and are not converted to a per-token rate here.
Qwen4-Max Rate Card (USD per 1M tokens)
| Billing item | Singapore (International) | Beijing (China) / Global |
|---|---|---|
| Input | $1.5 | $1.413 |
| Output (thinking + answer) | $4.5 | $4.24 |
| Cache write (5m) | $1.875 | $1.767 |
| Cache write (1h) | $3 | $2.827 |
| Explicit / implicit cache read | $0.075 | $0.071 |
Rates from QwenCloud’s pricing page (docs.qwencloud.com/developer-guides/getting-started/pricing) and the model price reference (model-prices), re-fetched November 17, 2026 (Asia/Shanghai). The same cache and output figures are on the explicit cache (Qwen4) page. Model ID qwen4-max. Specs are from the latest-model page. Global endpoints: Frankfurt, Hong Kong, Tokyo, and US (Virginia). Beijing and Global share the second column. Thinking and non-thinking modes use the same unit prices. The model price table lists one input band, 0 < tokens ≤ 1M.
Built-in tool fees (not token rates)
Copied from the official pricing table. Prices are per 1,000 calls and are not included in the token total above. A dash means that tool is not listed for that region.
| Tool | Singapore | China North 2 (Beijing) | Germany (Frankfurt) | China (Hong Kong) | Japan (Tokyo) | US (Virginia) |
|---|---|---|---|---|---|---|
| Web Search | $10 | $0.573411 | $0.573411 | $0.573411 | $0.573411 | $0.573411 |
| Web Extractor | Free (limited time) | Free (limited time) | Free (limited time) | Free (limited time) | Free (limited time) | Free (limited time) |
| Code Interpreter | Free (limited time) | Free (limited time) | Free (limited time) | Free (limited time) | Free (limited time) | Free (limited time) |
| Image Search | $8 | $6.881 | - | - | - | - |
Image Search covers text-to-image and image-to-image search and is available only in Singapore and China North 2 (Beijing). Function calling and MCP have no tool fees; tool descriptions count as input tokens. Source: the built-in tools table on the pricing page, read November 17, 2026 (Asia/Shanghai).
What Drives Your Bill
- Output is the expensive line, and thinking is on by default.
reasoning_effort=highandthinking_budget=131072are the defaults. Thinking tokens and the final answer share the output rate ($4.5 in Singapore, $4.24 on Beijing / Global). Turn thinking off withenable_thinking=falsein Chat Completions when you do not need it. The unit prices do not change between modes. - Cache reads are a small fraction of uncached input: $0.075 versus $1.5 in Singapore, and $0.071 versus $1.413 on Beijing / Global. Explicit cache can reuse a shared prefix such as a system prompt, tool definitions, or a reference document. Implicit cache does not guarantee a hit.
- Cache writes cost more than uncached input. A 5-minute write is $1.875 (Singapore) or $1.767 (Beijing / Global). A 1-hour write is $3 or $2.827. The default TTL is 5m. Match the TTL to how long you actually reuse the prefix.
- Count each token in one bucket. If a later request reads a prefix you already wrote, put that prefix in cache read, not in uncached input and not in cache write again. Official docs say that when part of the prefix is already cached, the existing part is a cache read and only the new part is a cache write.
- Singapore pay-as-you-go lists 1 million free tokens for this model, separate from Token Plan credits. Other regions have no free quota. The free-quota page says free quota is typically valid for 90 days. A new-user quota starts at account activation. A new-model quota starts at the model’s release date. Input and output share one remaining total. This page does not subtract that quota.
- Batch inference is not supported on the Qwen4-Max capability table, so there is no 50% Batch toggle. Fine-tuning and model deployment are not supported. Built-in tool calls can add per-call fees on top of tokens.
Model ID, limits, and what this page leaves out
- Formal model ID:
qwen4-max. Native vision covers image and video understanding. Context length is 1,000,000 tokens. Maximum output in non-thinking mode is 131,072. Maximum input is 991,808 non-thinking and 983,616 thinking. Maximum thinking plus final answer is 262,144. Default thinking budget is 131,072. qwen4-max-previewis a different ID. The latest-model page says that ID has its own preview benefits. Do not paste preview traffic into this estimate. Token Plan (Individual or Team) consumes credits. Credits are not these USD-per-million-token rates. See Token Plan usage and quota. This calculator does not invent a credit-to-token price.- Explicit cache is available on Chat Completions, Responses, and Anthropic Messages. DashScope does not support the new Qwen4 explicit cache. A prefix shorter than 1,024 tokens does not create a cache.
- The general pricing page describes a 50% Batch API discount for some text models in Singapore and China North 2 (Beijing). The Qwen4-Max capability table says “Batch inference: Not supported.” This page follows that model spec.
- The latest-model page points to the launch post at qwen.ai/blog?id=qwen4-max for examples. Prices on this page come from the pricing docs, not from that post. This page does not state whether weights are released. The latest-model page says fine-tuning and model deployment are not supported.
Related tools
Those pages estimate other providers’ published rates. They are not a price comparison for Qwen4-Max.
FAQ
How much does Qwen4-Max cost?
Official pay-as-you-go prices for model ID qwen4-max are in USD per million tokens, with no input-length tiers. Singapore (International): input $1.5, output (thinking plus answer) $4.5, cache write (5m) $1.875, cache write (1h) $3, explicit or implicit cache read $0.075. Beijing (China) and Global: input $1.413, output $4.24, cache write (5m) $1.767, cache write (1h) $2.827, cache read $0.071. Checked November 17, 2026 (Asia/Shanghai).
Do Singapore and Beijing / Global use the same Qwen4-Max price?
No. Singapore (International) has its own rate card. Beijing (China) and Global share a second rate card. Global endpoints listed on the latest-model page are Frankfurt, Hong Kong, Tokyo, and US (Virginia). Prices in every region are listed and billed in USD.
How are Qwen4-Max thinking tokens billed?
Thinking is on by default, with reasoning_effort=high and thinking_budget=131072. Thinking tokens count as output and are billed at the output rate. Thinking and non-thinking modes use the same unit prices. Put thinking tokens in the output field.
How do Qwen4-Max cache writes and cache reads work?
Explicit cache TTL options are 5m (the default) and 1h. Cache writes and cache reads use the published rates. Explicit and implicit cache reads share one read price. Implicit cache does not guarantee hits. DashScope does not support the new Qwen4 explicit cache. A cached prefix must contain at least 1,024 tokens or it does not create a cache.
Does Qwen4-Max have Batch pricing?
The Qwen4-Max capability table says batch inference is not supported. The general pricing page describes a 50% Batch discount for some text models in Singapore and China North 2 (Beijing). This calculator does not apply that discount to qwen4-max.
What is the difference between qwen4-max and qwen4-max-preview?
qwen4-max is the formal model. This calculator uses its official pay-as-you-go prices. qwen4-max-preview is a separate model ID and may still have its own preview benefits. A separate Token Plan bills in credits, not in these per-million-token USD rates. This page does not convert Token Plan credits into a per-token price.
Does Qwen4-Max include free tokens?
Singapore pay-as-you-go lists 1 million free tokens for qwen4-max, separate from Token Plan credits. Other regions have no free quota. The free-quota page says free quota is typically valid for 90 days: a new-user quota starts at account activation, and a new-model quota starts at the model release date. Input and output draw down one combined total. This calculator estimates list price and does not subtract that quota.
Is this an official Qwen, Alibaba, or QwenCloud tool?
No. It is an unofficial, fan-made estimator. It is not affiliated with Qwen, Alibaba, or QwenCloud. Your QwenCloud billing records are authoritative.
Methodology & sources: rates re-fetched November 17, 2026 (Asia/Shanghai) from https://docs.qwencloud.com/developer-guides/getting-started/pricing, https://docs.qwencloud.com/developer-guides/getting-started/model-prices, https://docs.qwencloud.com/developer-guides/getting-started/latest-model, https://docs.qwencloud.com/developer-guides/run-and-scale/explicit-cache-qwen4, and https://docs.qwencloud.com/resources/free-quota. Token Plan is a separate credit product: https://docs.qwencloud.com/token-plan/token-plan-usage-quota. The launch post linked from the latest-model page is https://qwen.ai/blog?id=qwen4-max; prices were not taken from that post. Estimates exclude taxes, reseller markups, Token Plan credits, and self-host costs. Actual charges follow QwenCloud billing.
NewModelHub