Qwen4-Max Release: 2.4T Parameters, 1M-Token Context, and What the Qwen4 Architecture Changes

Qwen has released Qwen4-Max, a 2.4-trillion-parameter model built on the new Qwen4 architecture, with 71B parameters activated per token, native vision, and a one-million-token context window. The release matters because Qwen positions Qwen4-Max as a long-horizon "AI teammate" for professional work — 3D modeling, game development, manufacturing, finance, law, healthcare, and scientific discovery — and reports both higher benchmark scores and lower cost per task than the previous generation, Qwen3.8-Max.

What Qwen4-Max is

Qwen4-Max is the first model in the Qwen4 series and the successor to Qwen3.8-Max. Qwen describes it as a 24/7 AI teammate that "keeps the big picture in view and moves projects forward," and states that it represents a significant step up from Qwen3.8-Max across nearly every capability evaluated.

The model is available on QwenCloud through either a Token Plan or the API, and can also be used on QwenWork, Qoder, and QwenStudio. Qwen states that smaller models in the Qwen4 family are coming to open source, built on the same lineage and trained with the same generation of techniques.

Architecture: what is new in Qwen4

Qwen4-Max is built on a new architecture for the Qwen4 series with 2.4T backbone parameters, 71B activated per token, and an additional 328B N-gram Embedding parameters. Qwen says the architecture systematically upgrades the sparse MoE model across attention, residual connections, and embeddings, improving computational efficiency, model capacity, and training stability.

The three named architectural components are:

  • GDN + Qwen Sparse Attention (QSA). Three Gated DeltaNet layers compress history into fixed-size states for every QSA layer. QSA uses a lightweight indexer to select relevant context at micro-block granularity, reducing both attention and indexing costs for long sequences.
  • Gated Residual (GR). Four parallel residual branches use dynamic read and write gates to strengthen information flow across layers and improve training stability.
  • N-gram Embedding. Context-based lookups provide representations of local token patterns at the second layer, expanding model capacity with little additional computation.

Pre-training results

Qwen reports that training at the 2.4T-parameter scale progressed smoothly, with loss decreasing steadily and no loss spikes throughout the run. Qwen attributes this stability primarily to improvements in model architecture and training optimization.

On in-house evaluations across Knowledge, Code, QA, and STEM, Qwen4-Max-Base achieves the lowest bits per byte (BPB) among all five evaluated checkpoints. It improves on Qwen3.8-Max-Base in every domain, with approximately 5–13% lower BPB while activating 25% fewer parameters. Qwen notes in its evaluation notes that GLM-5.3 and Kimi-K3.1-Pro are post-trained checkpoints, which may affect comparisons with base models.

Token efficiency and pricing

Qwen4-Max outperforms Qwen3.8-Max with fewer tokens. On Work360, token usage drops by approximately 24% and 35% at Xhigh and High effort, respectively. On Terminal-Bench 4.0, the reductions are approximately 48% and 49%, respectively.

Qwen has also lowered API prices compared with Qwen3.8-Max, with particularly large reductions in cached-input pricing. In the Work360 evaluation, the average cost per task drops from $4.43 to $1.67 — a 62% reduction.

Work360: Qwen's benchmark for professional work

Work360 is Qwen's framework for modeling and categorizing complex work scenarios. Its hierarchical taxonomy spans 26 Tier-1 domains, 182 Tier-2 subdomains, and 721 Tier-3 specialized fields.

On the Work360 benchmark, Qwen4-Max scored 52.69, up from 47.74 for Qwen3.8-Max. Qwen describes this as a substantial improvement over the previous generation, combining broader industry coverage with stronger professional task execution and collaboration.

3D modeling and game development

Qwen4-Max uses Blender to carry out geometry modeling, scene assembly, material setup, lighting, and rendering, progressively turning creative ideas into detailed 3D works. Across architecture, interiors, natural landscapes, and science-fiction scenes, Qwen says the model demonstrates an integrated understanding of spatial layout, object structure, and visual appearance. Qwen states that these 3D assets are used in games and brought into physical objects through 3D printing, connecting digital creation with downstream production workflows.

Qwen4-Max also works with leading game engines, including Unity, Unreal Engine, and Godot. From a single natural-language brief, it handles scene construction, gameplay logic, integration of external assets, material setup, HUD design, and visual effects to deliver a playable game. During development, it runs the game and uses visual and interaction feedback to refine camera tracking, character animation, hit feedback, lighting, and pacing. Three named examples are:

  • Meow of Magic — a cat-mage adventure built in Unreal Engine, with spell casting, upgrades, and waves of enemies and bosses.
  • Yun Guan Xing — a fantasy adventure built in Unreal Engine, with sword flight through clouds and rings, world exploration, and a boss fight.
  • Flying Racer — a mobile racer set around West Lake, built in Unity 6, with drifting, nitro boosts, and wings for flight, delivered as an installable Android game.

Industrial and manufacturing work

In production environments at SANF and Pacific Union, Qwen4-Max demonstrates end-to-end capabilities spanning automotive production-line planning, part design, and machining verification.

At the production-line level, Qwen4-Max uses 2D layouts and process parameters to build 3D production-line models from an existing equipment library, simulate cycle times, and perform PLC virtual commissioning. At the part level, it models and designs car-door assemblies, friction wheels, and other components, while assisting with machining process planning, toolpath generation, and simulation-based verification. Through feedback-driven iteration, it identifies overcuts and insufficient material removal before machining begins.

In this showcase, the manual effort required to program a single workpiece fell from approximately 475 minutes to 24 minutes, a reduction of about 95%.

Agentic video production

With Qwen4 and WonderClip, Qwen describes an end-to-end video creation workflow: refining storyboard scripts, constructing static assets, animating cameras in blockouts, rendering them into individual clips, and editing them into a cohesive, multi-scene film. Knowledge is incorporated into generative models through text prompts or reference images, helping generated content better reflect the creator's knowledge and reasoning. Parametric blockouts ensure consistent geometry, scale, and spatial relationships across complex static assets, and enable precise control over camera paths and the timing of actions and events.

Finance, law, and healthcare

Qwen states that Qwen4-Max supports complex work in high-barrier scenarios such as financial investment research, legal due diligence, and clinical healthcare, executing deep logical deduction and evidence-chain traceability rather than simple information retrieval.

Financial investment research

Qwen4 invokes 90 MCP tools to acquire market quotes, financials, interest rates, and dividend data across A-shares, HK and US equities, bonds, funds, and derivatives, while integrating search to cross-check public disclosures. For more complex research tasks, it tracks industry supply-demand dynamics and changes in new orders, assesses macro interest rates and credit spreads, evaluates the equity-bond yield spread, and conducts multi-factor backtesting to gauge style exposures.

In the CSI 300 index derivatives case, it combines financing costs, dividend yields, and contract maturities to calculate the theoretical futures basis, analyze the actual discount to spot, and examine the spread between implied and historical volatility. Deliverables are generated as Excel workbooks and editable PowerPoint decks, backed by two traceability mechanisms: verifiable sources, where clicking hyperlinks within cells leads directly to the original data source, and chart-to-workbook alignment, where PowerPoint charts map one-to-one to the underlying Excel workbook.

Pre-IPO legal due diligence

Faced with 198 inconsistently formatted and named working papers supplied by the client in batches, Qwen4-Max filters out noise, renames and categorizes the files by substantive content into 14 folders, and automatically compiles a working paper index. It also proactively searches public records covering business registration, intellectual property, judicial records, and credit records, cross-checking these sources against the working papers to verify facts concerning the issuer.

For core risk control, the model scrutinizes contractual provisions and analyzes legal risks, identifying potential concerns such as reinstatement clauses in valuation adjustment mechanism (VAM) agreements and providing actionable remedial recommendations. The resulting report is 86 pages and over 60,000 Chinese characters, covering 12 review areas including corporate history and shareholding structure, and 14 specific legal issues. Every conclusion is backed by working paper citations for full traceability.

Critical care

In the described case, a patient developed ventricular fibrillation after carotid artery stenting and was successfully resuscitated, then experienced chest pain post-extubation and required reintubation on Day 6. The case involved dozens of lab reports, over 10,000 Chinese characters of progress notes, multiple sets of physician orders, and 1,433 original medical images.

Within a single conversation, Qwen4 reviews the entire complex medical record, completing an end-to-end workflow from information extraction to clinical decision support: querying lab values (accurately locating specific CRP results across multiple dates), structuring the clinical course (aligning six days of complex events into a coherent timeline), interpreting imaging (categorizing studies into six imaging series, pinpointing the target chest CT, and deploying multiple subagents to simultaneously review hundreds of original slices to identify bilateral dependent consolidation, fully consistent with the attending physician's diagnosis), and supporting decisions (synthesizing multimodal clinical evidence to propose four management recommendations that correspond point by point with the physician's actual orders that day).

Long-running agents and Live Delivery

Qwen4-Max powers 24/7 agents that tackle long-running tasks through autonomous planning and continuous iteration, delivering usable results in stages while keeping users in control.

Qwen's Live Delivery approach addresses the problem that when users must wait until a long-running task is finished to see results, an agent's mistakes can be difficult to undo. The agent delivers a usable first version early, then expands and improves it through successive releases, updating its plans based on execution results and user requirements. Each release gives users a concrete basis for assessing progress and deciding what should happen next, and they can step in at any point to correct mistakes or change direction. Qwen is open-sourcing the Qwen-Live-Delivery-Plugin, which users can install to get started with Live Delivery.

Cloud resource scheduling

Qwen4-Max performs operations research modeling, solving, and validation around complex objectives and constraints. This capability has been deployed in real-world Alibaba Cloud business scenarios, covering multi-model call scheduling for data annotation, online allocation and scheduling of cloud computing GPU resources, and offline rescheduling of cloud computing CPU resources.

The model autonomously generates candidate algorithms based on task specifications, collaborates with MindOpt, Alibaba's proprietary solver, to evaluate feasibility, objective values, and time consumption to obtain feedback, and then iterates toward superior strategies by modifying code and performing cross-validation. Qwen reports the following results:

  • Model call scheduling costs for data annotation were reduced by an average of 10.42% compared with the reference baseline.
  • Online GPU allocation increased whole-machine idle capacity duration by 4.62%.
  • In the offline CPU rescheduling scenario, the solving speed for reaching the optimal objective improved by more than 14.61 times.

Scientific discovery

Autonomous design and synthesis of a novel coolant material

To address cooling challenges that next-generation high-power chips pose for data centers, Qwen4 used the integrated dry- and wet-lab environment of Deep Principle's Mira platform to autonomously take a new coolant molecule from design through laboratory synthesis to testing and validation, yielding a physical sample of the material.

During a continuous 48-hour agent run, Qwen4 surveyed possible technical approaches, constructed a candidate space of 2.7 million molecules, and proceeded through structural screening, MPA property prediction, first-principles calculations, retrosynthetic analysis, and experiment planning. Qwen4 then directed an automated wet lab to prepare reagents and carry out synthesis, separation and purification, and testing. After four iterations of a closed "molecular design → synthesis and testing → active learning" loop, Qwen4 obtained a new, experimentally validated coolant molecule.

Drug discovery for cognitive decline

Focusing on the NLRP3 inflammasome, an important avenue for research into neuroinflammation in Alzheimer's disease, Qwen4-Max worked on DP Technology's PharmMaster platform, demonstrating end-to-end capabilities spanning target research, molecular optimization and design, and computational evaluation.

Qwen4-Max autonomously searched literature and patent evidence, selected a reference molecule, and established an evaluation baseline. It then conducted multiple rounds of structural design, property prediction, and molecular docking, using evaluation feedback to refine its optimization strategy. Finally, it combined cross-round metric comparisons with relative binding free-energy (RBFE) assessment to prioritize a candidate.

Across the workflow, it made 454 tool calls, completed 3,239 computational metric evaluations, and designed and optimized 24 candidate molecules. Compared with the patent-derived starting molecule, the final prioritized molecule achieves broad improvements across multiple key computational metrics. RBFE calculations estimate its nominal binding affinity for the target at approximately 3.6 times that of the reference. Qwen states that this outcome received expert endorsement from DP Technology, whose experts consider the molecule to have substantial research value and to warrant further wet-lab validation.

Model–harness–product co-design

Qwen4-Max is developed through close co-design across the model, agent harness, and product layers, in collaboration with the teams behind products such as Qoder. This approach defines model capabilities from real user workflows and evaluates them on end-to-end delivery, with particular focus on everyday office work and professional design.

Safety and security

Qwen states that it embeds model governance — guided by six principles for AI development (human-centeredness, inclusivity and integrity, privacy protection, safety and reliability, trustworthiness and controllability, and open co-governance) — throughout the model lifecycle, from initial design and research through development, training, deployment, and real-world application.

For software engineering training tasks, Qwen added code security checks on top of functionality checks to strengthen intrinsic secure-coding capabilities. On Last Secure Code Bench's "code reconstruction without security hint" and "dual verification of functionality and vulnerabilities," Qwen4-Max's function-level pass rate for both functionality and security rose from 22.0% for Qwen3.8-Max to 31.8%. The share of code generated securely and simultaneously at all three granularities — function, file, and repository — rose from 8% to 14.7%, nearly doubling. Qwen states the model performs particularly well at avoiding core risks such as injection, memory safety, and broken access control.

For cybersecurity, Qwen filters data according to the specific purpose of each task, retaining data for defensive tasks such as vulnerability verification, detection, and remediation, while removing data for offensive tasks aimed at enhancing attack capabilities. An internal review by security experts of long-horizon task trajectories, including full chain-of-thought, found that Qwen4-Max's cybersecurity defense capabilities improved substantially and that safety against offensive uses was significantly strengthened. Qwen states that no capabilities posing large-scale cybersecurity risks have been observed.

For CBRN, Qwen designed dedicated safety data and enhanced Qwen4-Max's safety during the safety post-training stage. In internal evaluations, Qwen4-Max identified more requests carrying potential risks and provided safe responses, without exhibiting over-refusal. An internal expert review of the model's answers, including full chain-of-thought, found that the solutions the model proposes are not genuinely innovative and cannot complete the task end-to-end, and Qwen states that no risk has been identified of the model translating relevant knowledge into a significant uplift in a user's capabilities.

Ethics statement

Qwen states that the model is intended for lawful, constructive purposes and must not be used to cause harm. It cannot be used to exploit or endanger people, including children, or to promote violence, hate, discrimination, or abuse, or to develop or use CBRN weapons; nor may it be used to infringe privacy, carry out fraud or deception, spread disinformation, engage in cybersecurity abuse, or bypass security safeguards. Qwen describes the model as designed to assist people in their work, not to replace professional judgment in high-impact scenarios, and states that human expertise and oversight remain essential where decisions may carry serious consequences. Users must ensure all input data is obtained and used lawfully and that authorization has been obtained from the individuals concerned for any images or videos used.

Evaluation sourcing

Qwen's footnotes state that JobBench scores were obtained using the updated dataset and evaluation code; APEX-Agents v1.1 scores are cited from the Mercor leaderboard; AA-Briefcase v1.1 and AutomationBench-AA scores are cited from Artificial Analysis; CodeArena and AgentArena scores are cited from LM Arena; HLAB-Vals-1.1 scores are cited from the Vals Index; and Agents' Last Exam v1.1 scores are cited from Agents' Last Exam. For ChartoGraphy, the scores for Qwen4-Max and Qwen3.8-Max-0902 were obtained with min_pixels set to 4096×32×32.

Sources