Alibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

Alibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context


Alibaba’s Qwen team has released Qwen4-35B-A3B, the first open-weight model in the Qwen4 family. Weights are on Hugging Face and ModelScope under Apache 2.0. Qwen4-35B-A3B is an open-weight MoE model that activates about 3B parameters per token. It reads text, images and video, with a native context of 1,048,576 tokens.

TL;DR

Size: 35B main parameters, 3B active per token. Hugging Face counts about 3.8B active and about 56B total with n-gram tables. Native 1M context.

Runs on: 1 GPU when quantized. 4-bit needs 20.5 to 24.7 GB, so a 24 GB GPU or Mac works. BF16, FP8, GGUF and MLX builds exist.

Performance: Beats dense Qwen3.8-27B on all 8 charted benchmarks. Trails Qwen3.8-Flash-Next on 5 of 8.

Best: DeepSWE v1.1 at 61.8, ahead of Qwen3.8-Flash-Next at 58.7.

Worst: FrontierCode-AA 2.0 at 16.1, versus 27.1 for Qwen3.8-Flash-Next.

What is Qwen4-35B-A3B?

Qwen4-35B-A3B is a natively multimodal Mixture-of-Experts model from Alibaba’s Qwen team. It accepts text, image and video input and returns text. It follows Qwen3.8-Flash-Next, the August preview of the Qwen4 architecture.

Qwen targets agentic work. The announcement names long-document analysis, enterprise knowledge bases and edge deployment. It claims the model matches Qwen3.8-Flash-Next at about 1/3 the size. Flash-Next has a 125B main model with 6B active.

How does the Qwen4-35B-A3B architecture work?

The model card lists 40 layers with a 2,048 hidden size. They repeat 1 block 10 times: 3 Gated DeltaNet layers, then 1 Qwen Sparse Attention layer. Every layer feeds an MoE block.

Gated DeltaNet: linear attention with a fixed-size memory. It keeps long context cheap.

Qwen Sparse Attention (QSA): an indexer groups tokens in fours and averages their keys. Each query then attends to at most 512 groups, or 2,048 tokens.

MoE: 256 experts. Each token uses 8 routed experts plus 1 shared expert.

N-gram embeddings: a 20.5B-parameter table at layer 2 stores bigram and trigram patterns. It adds memory, not per-token compute.

Gated residuals: 4 residual streams, mixed by learned gates before each block.

Multi-token prediction: 1 MTP layer for speculative decoding.

Thinking runs at 4 levels: xhigh, high (default), low and off. The card recommends up to 262,144 reasoning tokens.

How does Qwen4-35B-A3B perform on benchmarks?

Qwen published 8 scores in its launch chart. All are self-reported. Per the card footnotes, 4 of them come from Artificial Analysis evaluations.

BenchmarkQwen4-35B-A3BQwen3.8-Flash-NextQwen3.8-27BInkling 2 MiniDeepSWE v1.161.858.742.248.2Terminal Bench 4.121.224.25.65.6FrontierCode-AA 2.016.127.114.915.1NL2Repo51.748.142.341.8Work36042.943.737.130.4APEX Agents v1.159.061.047.550.9AA-Briefcase v1.1 (Elo)1486156713911263AutomationBench-AA57.955.948.241.8

Source: Qwen launch chart, self-reported. Column order follows the comparison set named in the HF blog.

The model beats the dense 27B everywhere. It wins 3 of 8 against Flash-Next. “Matches” is therefore a loose fit: the FrontierCode gap is 11 points.

Independent data is thinner. Artificial Analysis gives it 25 on its Intelligence Index, against a median of 9 for comparable open models.

How much memory does Qwen4-35B-A3B need to run locally?

The 35B name undercounts the files. The n-gram table pushes the Hub listing to 57B parameters. Unsloth’s guide keeps that table on SSD through memory mapping.

QuantMemory (RAM + VRAM)3-bit17.2 to 19.4 GB4-bit20.5 to 24.7 GB8-bit40.5 GB

Unsloth suggests UD-IQ4_XS on a 24 GB device. Its UD-Q4_K_XL quant scored 95.0% against 95.3% for BF16. Day-0 support covers Transformers, vLLM, SGLang, llama.cpp, MLX and Ollama.

Comparison: Qwen4-35B-A3B vs closest competitors

FeatureQwen4-35B-A3BQwen3.8-Flash-NextQwen3.8-27BInkling 2 MiniDeveloperAlibaba QwenAlibaba QwenAlibaba QwenThinking Machines LabArchitectureMoE (GDN + QSA)MoE (GDN + QSA)Dense (GDN hybrid)Looped MoETotal params35B main (57B on Hub)125B main 27B 26.4BActive params3B (3.8B per HF blog)6B27B3.4BNative context1,048,576262,144, 1M via YaRN 262,144, 1M via YaRNUp to 1MLicenseApache 2.0Qwen Community License 1.0 Apache 2.0Apache 2.0InputsText, image, videoText, image, videoText, image, videoText, imageLocal 4-bit memory20.5 to 24.7 GB Not disclosedNot disclosedNot disclosedDeepSWE v1.1 (Qwen chart)61.858.742.248.2Terminal Bench 4.1 (Qwen chart)21.224.25.65.6

Key Takeaways

3B active of 35B, native 1M context, Apache 2.0.

Beats Qwen3.8-27B on all 8 charted benchmarks.

Best score: 61.8 on DeepSWE v1.1.

Weakest: 16.1 on FrontierCode-AA 2.0.

4-bit fits a 24 GB GPU or Mac.

Check out the model weights on Hugging Face, ModelScope and the Hugging Face technical blog. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

Asif Razzaq is the CEO of Marktechpost AI Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest