Alibaba Qwen Team releases multimodal AI model Qwen4-35B-A3B under Apache-2.0
Alibaba's Qwen Team has released Qwen4-35B-A3B on Hugging Face, a mixture-of-experts model that takes text, image and video input and has a 1M token context window, Hugging Face says.
Numbers in brackets link to the sources listed below.
Alibaba's Qwen Team has released Qwen4-35B-A3B, a model now available on Hugging Face, according to a post on the Hugging Face blog[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. Per the post, the model's design is mixture-of-experts (MoE), and it handles multiple modalities natively[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. In a mixture-of-experts design, a routing step sends each input to a small group of specialised sub-networks rather than through the whole model.
Hugging Face gives the size as about 35B main parameters, about 3.8B active parameters per token and about 20.5B Per-Layer N-gram Embedding parameters, for about 56B in total[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. The model card gives different figures: 35B parameters of which 3B are activated, with 20B of n-gram embedding and 2B of MTP added[1Qwen (Hugging Face)Qwen4-35B-A3B model cardOpen sourceSources [1]].
According to Hugging Face, the model accepts text, image and video input and produces text output, with a 1M token context window[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. The post says it is licensed under Apache-2.0[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. The model card gives the native context length as 1,048,576 tokens[1Qwen (Hugging Face)Qwen4-35B-A3B model cardOpen sourceSources [1]].
How the model is built
The post says the architecture uses 256 routed experts[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. In each block, eight selected experts and a shared expert process the input, it adds[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. The text decoder repeats one four-layer pattern ten times: three Gated DeltaNet layers, then one Qwen Sparse Attention layer[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. Hugging Face says Gated DeltaNet keeps a memory of fixed size that it updates with every token it reads, whereas Qwen Sparse Attention allows the current token to examine any single earlier token across the whole context[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]].
The post says attention is directed by a small indexer that averages the keys of tokens grouped in fours and, for each query, selects up to 512 groups[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. The model card describes the layout as ten repeats of three Gated DeltaNet and MoE blocks followed by one Qwen Sparse Attention and MoE block[1Qwen (Hugging Face)Qwen4-35B-A3B model cardOpen sourceSources [1]].
Availability and efficiency statements
Hugging Face says it worked with the Qwen Team so that day-0 support was available for Inference Endpoints, Inference Providers, MLX, SGLang, vLLM, Llama App, llama.cpp and transformers[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]]. According to the post, Qwen4-35B-A3B comes after Qwen3.8-Flash-Next, which previewed its architecture[2Hugging Face BlogWelcome Qwen 4: Cutting-edge intelligence on-deviceOpen sourceSources [2]].
The model card says Qwen4 lowers the overall cost of completing tasks, with fewer interaction rounds and more concise thinking at every effort level[1Qwen (Hugging Face)Qwen4-35B-A3B model cardOpen sourceSources [1]]. It cites scores from Artificial Analysis for benchmarks including Terminal Bench 4.1 and FrontierCode-AA 2.0[1Qwen (Hugging Face)Qwen4-35B-A3B model cardOpen sourceSources [1]].
Sources
- 1Qwen4-35B-A3B model card
PrimaryQwen (Hugging Face)Accessed
- 2Welcome Qwen 4: Cutting-edge intelligence on-device
IndependentHugging Face BlogAccessed
ITANU’s newsroom system produced this article with AI and checked it against the sources listed above. How we work