Qwen4 is a vision-language MoE. Its text decoder repeats three Gated DeltaNet layers followed by one Qwen Sparse Attention layer ten times. Each layer uses 8 of 256 routed experts and one shared expert per token.

Alibaba Cloud

Back to Qwen4 35B-A3B in the gallery

Qwen4 35B-A3B architecture diagram
Qwen4 35B-A3B architecture diagram. Select the diagram to view it at full size.

Architecture and specifications

Scale
35B core, 3B active (8.6% active), plus 20B n-gram embeddings and 2B MTP
Context (tokens)
1,048,576 native
Vocabulary
248,320 (padded)
License
Apache License 2.0
Date
2026-12-03
Decoder type
Sparse hybrid
Attention
3:1 Gated DeltaNet and Qwen Sparse Attention (QSA). QSA uses 16 query heads and 2 KV heads.
Layer mix
30 Gated DeltaNet + 10 QSA
KV cache / token (bf16) info
20.625 KiB (main keys and values plus pooled indexer keys) · Very low
Key detail
Each gated residual read applies RMSNorm to the four residual branches before mixing them. At layer 2, bigram and trigram embeddings add information about nearby tokens.

Training and benchmarks

Pretraining data
Not disclosed Qwen confirms pretraining. The token count for this checkpoint is undisclosed. Qwen4 model card
Post-training methods
Not disclosed Qwen identifies the released weights as post-trained. The model card does not specify the methods. Qwen4 model card
AA Intelligence Index v5.0.2 info
Total score 24.7 Knowledge Work 44.3 Coding 18.1 Science 8.5 General 27.9

Further reading and tools