Back to articles

Alibaba Releases Qwen4-35B-A3B With Sparse MoE and 1M Context

3 min read

Alibaba’s Qwen team has released Qwen4-35B-A3B with open weights on Hugging Face. The model combines a sparse mixture-of-experts design, long-context processing, and native image and video input. Its headline figures need careful interpretation: the model is described as activating about 3.8 billion parameters per token, but its total parameter count is much larger. For developers, that distinction matters when estimating compute, memory, and deployment requirements.

Key points

  • Sparse activation is not the same as a small model. Qwen4-35B-A3B has about 35B main parameters and activates roughly 3.8B per token. It also includes around 20.5B parameters in per-layer N-gram embeddings, bringing the stated total to approximately 56B. The architecture has 256 routed experts; a token is handled by eight selected experts plus a shared expert. Sparse routing can reduce the computation used for each token, but it does not make the full weight set disappear from storage.
  • A hybrid design targets long contexts. The text decoder repeats a four-layer pattern ten times. Three layers use Gated DeltaNet, while the fourth uses Qwen Sparse Attention. An indexer selects groups of context tokens for attention to inspect, rather than treating every position identically. The model advertises a native 1M-token context window; that limit alone does not establish the speed, cost, or quality of long-document tasks.
  • Text, images, and video share one model. A vision transformer encodes image patches. For video, the processor samples two frames per second and groups consecutive sampled frames into pairs. The model takes these modalities as input and produces text, enabling developers to explore tasks such as image question answering and video understanding.
  • Open weights come with broad tooling support. The source lists an Apache-2.0 license, BF16 and FP8 checkpoints, and GGUF and other formats. It also reports support across Transformers, llama.cpp, vLLM, and SGLang, among other tools. Compatibility and performance can still vary by backend, quantization, and hardware, so deployments should be tested in their intended environment.

Why it matters—and what remains unknown

The release brings sparse computation, a long context window, and multimodal input together in an open-weight package. That gives developers more options for local experimentation, fine-tuning, and adapting an inference stack. But the “3.8B active parameters” figure describes the parameters used along a token’s computation path; it does not mean the model has the storage footprint of a 3.8B-parameter model. Weight format, available memory, context length, and concurrency all affect real deployment costs.

The supplied article excerpt refers to benchmark results in the model card but does not provide numerical scores. It also makes broad comparisons with larger models without enough figures here to evaluate them independently. Those comparisons should therefore be treated as claims to check, not as established evidence that Qwen4 leads across tasks. Developers should review the model card, confirm license and hardware requirements, and benchmark it on representative text, image, and video workloads. Open weights lower the barrier to testing and customization; practical value will depend on reproducible results for each use case.

Source: Web Search

Comments

Checking sign-in status...

Loading comments...

Related articles