Alibaba releases open-weight Qwen4-35B-A3B under Apache 2.0 with 1M-token context
Alibaba has released Qwen4-35B-A3B under Apache 2.0, a multimodal MoE with 35B total and 3B active parameters and a 1M-token native context.
Alibaba released Qwen4-35B-A3B as open weights under the Apache 2.0 license. It is a native multimodal mixture-of-experts model with 35B total parameters, 3B active per token, and a 1M-token native context. Alibaba says it beats the dense Qwen3.8-27B and matches Qwen3.8-Flash-Next at roughly one-third the size, a comparison the company made itself.
A mixture-of-experts model routes each token to a small subset of expert blocks. This one has 256 experts, with 8 active per token, so each token uses about 3B parameters of computation, while the full set of weights still has to be stored. The attention stack is also mixed. According to @rasbt, Gated DeltaNet runs in 30 of the 40 layers and Qwen Sparse Attention in the other 10.
Artificial Analysis counts a 20B n-gram embedding and a 2B MTP module, which brings the total to about 57B parameters. MTP, or multi-token prediction, is also what enables speculative decoding, in which the model drafts several tokens ahead and checks them. Peak RAM in a llama.cpp run was 32.5 GB, against 20.2 GB for Qwen3.8-27B. According to @rasbt, most of the extra roughly 12 GB is the n-gram table, which llama.cpp's lazy mode can move to SSD.
Artificial Analysis gives the model 25 on its Intelligence Index, which it describes as the best result among models under 150B total and under 5B active parameters. That puts it 5 points ahead of Inkling 2 Mini, Nanbeige4.3-33B and Qwen3.8-27B. The model also gains 16 points on Terminal-Bench 4.1 and 10 on CritPt v2, and drops 4 points on HLE-Diamond. It costs $0.55 per task, about six times less than Qwen3.8-27B.
Arena ranks the model 11th among open models and 46th overall, with 1087 points, close to Qwen3.8-Max at 1088. Arena puts its cost at $0.10 per task against a $1.67 median. Alibaba's own numbers show 61.8 against 58.7 for Qwen3.8-Flash-Next on DeepSWE. Still, the model trails Flash-Next on Terminal-Bench, according to @kimmonismus.
Alibaba Cloud charges $0.06 per million input tokens and $0.003 per million cache-hit tokens. Output costs $0.36 per million according to Artificial Analysis, while Arena cites $0.48.
Serving support arrived on day zero. vLLM was validated on single B300, GB200 and H200 GPUs and on AMD MI355X with MXFP4 experts, with the n-gram table kept in host RAM. Support also shipped for transformers, llama.cpp, oMLX and Ollama, and TRL supports SFT, DPO, GRPO and distillation for the architecture. Unsloth published GGUF builds that run in 18 GB of RAM. It reported 95.0% for UD-Q4_K_XL against 95.3% for BF16 on a 300-question mix. On the DGX Spark, the MTP draft setting that worked best was 2 tokens, for a speedup of about 34%, while @mervenoyann found 3 tokens worked best on M5 silicon.
The 1M-token figure is the advertised context window.
What changed
Alibaba released Qwen4-35B-A3B as open weights under the Apache 2.0 license, a multimodal mixture-of-experts model with a 1M-token native context.
Type: New capability · Applies to: Qwen4-35B-A3B
Why it matters
A small, Apache 2.0 licensed model with long context and strong reported scores gives teams a self-hostable option for agentic and long-document work. Its true memory footprint is larger than the active parameter count suggests.
What you can do
Test the model on your own long-context workloads and measure memory use, since the n-gram table adds about 12 GB in RAM.
Original source
We have no link to the original source for this story yet.
Where we saw it
Latent Space
AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works