大模型MarkTechPost
Alibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context
Alibaba's Qwen team released Qwen4-35B-A3B, an Apache 2.0 open-weight MoE model with 3B active parameters, native 1M-token context and text, image and video input. It beats Qwen3.8-27B on 8 charted benchmarks. The post Alibaba Releases Qwen4-35B-A3B: Open-Weig…
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.Benchmark Qwen4-35B-A3B Qwen3.8-Flash-Next Qwen3.8-27B Inkling 2 Mini DeepSWE v1.1 61.8 58.7 42.2 48.2 Terminal Bench 4.1 21.2 24.2 5.6 5.6 FrontierCode-AA 2.0 16.
1 27.1 14.9 15.1 NL2Repo 51.7 48.1 42.3 41.8 Work360 42.9 43.7 37.1 30.4 APEX Agents v1.1 59.0 61.0 47.5 50.9 AA-Briefcase v1.1 (Elo) 1486 1567 1391 1263 AutomationBench-AA 57.9 55.9 48.2 41.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.Quant Memory (RAM + VRAM) 3-bit 17.2 to 19.4 GB 4-bit 20.
5 to 24.7 GB 8-bit 40.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 Feature Qwen4-35B-A3B Qwen3.
8-Flash-Next Qwen3.8-27B Inkling 2 Mini Developer Alibaba Qwen Alibaba Qwen Alibaba Qwen Thinking Machines Lab Architecture MoE (GDN + QSA) MoE (GDN + QSA) Dense (GDN hybrid) Looped MoE Total params 35B main (57B on Hub) 125B main 27B 26.4B Active pa…