Qwen4-Max: What It Is, What It Costs and What People Build With It
Updated Nov 23 · 6 min read
On this page
Qwen4-Max is Alibaba's flagship Qwen model, generally available since 16 November 2026 as the API model qwen4-max. It is a closed-weight sparse mixture-of-experts model that reads text, images and video, has a 1M-token context, and costs $1.50 per million input tokens and $4.50 per million output tokens. The pitch is price: frontier-adjacent scores on agentic work for well under the per-token rates of OpenAI and Anthropic's top models.
What Qwen4-Max is
Qwen4-Max replaces Qwen3.8-Max and is the first model in the Qwen4 series. Per DataCamp's launch write-up, it has a 2.4T-parameter backbone with 71B parameters active per token, plus 328B N-gram embedding parameters that work as cheap lookup tables. It uses the same ideas as Qwen3.8-Flash-Next, the open preview of this architecture: hybrid attention (three Gated DeltaNet layers per sparse-attention layer), a four-path Gated Residual, and N-gram Embedding.
Alibaba's Model Studio docs describe it as a multimodal flagship aimed at programming, office work, front-end design and complex agent tasks. Input is text, image or video; output is text. Thinking is on by default.
Alibaba reports these launch numbers, as compiled by DataCamp:
- DeepSWE v1.1: 75.7, against 74.2 for Claude Opus 5.5 and 75.2 for GPT-6.1 Sol. DataCamp treats a spread that tight as noise.
- Agents' Last Exam v1.1: 46.7, the top score in the table.
- Terminal-Bench 4.0: 48.5, behind Opus 5.5 (59.6) and GPT-6.1 Sol (56.1).
- Humanity's Last Exam: 51.7, behind Opus 5.5 (59.8).
- Token use: about 35% fewer tokens than Qwen3.8-Max on Alibaba's in-house Work360 benchmark at High effort, and about 49% fewer on Terminal-Bench 4.0. Alibaba says Work360 cost per task fell from $4.43 to $1.67.
Several of those benchmarks are Alibaba's own, and DataCamp found no independent reproductions of the agentic wins.
Qwen4-Max release date, access and pricing
Alibaba opened qwen4-max-preview on 11 November 2026, on its Token Plan subscription only, and made qwen4-max generally available with pay-as-you-go pricing on 16 November, per DataCamp. DataCamp reports the preview retires on 25 November. Artificial Analysis also lists 16 November as the release date.
Where you can use it:
- API: QwenCloud and Alibaba Cloud Model Studio, model ID
qwen4-max. The docs list OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and DashScope protocols. - Apps: DataCamp lists QwenStudio (Qwen Chat), QwenWork and Qoder.
- Coding agents: QwenCloud documents setup for Qwen Code and Claude Code.
API pricing, Singapore (international) region, from the QwenCloud pricing page:
| Per 1M tokens | |
|---|---|
| Input | $1.50 |
| Output (thinking + answer) | $4.50 |
| Cache read (explicit or implicit) | $0.075 |
| Cache write, 5 minutes | $1.875 |
| Cache write, 1 hour | $3.00 |
Global deployments (Frankfurt, Hong Kong, Tokyo, Virginia) list $1.413 input and $4.24 output. Thinking and non-thinking modes cost the same, there are no input-length tiers, and thinking tokens bill as output. The Model Studio page lists a free quota of 1 million tokens in Singapore, valid for 90 days.
Specs from the Model Studio page: 1,000,000-token context, 991,808 max input (983,616 with thinking), 131,072 max output without thinking and 262,144 with it. Supported features include function calling, parallel tool calls, structured output, web search and caching. Fine-tuning and dedicated deployment are not supported.
How to start using Qwen4-Max
- In the API. Create a QwenCloud key and point an OpenAI-compatible client at
https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1withmodel: "qwen4-max". Keys are region-specific, so match the key to the endpoint. - Set effort explicitly.
reasoning_efforttakeslow,highorxhigh, and defaults tohigh. Other values are mapped:mediumbecomeshigh,maxbecomesxhigh. In the Responses API it isreasoning.effort; in Anthropic Messages it isoutput_config.effort. - In Qwen Code. Install the CLI, run
qwen, pick Alibaba ModelStudio and the Singapore region, and enter your key. Or addqwen4-maxundermodelProviders.openaiin~/.qwen/settings.jsonand switch with/model. The Qwen Code docs note a default output limit of 32,768 tokens; raise it withgenerationConfig.samplingParams.max_tokens. - In Claude Code. Set
ANTHROPIC_BASE_URLto QwenCloud's/apps/anthropicendpoint (https://ap-southeast-1.maas.qwencloudapi.com/apps/anthropicfor pay-as-you-go,https://token-plan.maas.qwencloudapi.com/apps/anthropicfor Token Plan), put your key inANTHROPIC_AUTH_TOKEN, and setANTHROPIC_DEFAULT_OPUS_MODELtoqwen4-max. The docs also say to keepCLAUDE_CODE_MAX_CONTEXT_TOKENSat983616and to setCLAUDE_CODE_MAX_OUTPUT_TOKENS=131072if long output gets cut off. - Pass reasoning back. Model Studio encrypts chain-of-thought and returns a summary plus ciphertext. In multi-turn conversations the historical ciphertext "must be passed back as-is."
- Use caching. Cache reads are $0.075 per million tokens, 95% off input, so keep long system prompts and repository context stable at the start of each request.
What people build with Qwen4-Max
The Qwen4-Max page on this site tracks the builds so far, and there are only three. That is a small sample a week after release, so read it as early signs rather than a pattern. All three are visual, playful projects made by iterating in plain language.
Games. Farhan gave Qwen4-Max a concept image and a short brief and got a playable 3D physics game, then changed the rules halfway through to see how the model handled a moving target. Ricardo Momo grew a full browser game from one prompt by asking for features one at a time, running Qwen4-Max inside agent harnesses like Claude Code and Qwen Code rather than a chat window. That is the setup described in steps 3 and 4 above.
Learning toys. One builder made an interactive 3D pop-up book of classical Chinese poems as a birthday present for a nephew, and pitches it as an easy vibe-coding project for parents.
Nobody here has published cost or speed numbers yet. If you build something with Qwen4-Max, it belongs on the launch page.
Qwen4-Max limits and caveats
- Closed weights. Artificial Analysis lists the weights as not publicly available, and DataCamp reports none for Max, with Alibaba saying smaller Qwen4 models will be open-sourced later. If you want to self-host, Qwen3.8-Flash-Next is the open model with this architecture.
- Slow and verbose. Artificial Analysis measures 65 output tokens per second, 119 seconds to the first answer token, and 27 minutes per Intelligence Index task against a 12.7-minute median. It used 127M output tokens on the index, which the tracker calls "very verbose."
- Cheap tokens, not always cheap tasks. Artificial Analysis prices an index task at $3.27 for Qwen4-Max and $1.01 for GPT-6.2 Sol at max effort, despite Sol's higher $2/$10 rates.
- Mid-table on independent tests. Artificial Analysis scores it 43 on its Intelligence Index, just below the median of 44 for comparable models.
- Benchmarks are Alibaba's. The launch table is vendor-compiled, Work360 and JobBench are run by Alibaba, and builder results above are as reported by their authors.
Frequently asked questions
Is Qwen4-Max open weights?
No. Alibaba sells it through QwenCloud, Model Studio and its own apps, and the weights are not downloadable. Alibaba has said smaller Qwen4 models will be open-sourced later, per DataCamp.
How much does the Qwen4-Max API cost?
$1.50 per million input tokens and $4.50 per million output tokens in the Singapore region, with cache reads at $0.075. Global regions list $1.413 and $4.24. Thinking tokens bill as output.
Is Qwen4-Max good for coding?
Alibaba reports 75.7 on DeepSWE v1.1, level with Opus 5.5 and GPT-6.1 Sol, but 48.5 on Terminal-Bench 4.0, well behind both. It runs in Qwen Code and Claude Code, and the builds on this site so far are browser and 3D games.
Qwen4-Max vs GPT-6.2 Sol: which is better?
On Artificial Analysis, GPT-6.2 Sol at max effort scores 57 against Qwen4-Max's 43, and costs less per task ($1.01 against $3.27). Qwen4-Max has lower per-token prices, accepts video input, and leads on AA-Briefcase and AutomationBench-AA.
What is the Qwen4-Max API model ID and context window?
The model ID is qwen4-max. Context is 1,000,000 tokens, with up to 983,616 input tokens when thinking is on and up to 262,144 output tokens including reasoning.