Alibaba Open-Sources Qwen4-35B-A3B With 1M-Token Context
TL;DR
- Alibaba's Qwen team released Qwen4-35B-A3B on December 4 under Apache 2.0, with 35B total and 3B active parameters plus a 2B MTP head.
- The architecture interleaves Gated DeltaNet linear attention and Qwen Sparse Attention over 40 layers, backed by a 10,000,000-entry n-gram embedding table.
- Native 1,048,576-token context; benchmarks show wins on DeepSWE 61.8 to 58.7 and HealthBench 47.4 to 34.8 but losses on FrontierCode and Terminal Bench against Qwen3.8-Flash-Next.
The model card lists the shape in one line: "35B with 3B activated, plus 20B n-gram embedding and 2B MTP." Alibaba's Qwen team posted the weights on Hugging Face on December 4 under Apache 2.0, alongside an FP8 checkpoint.
The architecture is a hybrid. "Built on a hybrid of linear attention and sparse attention," the card says, with 40 layers interleaving Gated DeltaNet blocks and Qwen Sparse Attention blocks, and a mixture-of-experts stack of 256 experts of which 8 routed and 1 shared fire per token. A 10,000,000-entry n-gram embedding table (bigrams and trigrams, inserted at layer 2) sits alongside the main weights; the card claims the combination "improves model quality without extra compute or accelerator memory overhead."
The payoff Qwen claims is context. Native 1,048,576-token window on the box, which the card credits to the smaller cache footprint of linear attention.
On benchmarks the picture is mixed. According to numbers circulated with the release, Qwen4-35B-A3B beats dense Qwen3.8-27B and trades blows with Qwen3.8-Flash-Next at roughly a third the size: wins on DeepSWE 61.8 to 58.7, NL2Repo 51.7 to 48.1, and HealthBench 47.4 to 34.8, but losses on FrontierCode 16.1 to 27.1, Terminal Bench 21.2 to 24.2, and AA-Briefcase 1486 to 1567.
It lands in a dense run of Alibaba releases we've tracked over the past 90 days, 89 so far, including yesterday's looped Qwen3.8-Flash-Next adapter paper. Apache 2.0 on a 1M-context MoE is the headline move; whether the sparse-attention hybrid holds at length against workloads Qwen did not pick is what the next week of community runs will show.
Shared on Bluesky by 1 AI expert
Originally reported by huggingface.co
Read the original article →Original headline: Alibaba Open-Sources Qwen4-35B-A3B Under Apache 2.0, a 1M-Context Multimodal MoE With Just 3B Active Params