Models·
Qwen 4 Arrives: Multimodal MoE with 1M Context Window Hits Hugging Face
Alibaba's Qwen team releases Qwen4-35B-A3B, a production-ready multimodal mixture-of-experts model featuring 35B parameters with only 3.8B active per token, a 1M-token context window, and day-zero support across major inference engines.

Alibaba's Qwen team has published Qwen4-35B-A3B on Hugging Face, marking the first production release of their next-generation hybrid architecture. The model packs roughly 35 billion main parameters yet activates only about 3.8 billion per token thanks to a 256-expert mixture-of-experts design. It accepts text, images, and video natively, outputs text, and supports a native context window of one million tokens under an Apache-2.0 license.
Architecture highlights
The decoder repeats a four-layer block ten times. The first three layers use Gated DeltaNet, which maintains a fixed-size memory while processing each token. The fourth layer introduces Qwen Sparse Attention (QSA), grouping tokens into clusters of four and selecting up to 512 groups per query, yielding up to 2,048 attended tokens. A massive per-layer embedding table (PLE) of 20.5 billion parameters sits in the second layer, with each token reading just 16 rows to capture local n-gram patterns. Four residual streams are mixed by learned gates before every attention or MoE block, and each stream receives a scaled copy of the combined expert output.
Day-zero ecosystem coverage is extensive: BF16, FP8, OMLX, and GGUF checkpoints are available, and the model runs on transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, and both Hugging Face Inference Providers and Endpoints. A multi-token prediction drafter accelerates GGUF and OMLX decoding, while adjustable reasoning_effort levels (xhigh, high, low, off) let developers trade latency for depth.
Why it matters for GPU/AI infrastructure: The sparse MoE design slashes active compute per token, but the 56B total parameter count still demands substantial VRAM for full-precision loads. Quantized variants (FP8, GGUF) broaden deployability to mid-range GPUs. The 1M-token context window stresses memory bandwidth and KV-cache management, making QSA's selective attention a critical efficiency lever. Native multimodal input increases preprocessing overhead, yet day-zero support across vLLM, SGLang, and llama.cpp means teams can benchmark and serve Qwen4 on AiGpu's GPU cloud with minimal integration effort.
- aigpu
- ai gpu
- ai gpu cloud
- aigpu dubai
- qwen4
- moe
- multimodal
- inference
By AiGpu Editorial · Editorial rewrite based on public reporting (Hugging Face Blog)
← All articles