Alibaba Qwen Team Releases Qwen4-35B-A3B: A Multimodal MoE Model with 1M Context and Day-0 Ecosystem Support
The Alibaba Qwen team released Qwen4-35B-A3B, a multimodal Mixture-of-Experts model with ~3.8B active parameters, native text/image/video support, a 1M token context window, and Apache-2.0 licensing.
The Alibaba Qwen team has released Qwen4-35B-A3B on Hugging Face, bringing its next-generation hybrid architecture into production. The model is a natively multimodal Mixture-of-Experts (MoE) system with approximately 35 billion main parameters and only about 3.8 billion active parameters per token. It also includes roughly 20.5 billion Per-Layer N-gram Embedding (PLE) parameters, totaling around 56 billion parameters. Licensed under Apache-2.0, it supports native text, image, and video inputs with a 1 million token context window.
Architecturally, the text decoder repeats a four-layer pattern ten times. The first three layers use Gated DeltaNet to update a fixed-size memory as tokens are read, while the fourth layer employs Qwen Sparse Attention (QSA). QSA allows the current token to look back at individual tokens from anywhere in the context by grouping tokens in sets of four and selecting up to 512 groups for attention. This design enables the model to process long contexts efficiently without the computational cost of full dense attention.
The model introduces significant changes in information flow between layers. Each token starts with four copies of its embedding, forming four residual streams. Before each attention or MoE block, learned gates mix these streams into a single input. After processing by eight selected experts and one shared expert, each stream adds a scaled copy of the combined output back to its own state. Additionally, the second decoder layer contains a massive PLE table where each token reads just 16 rows to encode recent context patterns, using a short convolution to mix nearby features.
For vision tasks, a Vision Transformer (ViT) encodes images into 16x16 patches, merging spatial groups into visual tokens. For video, the processor samples two frames per second and groups consecutive frames into pairs, allowing the ViT to attend across patches within each frame pair. The release comes with day-0 support across major inference frameworks including transformers, llama.cpp, vLLM, SGLang, and MLX, along with BF16, FP8, OMLX, and GGUF quantized checkpoints.