Blog

/

LLM updates

/

Qwen4-Max vs Qwen3.8-Max: What Changed?

Qwen4-Max vs Qwen3.8-Max: What Changed?

Qwen4-Max vs Qwen3.8-Max: What Changed?
Alex Shapiro
Alex Shapiro

Table of Contents

Alibaba made Qwen4-Max generally available on QwenCloud and it replaces Qwen3.8-Max as the top Qwen model.

It is the first model of the Qwen4 generation. At the same 2.4T size, it activates 25% fewer parameters per token, uses a new sparse attention layer and costs less per token, with the biggest cut on cached input. If you run Qwen3.8-Max through the API, switching makes sense for agent, office and coding work; batch jobs and self-hosted setups should stay on Qwen3.8-Max for now.

Qwen4-Max against Qwen3.8-Max-0902 and four other frontier models on 16 benchmarks. Scores as reported in Alibaba's launch post.

Score against tokens per task at low, high and xhigh reasoning effort, Qwen4-Max vs Qwen3.8-Max-0902. Scores as reported by Alibaba.

Qwen4-Max vs Qwen3.8-Max at a glance

Specification Qwen3.8-Max Qwen4-Max
Total / active parameters 2.4T / 95B 2.4T / 71B
Context window 1M tokens 1M tokens
Max thinking + answer 131,072 tokens 262,144 tokens
Input Text, image, video Text, image, video
Price per 1M tokens, input / output $2.00 / $6.00 $1.50 / $4.50
Batch API Yes Not yet
Open weights Yes Not yet

Sources: QwenCloud pages for Qwen3.8-Max and Qwen4-Max (Singapore prices), Qwen4-Max docs, Qwen3.8 model card.

What changed in the architecture

Both are 2.4T MoE models, but Qwen4-Max activates 71B parameters per token instead of 95B, so each token takes about 25% less compute.

The attention layers changed too. Qwen3.8-Max pairs three linear-attention layers with each full-attention layer. Qwen4-Max keeps that 3:1 layout but replaces full attention with Qwen Sparse Attention, which reads only the parts of the context an indexer selects. As a result, long prompts take less compute.

Fewer active parameters didn't cost quality in Alibaba's base-model tests. The Qwen4-Max base model predicts text 5–13% better than the Qwen3.8-Max base model, measured in bits per byte. Alibaba hasn't published a full model card for Qwen4-Max yet.

How the benchmark results changed

The baseline in the Qwen4-Max launch benchmarks is Qwen3.8-Max-0902, the September update of Qwen3.8-Max. The gains are uneven: agent and professional benchmarks moved by 9 to 20 points, coding benchmarks by 3 to 10.

Benchmark Qwen3.8-Max-0902 Qwen4-Max Reported by
Agents' Last Exam v1.1 27.9 46.7 Agents' Last Exam
HealthBench Professional 39.6 60.0 Alibaba
AutomationBench-AA 56.2 72.5 Artificial Analysis
APEX-Agents v1.1 63.3 72.1 Mercor
Humanity's Last Exam 43.9 51.7 Alibaba
Terminal-Bench 4.0 38.9 48.5 Alibaba
DeepSWE v1.1 69.3 75.7 Alibaba
CodeArena, Elo 1,676 1,750 Arena

Agent work improved the most. Agents' Last Exam, which tests long multi-step tasks, rose from 27.9 to 46.7, and AutomationBench-AA, which tests SaaS workflows, from 56.2 to 72.5. Outside agent tasks, the largest jump is on HealthBench Professional, a clinical-reasoning test, from 39.6 to 60.0.

Coding moved less. DeepSWE gained 6.4 points and ProgramBench 3.5 (from 28.0 to 31.5). Terminal-Bench 4.0 gained 9.6, but other frontier models still score higher there: Claude Opus 5.5 at 59.6 and Kimi K3.1 at 67.2.

On the independent Artificial Analysis Intelligence Index v5.0.1, Qwen4-Max scores 43 and Qwen3.8-Max (0902) scores 34. The median for comparable models is 41.

Reasoning modes and effort

Thinking is on by default in both models, and both take a reasoning_effort setting. Qwen4-Max has three levels, low, high and xhigh, with high as the default; enable_thinking=false turns thinking off. By default it spends up to 131,072 tokens thinking.

Effort changes both the score and the token bill. Approximate values from Alibaba's token-efficiency chart:

Benchmark and effort Qwen3.8-Max-0902: score, tokens per task Qwen4-Max: score, tokens per task
Work360, low 42, ~135K 47, ~91K
Work360, high 44, ~148K 48, ~96K
Work360, xhigh 48, ~167K 53, ~127K
Terminal-Bench 4.0, low 19, ~203K 30, ~122K
Terminal-Bench 4.0, high 31, ~250K 32, ~128K
Terminal-Bench 4.0, xhigh 38, ~289K 48, ~153K

On Work360, Qwen4-Max at the default high already beats Qwen3.8-Max at xhigh with about 40% fewer tokens, so high is enough for office and document work. On Terminal-Bench 4.0, high only matches Qwen3.8-Max, though with half the tokens; the jump to 48 comes at xhigh, for about 20% more tokens than high. Terminal coding needs xhigh.

Two settings matter for multi-turn agents. preserve_thinking is on by default, as in Qwen3.8-Max, so earlier reasoning should go back in assistant messages. CoT Summary is new: the API returns a readable summary of the reasoning, and the full reasoning comes back encrypted for the next turn.

Token use and pricing

Across the broader Artificial Analysis index, the token saving is smaller than on Alibaba's two benchmarks above: 127M output tokens against 150M, about 15%.

Input and output prices fell by 25%. Cached input fell further:

Cache price per 1M tokens Qwen3.8-Max Qwen4-Max
Implicit cache input $0.25 $0.075
Explicit cache read $0.17 $0.075
Explicit cache write, 5 minutes $2.50 $1.875
Explicit cache write, 1 hour Not offered $3.00

The largest savings show up on multi-step agent tasks. On the Artificial Analysis index, the cost per task fell from $10.02 to $3.27, about three times lower. On Alibaba's Work360, it fell from $4.43 to $1.67, about 2.7 times lower. A short request without cache hits gets less: the 25% price cut plus whatever token saving that task has.

Availability and how to start

Qwen4-Max has been generally available since November 16, 2026. It runs on:

  • the QwenCloud API, pay-as-you-go, with the model ID qwen4-max;
  • Token Plan Personal and Team subscriptions, billed in credits;
  • QwenStudio, QwenWork and Qoder.

Code written for Qwen3.8-Max runs on Qwen4-Max: the endpoints, the context window, image and video input and tool calling stay the same. The supported APIs are OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and DashScope, with setup guides for Claude Code, Codex and OpenCode. Explicit cache can now last an hour instead of 5 minutes, so a prefix stays cached even when calls are more than 5 minutes apart.

Does Qwen4 have open weights?

Not yet. Smaller Qwen4 models will be open-sourced, built with the same techniques as Qwen4-Max. At the Apsara Conference in September, Alibaba showed a Qwen4 lineup of Max, Plus, Flash and 27B. The weights haven't been published yet, and there's no date. We'll update this section when they appear.

Neither Max model fits on a local machine: 2.4T parameters at 16 bits take about 4.8 TB. For local use, Atomic Chat runs the open Qwen3.8 models, such as Qwen3.8 27B or Qwen3.8 Flash Next, as GGUF or MLX builds.

Our quick test

We gave both models the same prompt in Qwen Chat with thinking on:

Build a single self-contained HTML file (inline CSS and JS, no external libraries or fonts): a VRAM calculator for running local LLMs.

Inputs: parameters in billions; weight quantization (FP16, Q8_0, Q6_K, Q5_K_M, Q4_K_M); context length in tokens; number of layers; number of KV heads; head dimension; KV cache precision (FP16 or Q8_0).

Outputs: memory for weights, KV cache, runtime overhead and total, in GB; a stacked bar showing the split; and whether the total fits in 8, 16, 24, 32 and 64 GB.

Show the formulas you used under the result. Prefill the inputs with Llama 3.1 8B: 8B parameters, Q4_K_M, 8192 context, 32 layers, 8 KV heads, head dimension 128, FP16 KV cache.

Return only the HTML in one code block.

For these inputs the KV cache has one correct answer, 1.07 GB (exactly 1 GiB), so the test checks the math as well as the interface. One run per model, November 16, 2026.

Test result Qwen3.8-Max Qwen4-Max
Time to finished answer 3 min 21 s 11 min 35 s
Opened on the first try Yes Yes
KV cache shown 1.00 "GB" (actually GiB) 1.07 GB
Weights shown 4.19 "GB" (actually GiB) 4.83 GB
Recalculates when inputs change Yes Yes

Qwen4-Max: KV cache 1.07 GB, weights 4.83 GB, plus model presets, a GB/GiB switch and GPU examples for each memory tier.

Qwen3.8-Max: correct values in GiB, labeled as GB, so every figure reads about 7% low.

Both models got the formulas right. Qwen3.8-Max calculated in GiB but labeled the results GB. Qwen4-Max got the units right and built more than the prompt asked for: presets for seven models, GPU examples for each memory tier and how much context fits in 24 GB. It also took three and a half times longer. One run on launch day can't separate a slower model from a busy service, so treat the timing as a data point, not a speed benchmark.

Early hands-on reports

Most hands-on reports so far used the preview build that opened on November 11, not the general release, and each covers a handful of prompts.

  • Front-end and visual output got faster and cleaner. In a three-prompt head-to-head in Qwen Chat with thinking on, both models passed every task, and Qwen4-Max finished faster with a noticeably cleaner visual result.
  • Self-correction improved. In MindStudio's tests, the model overthought less than Qwen 3 models, caught and fixed its own labeling mistake on a map, and spotted an incorrectly worn seatbelt strap in a photo that a Qwen 3 model missed.
  • Not every result favors Qwen4-Max. On the game-balance category of the GameFeel benchmark, the preview scored 10.3 against 12.1 for Qwen3.8-Max. Other testers report overthinking on simple tasks and slow runs on long prompts.

Which model to use

Your setup What to do
Agents or office work through the API Switch to Qwen4-Max. Agent benchmarks gained 9 to 20 points, and a task costs 2.7 to 3 times less on Work360 and the Artificial Analysis index.
Coding through the API Switch to Qwen4-Max. DeepSWE and Terminal-Bench 4.0 gained 6 to 10 points, and prices are 25% lower. For terminal-heavy work, use xhigh effort.
Short requests without cache hits Switch to Qwen4-Max, but expect savings of about 25%, not two to three times.
Batch jobs Stay on Qwen3.8-Max until Qwen4 gets a batch API.
Self-hosting or fine-tuning Stay on Qwen3.8-Max until Qwen4 weights come out.

Frequently asked questions

Do I need to change my code to switch from Qwen3.8-Max?

Usually only the model ID, from qwen3.8-max to qwen4-max. Check max_completion_tokens: it now covers up to 262,144 tokens of thinking and answer together. On the native DashScope API, Qwen4-Max uses the multimodal endpoint even for text-only requests.

Can I use Qwen4-Max for batch jobs?

Not yet. Qwen4-Max has no batch API. Qwen3.8-Max batch calls cost $1 input and $3 output per 1M tokens, below Qwen4-Max's standard $1.50 and $4.50, so batch work stays cheaper on Qwen3.8-Max for now.

Can I run Qwen4 locally?

Not yet. Qwen4-Max is cloud-only, and the smaller open Qwen4 models haven't been released. The local option today is the Qwen3.8 family: Qwen3.8 27B and Qwen3.8 Flash Next run in Atomic Chat.

Sources

Checked November 16, 2026.

Qwen4-Max vs Qwen3.8-Max: What Changed?

Qwen4-Max vs Qwen3.8-Max: What Changed?

Compare Qwen4-Max and Qwen3.8-Max: benchmarks, API pricing, reasoning settings, open weights, and our hands-on VRAM calculator test.

11/16/26

10 min

38 Best MCP Connectors in 2026

38 Best MCP Connectors in 2026

38 best MCP connectors for 2026: development, documents, databases, web research, cloud, and automation — plus how to use them with local models in Atomic Chat.

8/17/26

20 min

SGLang vs vLLM: Benchmarks and Use Cases

SGLang vs vLLM: Benchmarks and Use Cases

SGLang vs vLLM compared: RadixAttention vs PagedAttention, benchmarks on unique and prefix-heavy workloads, and when to choose each engine.

8/4/26

9 min

Ollama vs vLLM: Setup and Benchmarks

Ollama vs vLLM: Setup and Benchmarks

Ollama vs vLLM compared: setup, model formats, concurrency, and real benchmarks — plus when each tool is the right choice for serving local LLMs.

8/2/26

12 min