Qwen4-Max is out: price, benchmarks and no open weights
Alibaba's Qwen4-Max costs $1.50 per million input tokens and ships without weights. What its own charts show, the fine print, and how to try it in Claude Code.
By Shaheer Q. · · 12 min read
The top story on Hacker News today is Qwen4-Max, the new flagship model from Alibaba's Qwen team, with more than 630 points by early afternoon UTC. It is a 2.4-trillion-parameter model with a one-million-token context window, it costs $1.50 per million input tokens, and it comes without downloadable weights.
That last part is the surprise. Qwen is the model family many developers run on their own machines. This release is hosted only, and Alibaba says the open models come later. Below is what the announcement, the pricing page and the docs really say, where the model wins and loses on Alibaba's own chart, and how to try it in a coding agent.
What Alibaba released
- Size: a backbone of 2.4 trillion parameters with 71 billion active per token, plus 328 billion parameters in what Alibaba calls an N-gram Embedding. It is a sparse mixture-of-experts model, so only a small part runs for each token.
- Input and output: text, images and video in, text out.
- Context: one million tokens. The model page lists a maximum input of 991K tokens, or 983K with thinking on.
- Output: up to 131K tokens without thinking. With thinking on, the reasoning and the answer share a 262K budget.
- Where: QwenCloud's API and its Token Plan subscription, plus Alibaba's own apps (QwenWork, Qoder and Qwen Studio). The API model ID is
qwen4-max. - Timeline: a preview named
qwen4-max-previewopened to Token Plan subscribers on 11 November. The model page forqwen4-maxshows an update date of 16 November.
The price: 25% lower, and cache reads much lower
These are QwenCloud's listed prices for the Singapore region, in US dollars per million tokens.
| Qwen4-Max | Qwen3.8-Max | |
|---|---|---|
| Input | $1.50 | $2.00 |
| Output | $4.50 | $6.00 |
| Cached input (implicit cache hit) | $0.075 | $0.25 |
| Explicit cache read | $0.075 | $0.17 |
| 5-minute cache write | $1.875 | $2.50 |
| 1-hour cache write | $3.00 | not listed |
What that means in practice:
- Input and output are both 25% cheaper than the previous flagship. That is my arithmetic on the two listed prices.
- A cache hit costs 5% of the input price. Coding agents resend the same long prefix on every turn, so this line matters more than the headline price for agent work.
- There are no price tiers by prompt length. The pricing docs say thinking and non-thinking modes cost the same, "with no input-length tiers". A 900K-token prompt is billed at the same rate as a short one.
- Thinking tokens are billed as output, and thinking is on by default.
- Other regions are slightly cheaper. The docs list $1.413 for input and $4.24 for output in Beijing and in the "Global" deployment offered from Frankfurt, Hong Kong, Tokyo and Virginia.
A rough example, as plain arithmetic: one million fresh input tokens and 100,000 output tokens come to $1.95 on Qwen4-Max and $2.60 on Qwen3.8-Max.
Alibaba also claims the new model needs fewer tokens to finish a task. On its internal Work360 benchmark it reports the average cost per task falling from $4.43 to $1.67. That is a vendor number on a vendor benchmark, so read it as a direction, not a forecast for your bill.
The benchmarks: one narrow lead on coding, behind on three
The announcement has one chart with 16 benchmarks. It compares Qwen4-Max with Qwen3.8-Max, Claude Opus 5.5, GPT-6.1 Sol, GPT-6 Astra and Kimi K3.1. These are the four coding benchmarks, as printed in the chart. Higher is better.
| Benchmark | Qwen4-Max | Qwen3.8-Max | Opus 5.5 | GPT-6.1 Sol | GPT-6 Astra | Kimi K3.1 |
|---|---|---|---|---|---|---|
| DeepSWE v1.1 (agentic coding) | 75.7 | 69.3 | 74.2 | 75.2 | 74.1 | 75.5 |
| CodeArena Elo (web development) | 1750 | 1676 | 1816 | 1742 | 1763 | 1686 |
| Terminal-Bench 4.0 (terminal coding) | 48.5 | 38.9 | 59.6 | 56.1 | 59.1 | 67.2 |
| ProgramBench (software replication) | 31.5 | 28.0 | 65.0 | 52.5 | 55.0 | 25.0 |
Four things to know before you repeat any of these:
- Qwen4-Max tops 4 of the 16 panels, by my count: DeepSWE v1.1, Agents' Last Exam v1.1, HLAB-Vals-1.1 (legal agent work) and BioMysteryBench. The DeepSWE lead is 0.2 points over Kimi K3.1.
- On Terminal-Bench 4.0 it is last among the five current models, 18.7 points behind Kimi K3.1. On ProgramBench it scores less than half of Opus 5.5.
- The comparison set leaves out newer models. There is no Claude Fable 5.2 and no Gemini 4 model in the chart. Our Fable 5.2 and Gemini 4 Carbon post covers those.
- The sources are mixed. The footnotes say some scores are cited from outside leaderboards (Arena for CodeArena, Artificial Analysis, Mercor, Vals). For DeepSWE, Terminal-Bench and ProgramBench the footnotes do not say who ran them.
The honest summary is that this is a large step up from Qwen3.8-Max. On coding it is level with the models Alibaba chose to compare against on one test and behind the best of them on the other three. It is not a new leader.
The headline scores use a setting that is not the default
This is easy to miss. A second chart in the announcement plots score against tokens used at three reasoning efforts. On Terminal-Bench 4.0, the 48.5 is the Xhigh point. The High point on the same chart sits just above 30.
QwenCloud's docs say the API default is reasoning_effort=high. So a default API call is not the configuration behind the headline Terminal-Bench number. The same holds for Work360, where the published 52.69 matches the Xhigh point and High sits around 48. If you test the model, set the effort on purpose and compare like with like. Xhigh also spends more tokens, and those are billed as output.
One outside number so far
Artificial Analysis lists Qwen4-Max at 43 on its Intelligence Index v5.0.1, ranked 38th of 81 models, at a cost of $3.27 per index task. Much of the Hacker News thread is an argument about whether that index is a fair measure, with commenters pointing to recent changes in how it is built. I have not checked either side of that argument. It is the only third-party score I found today.
No weights this time
The announcement ends with this: "Max is only the first look at Qwen4. Smaller models in the family are coming to open source". It names no sizes, no licence and no date.
- Nothing is on Hugging Face yet. A search of the Qwen organisation for "Qwen4" returned no models when I checked on 16 November.
- One thing was open-sourced today: a small Apache 2.0 repository called Qwen-Live-Delivery-Plugin, which packages the "ship a first version early, then keep releasing" agent workflow described in the post.
- Local users should wait. Several of the most-replied comments on Hacker News ask when the smaller models arrive. If you run models on your own hardware, today's release changes nothing for you yet. Our llama.cpp 1.0 upgrade guide covers the local side.
How to try it in a coding agent
There are three routes. I have not tested any of them, so treat these as what the docs say.
Pay as you go, through Claude Code
QwenCloud exposes an Anthropic-compatible endpoint, and its Claude Code page gives these settings:
| Setting | Value from QwenCloud's docs |
|---|---|
ANTHROPIC_BASE_URL | https://ap-southeast-1.maas.qwencloudapi.com/apps/anthropic |
ANTHROPIC_AUTH_TOKEN | your QwenCloud API key |
ANTHROPIC_DEFAULT_OPUS_MODEL | qwen4-max |
CLAUDE_CODE_MAX_CONTEXT_TOKENS | 983616 |
Details from the same page that will save you time:
- The base URL must end in
/apps/anthropic, with no extra/v1. - The endpoint serves only
/v1/messages. It has no model list endpoint. - The docs' full example also maps the Sonnet, Haiku and subagent slots to older Qwen models. Copy the whole block from QwenCloud's Claude Code page, not just the four lines above.
- If long output is cut off, the docs suggest
CLAUDE_CODE_MAX_OUTPUT_TOKENS=131072.
There is also an OpenAI-compatible endpoint for tools that speak that format, and the model page shows a free quota of one million tokens. The pricing docs say the free quota applies in the Singapore region only. I did not read its terms.
If you are new to how Claude Code picks models and reads settings, start with the Claude Code guide.
The Token Plan subscription
The Token Plan is a monthly subscription billed in credits, meant for coding tools such as Claude Code, Qwen Code, Codex and Qoder. Individual plans are listed at $6, $10, $18 and $43 a month. Read the terms before you pay:
- It is for interactive use in coding and agent tools only. The docs say it must not be used for automation scripts or application backends, and that misuse can get a key banned.
- When the credits run out, calls are blocked. They do not roll over to pay-as-you-go billing.
- The Individual plan cannot be cancelled or downgraded, according to its overview page.
- The Claude Code example for the plan still uses
qwen4-max-preview. The same docs say the preview ID is retired after the preview ends on 25 November. The plan's model list includesqwen4-maxas well. - I could not find how many credits a Qwen4-Max request uses, so I cannot tell you what a plan buys.
OpenRouter
OpenRouter lists the model as qwen/qwen4-max at the same $1.50 and $4.50, served by Alibaba Cloud. That is the shortest path if you already have an OpenRouter key.
Where your code goes
For most teams this is the question that decides it, so here is what the docs say and what they do not.
- You pick a region, and it is where data is stored. The regions page defines a region as "where your requests are received and where your data is stored". The options are Singapore, Beijing, Frankfurt, Hong Kong, Tokyo and Virginia.
- Inference can run somewhere else. A separate "deployment scope" decides where the model runs. Frankfurt, for example, offers Global or EU scope.
- The Token Plan is Singapore only, with Global inference. Its docs say plainly that "the prompts and model outputs will involve cross-border data transfer".
- All requests are moderated. The data security page says every API request passes through automatic content moderation on both input and output.
- Training use is only partly answered. The Token Plan Team docs say conversation data is not used for model training. The Individual plan points to a section of the service agreement that I did not read. I found no statement about training on the data security page for pay-as-you-go traffic.
If your company has rules about where source code may be sent, settle that before you paste a key into your agent.
Alibaba's own secure-code number
One figure in the safety section deserves more attention than it will get. On a benchmark called Last Secure Code Bench, Alibaba reports that the share of generated functions that pass both the functionality check and the security check rose from 22.0% for Qwen3.8-Max to 31.8% for Qwen4-Max.
That is a real improvement. It also means that, by the vendor's own test, about two in three generated functions failed at least one of the two checks. The announcement gives no figure for other vendors' models on this benchmark, so it tells you nothing about how Qwen compares. It is a reminder that generated code still needs review. Yesterday's Lovable and Supabase RLS post shows what skipping that review looks like.
Should you switch?
These are my reading of the numbers above, not test results.
- As a daily driver for terminal-heavy agent work: not on this evidence. Alibaba's own chart puts it behind every current rival on Terminal-Bench 4.0.
- As a cheap second provider: worth an afternoon. It speaks the Anthropic API format, long prompts cost the same per token as short ones, and cache hits are cheap. That fits the fallback role from our post on what a fallback really costs, provided the data questions above are fine for your work.
- For legal agent work: its widest lead on the chart. It scores 21.3 on HLAB-Vals-1.1 against 9.2 for Opus 5.5. The footnotes cite that score from the Vals Index.
- If you run models locally: wait for the smaller Qwen4 models. There is no date.
The short version
- What it is: Alibaba's Qwen4-Max, a hosted 2.4-trillion-parameter model with 71 billion parameters active per token and a one-million-token context. It takes text, images and video.
- Price: $1.50 input and $4.50 output per million tokens in Singapore, 25% below Qwen3.8-Max, with cache hits at $0.075 and no long-prompt surcharge.
- Benchmarks: on Alibaba's chart it leads narrowly on DeepSWE v1.1 and trails on CodeArena, Terminal-Bench 4.0 and ProgramBench. Headline scores use Xhigh effort. The API default is High. Claude Fable 5.2 and Gemini 4 are not in the chart.
- Weights: none. Smaller open models are promised, with no date.
- Try it: an Anthropic-compatible endpoint for Claude Code, a credit-based Token Plan with strict terms, or OpenRouter.
- Check first: where your prompts are stored and processed, and whether that is acceptable for your code.
Frequently asked questions
How much does Qwen4-Max cost?
QwenCloud lists $1.50 per million input tokens and $4.50 per million output tokens in its Singapore region, with cached input at $0.075 per million. Thinking tokens are billed as output. The previous flagship, Qwen3.8-Max, is listed at $2 and $6 on the same site.
Is Qwen4-Max open source, and can I run it locally?
No. Qwen4-Max is available only as a hosted model. Alibaba's announcement says smaller models in the Qwen4 family are coming to open source, but it gives no sizes, licence or date. A search of the Qwen organisation on Hugging Face returned no Qwen4 models on 16 November 2026.
Can I use Qwen4-Max in Claude Code?
QwenCloud's docs say yes. It offers an Anthropic-compatible endpoint, and the docs tell you to point ANTHROPIC_BASE_URL at it and set ANTHROPIC_DEFAULT_OPUS_MODEL to qwen4-max. I have not tested that setup.
Is Qwen4-Max better than Claude Opus 5.5 for coding?
On Alibaba's own chart it is slightly ahead of Opus 5.5 on DeepSWE v1.1 (75.7 against 74.2) and behind it on CodeArena, Terminal-Bench 4.0 and ProgramBench. The chart does not include Claude Fable 5.2 or any Gemini 4 model.