Home โ€บ Models โ€บ Qwen4-Max
New flagshipHosted onlyNative visionReleased 16 Nov 2026

Qwen4-Max: Alibaba's AI teammate

Qwen4-Max is the first model of the Qwen4 generation and Alibaba's most capable model so far. It's a 2.4-trillion-parameter mixture-of-experts model that only uses about 71 billion parameters per token, reads text, images and video, handles a million tokens of context and is built for long, multi-step work.

Key specs

Model ID
qwen4-max
Released
16 November 2026
Architecture
Mixture of experts (new Qwen4 design)
Parameters
2.4T total ยท ~71B active per token, plus 328B N-gram embedding parameters
Context
1M tokens ยท up to 393K output tokens (per the QwenCloud model page)
Inputs
Text, image, video
API formats
OpenAI Chat Completions & Responses, Anthropic Messages
Features
Thinking mode, function calling, structured output, web search, context caching
Weights
Not downloadable; smaller open-weight Qwen4 models are promised
Where
QwenCloud API & Token Plan, QwenWork, QwenStudio, Qoder
$1.50 / $4.50
Per 1M input / output tokens (International). Cache hits $0.075. Global: $1.413 / $4.24.
โˆ’62%
Average cost per task on Alibaba's Work360 benchmark vs Qwen3.8-Max ($4.43 โ†’ $1.67)
โˆ’25%
Fewer active parameters than Qwen3.8-Max at the same 2.4T size
Estimate your cost โ†’

Qwen4-Max vs Qwen3.8-Max

Alibaba-reported scores, higher is better. Each benchmark has its own 0โ€“100 scale.
Qwen3.8-MaxQwen4-Max

What's new under the hood

  • Hybrid attention: three Gated DeltaNet layers for every Qwen Sparse Attention layer, built for very long inputs.
  • Gated Residual design with four parallel residual branches.
  • N-gram embeddings at the second layer, adding 328B parameters that act like a memory cache.
  • Stable training: Alibaba reports no loss spikes at 2.4T scale.
  • Training chips: Alibaba says the next generation trains on its own T-Head chips.

Built as a "teammate"

  • Live Delivery: ships an early usable version, then improved ones, so you can check progress and redirect.
  • Qwen-Live-Delivery-Plugin is being open-sourced for agent tools.
  • Up to ~50% fewer tokens on some tasks; 35% fewer at High reasoning effort on Work360.

Where it leads

  • Top DeepSWE v1.1 score in Alibaba's chart (75.7).
  • Big jump on Agents' Last Exam (27.9 โ†’ 46.7).
  • 6th on Code Arena web development at launch (1,750 Elo, preliminary).

Where it trails

  • ProgramBench: 31.5 vs 65.0 for Claude Opus 5.5.
  • Terminal-Bench 4.0: improved to 48.5, but leading rivals still score higher.
  • Closed weights, unlike Qwen3.8-Max.

Safety

  • Cyber training data filtered towards defensive uses; extra CBRN safety training.
  • Secure, correct code answers rose from 22.0% to 31.8% on Last Secure Code Bench.
  • These are Alibaba's own internal tests; no independent testing is cited yet.

Try it in a few lines

QwenCloud is OpenAI-compatible, so the standard OpenAI SDK works. Create an API key in the QwenCloud console, set DASHSCOPE_API_KEY, then run:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.getenv("DASHSCOPE_API_KEY"),
    # Singapore region; keys only work in the region they were created in
    base_url="https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1",
)

resp = client.chat.completions.create(
    model="qwen4-max",
    messages=[{"role": "user", "content": "Plan a 3-stage website launch."}],
    extra_body={"enable_thinking": True},  # optional: thinking mode
)
print(resp.choices[0].message.content)

Benchmarks and efficiency figures are Alibaba-reported unless noted. See the announcement and QwenCloud docs.

In action

What Alibaba showed it doing

Alibaba's launch demos focus on long jobs that end in real deliverables. These are Alibaba's own showcases, not independent tests.

๐Ÿ“ˆ
~90 tools

Finance research

Analysed stocks, bonds, funds and futures across China, Hong Kong and US markets, then produced an Excel workbook and a slide deck.

โš–๏ธ
86 pages

Legal review

Sorted 198 working papers into 14 folders and wrote a report covering 12 review areas and 14 legal issues.

๐Ÿฅ
1,433 images

Critical-care case

Reviewed medical images to build a six-day timeline and propose four next steps for clinicians to consider.

๐Ÿงช
2.7M molecules

Science

Ran for 48 hours with a chemistry tool to screen coolant candidates, leading to one lab-validated molecule.

Pricing

What Qwen4-Max costs

Pay per token through the QwenCloud API, or use it inside a Token Plan subscription. New accounts get free tokens to try it.

Per 1M tokensInternationalGlobal
Input$1.50$1.413
Input from cache (implicit hit)$0.075โ€”
Output (incl. thinking)$4.50$4.24
Token PlanPer monthCreditsAgents
Lite$620,0001โ€“2
Essential$1045,0002โ€“3
Standard$1880,0003โ€“4
Pro$43200,0006โ€“8

๐ŸŽ Free quota: new QwenCloud accounts get about 1M free tokens for Qwen4-Max, valid 90 days, in the Singapore region. Token Plan prices as listed mid-November 2026; new-user offers from $3/month have run. Check QwenCloud pricing before you buy.

Quick cost estimate
$0
per month (30 days) ยท $0 per request
All Qwen pricing โ†’
Access

Five ways to use Qwen4-Max

โŒจ๏ธ

QwenCloud API

Model ID qwen4-max. Works with OpenAI and Anthropic SDKs.

๐ŸŽŸ๏ธ

Token Plan

Monthly credits for coding tools like Qwen Code and Claude Code.

๐Ÿ’ผ

QwenWork

Alibaba's workplace agent, on web and desktop.

๐Ÿ’ฌ

QwenStudio

Qwen's free assistant for everyone.

๐Ÿง‘โ€๐Ÿ’ป

Qoder

Alibaba's AI coding tool, co-designed with Qwen4-Max.

The code sample in the section above shows a complete first API call. For a step-by-step setup, see the API guide and guides.

Upgrade

Qwen4-Max vs Qwen3.8-Max

Qwen3.8-MaxQwen4-Max
Released3 Aug 202616 Nov 2026
Parameters2.4T total ยท 95B active2.4T total ยท 71B active (โˆ’25%)
API price (in / out, per 1M)$2.00 / $6.00$1.50 / $4.50 (โˆ’25%)
Work360 score47.7452.69
Avg. cost per Work360 task$4.43$1.67 (โˆ’62%)
DeepSWE v1.169.375.7
Agents' Last Exam v1.127.946.7
Context1M (hosted)1M
Downloadable weightsYes (text-only, Max licence)No

Scores and task costs are Alibaba-reported.

Coming next

Open-weight Qwen4 models

Alibaba says smaller Qwen4 models with downloadable weights will be released to developers. The open Qwen3.8-Flash-Next preview already uses the Qwen4 architecture.

Further out

Qwen 5

Alibaba plans to scale its next generation to 5โ€“10 trillion parameters, trained on its own T-Head chips.

FAQ

Questions about Qwen4-Max

Is Qwen4-Max open source?

No. Its weights aren't downloadable; you use it through QwenCloud and Alibaba's apps. Smaller open-weight Qwen4 models are promised.

Can I try it for free?

Yes. New QwenCloud accounts get about 1M free tokens for Qwen4-Max for 90 days (Singapore region), and QwenStudio is free to use.

How long can my input be?

Up to about 1 million tokens of context, with up to 393K output tokens (shared between thinking and the answer).

Does it work with my existing OpenAI or Anthropic code?

Yes. QwenCloud offers OpenAI-compatible (Chat Completions and Responses) and Anthropic-compatible (Messages) endpoints. Change the base URL, API key and model name.

Can it see images and video?

Yes. Vision is built in: it accepts images and video alongside text.

How does it compare with the best models from other labs?

It ranked 6th on Code Arena's web-development board at launch and leads some agent benchmarks in Alibaba's charts, but trails top rivals on others such as ProgramBench and Terminal-Bench. Its main advantage is price.