Qwen4-Max API: price, model ID and setup
Qwen4-Max (model ID qwen4-max) is Alibaba's new flagship Qwen model, made generally available on November 16, 2026 as a pay-as-you-go API. The international list price is $1.50 per 1M input tokens and $4.50 per 1M output tokens, with a 1M-token context window, image and video input, and a thinking mode. That is 25% below Qwen3.8-Max ($2 / $6).
Last updated · Sources: Alibaba Cloud Model Studio: Qwen4-Max, Model Studio pricing, Alibaba announcement
On Qora API: Qora adds new official models as they launch. Check qoraapi.com/pricing for the live qwen4-max price before you switch. The previous flagship Qwen3.8 Max is already listed.
Qwen4-Max at a glance
| Model ID | qwen4-max |
|---|---|
| Developer | Alibaba (Qwen team) |
| Released | November 16, 2026 (general availability; preview qwen4-max-preview opened November 11 on Token Plan only) |
| Architecture | Mixture-of-experts, 2.4T total parameters, 71B active per token; API only, no open weights |
| Context window | 1,000,000 tokens |
| Max output | 131,072 tokens (no thinking); 262,144 tokens thinking plus answer |
| Input / output | Text, image and video in; text out |
| Features | Thinking mode, function calling, built-in web search, structured output; OpenAI- and Anthropic-compatible APIs |
Qwen4-Max pricing (official)
| Model | Input / 1M | Cached input / 1M | Output / 1M |
|---|---|---|---|
| Qwen4-Max (Singapore, international) | $1.50 | $0.075 | $4.50 |
| Qwen4-Max (Beijing / Global scope) | $1.413 | $0.071 | $4.24 |
| Qwen3.8-Max (international) | $2.00 | n/a here | $6.00 |
| Qora API | See the live price on qoraapi.com/pricing | ||
Official prices from Alibaba Cloud's Model Studio pricing page, checked November 17, 2026. One price tier covers the whole 1M context and both thinking and non-thinking modes. Thinking tokens are billed as output. Cache writes cost $1.875 (5 minutes) or $3 (1 hour) per 1M.
What it costs in practice
A coding agent that sends 30M input tokens and 6M output tokens (thinking included) a month costs $72 on Qwen4-Max at list price ($45 input plus $27 output), against $96 for the same volume on Qwen3.8-Max. If 70% of the input is served from the implicit cache, the input bill drops from $45 to about $19.
Qwen4-Max vs Qwen3.8-Max
| Qwen4-Max | Qwen3.8-Max | |
|---|---|---|
| Model ID | qwen4-max | qwen3.8-max |
| Official price | $1.50 / $4.50 | $2 / $6 |
| Active parameters | 71B (2.4T total) | Same 2.4T scale, 25% more active |
| Context | 1M | 1M |
| Qora API | Live price | Listed |
Alibaba says Qwen4-Max beats Qwen3.8-Max on its Work360 benchmark while using 35% fewer tokens at High effort and cutting average cost per task by about 60%, and that it ranked 6th on Code Arena. These are Alibaba's own figures.
Migrating from Qwen3.8-Max
- Change the model string from
qwen3.8-maxtoqwen4-max. - Do not use
qwen4-max-preview; it is a separate Token Plan model that shuts down on November 25, 2026. - Thinking and answer share the output limit, so avoid low hard-coded
max_tokenscaps. - Check the region: Alibaba lists Singapore pricing separately from Beijing and Global scope.
Call Qwen4-Max through an OpenAI-compatible API
Qora API uses the standard OpenAI Chat Completions format, so existing OpenAI code only needs a new base URL, key and model name.
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
base_url="https://qoraapi.com/v1",
api_key="YOUR_QORA_KEY",
timeout=600,
)
resp = client.chat.completions.create(
model="qwen4-max",
messages=[{"role": "user", "content": "Plan and write a REST API in FastAPI for a todo app."}],
)
print(resp.choices[0].message.content)
cURL
curl https://qoraapi.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_QORA_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen4-max", "messages": [{"role": "user", "content": "Hello!"}]}'
Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://qoraapi.com/v1", apiKey: process.env.QORA_KEY });
const r = await client.chat.completions.create({
model: "qwen4-max",
messages: [{ role: "user", content: "Review this diff for bugs: ..." }],
});
console.log(r.choices[0].message.content);
Quick setup in popular tools
- Cline / Kilo Code: API Provider OpenAI Compatible, Base URL
https://qoraapi.com/v1, your Qora key, Model IDqwen4-max. Walkthrough: Cline custom API guide. - Cursor: Settings, Models, override the OpenAI base URL with
https://qoraapi.com/v1and addqwen4-maxas a custom model. Walkthrough: Cursor, Cline and Continue setup. - SillyTavern: Chat Completion, source Custom (OpenAI-compatible), base URL
https://qoraapi.com/v1, modelqwen4-max.
FAQ
What is Qwen4-Max?
Qwen4-Max is Alibaba's flagship Qwen4 model, made generally available on November 16, 2026. It is a 2.4-trillion-parameter mixture-of-experts model that activates 71 billion parameters per token, takes text, image and video input, and has a 1M-token context window.
What is the Qwen4-Max model ID?
The model ID is qwen4-max. The earlier qwen4-max-preview (Token Plan only) is a separate model that ends on November 25, 2026. On Qora API you use the same ID string with the OpenAI-compatible base URL https://qoraapi.com/v1 once it is listed.
How much does the Qwen4-Max API cost?
Alibaba's international (Singapore) list price is $1.50 per 1M input tokens and $4.50 per 1M output tokens, with one price tier for the whole 1M context and the same rate for thinking and non-thinking modes. Implicit cache reads cost $0.075 per 1M. Thinking tokens count as output.
Is Qwen4-Max cheaper than Qwen3.8-Max?
Yes. Qwen3.8-Max lists at $2 input / $6 output per 1M tokens, so Qwen4-Max is 25% cheaper on both, and Alibaba says implicit cache reads are 70% cheaper. Alibaba also reports about 35% fewer tokens at high effort, so cost per task can fall further.
Is Qwen4-Max available on Qora API?
Not yet at the time of writing. Check qoraapi.com/pricing for the live qwen4-max price. Qwen3.8-Max (qwen3.8-max) pages and prices are already on Qora.
Does Qwen4-Max have open weights?
No. Qwen4-Max is API-only. Alibaba has said smaller Qwen4 models will get open weights, but has not named them or given dates.
What are the Qwen4-Max output limits?
Per Alibaba's docs, maximum output is 131,072 tokens without thinking and 262,144 tokens for thinking plus answer combined, inside the 1M-token context window.