Skip to content
trendoviz

AI Tools & Products · Research

Qwen4-35B-A3B: Multimodal MoE Model with 1M Token Context

Alibaba's Qwen Team releases a new open-source multimodal model with 1M token context and support for text, images, and video.

Published
  • 2 min read
  • 1 source
  • Stated by the source itself

Summary

Alibaba's Qwen Team has released Qwen4-35B-A3B, a new open-source, multimodal Mixture-of-Experts model. The model supports native text, image, and video inputs with a 1M token context window and is licensed under Apache-2.0. It is available on Hugging Face with day-0 support from major frameworks.

Key facts

  • Model: Qwen4-35B-A3B, a natively multimodal Mixture-of-Experts (MoE) model
  • Parameters: ~35B main parameters, ~3.8B active parameters per token, and ~20.5B Per-Layer N-gram Embedding (PLE) parameters (~56B total)
  • Context Window: 1M token native context window
  • Modalities: Native text, image, and video inputs, text output
  • Availability: Released on Hugging Face under Apache-2.0 license
  • Ecosystem Support: Day-0 support in transformers, llama.cpp, vLLM, SGLang, Inference Providers, and Inference Endpoints

Details

The Qwen4-35B-A3B is a hybrid design with a Gated DeltaNet decoder that updates a fixed-size memory as it reads each token. The final layer in each of the ten repeating blocks uses Qwen Sparse Attention (QSA), which lets a token look back at individual tokens from anywhere in the 1M-token context. To decide where to look, a small indexer groups tokens and selects up to 2,048 tokens.

A key architectural feature is the Per-Layer N-gram Embedding (PLE) table, which contains 20.5B parameters. Each token reads just 16 rows of this table, combining embeddings of the current and previous tokens. The model uses eight routed experts and a shared expert in each MoE block, with information moving between layers through four residual streams.

For vision input, the model uses a vision transformer to process images and video. Images are divided into 16x16 patches, while video is sampled at 2 frames per second and processed in pairs to allow every patch to attend to every other patch within a frame pair.

Why it matters

This model is significant for developers and researchers working with large language models who need long-context processing for complex tasks like document analysis, code review, or video understanding. The Apache-2.0 license allows for broad commercial and research use without restrictive licensing, and the day-0 support in major frameworks like vLLM and llama.cpp simplifies deployment and experimentation. The 1M token context window addresses a major limitation in current multimodal models, enabling the processing of entire documents or long videos.

What's next

The model is available to download and run immediately on Hugging Face. The Qwen Team states that the model has published benchmarks showing performance comparable to the larger Qwen 3.8 Flash Next, and even better on some tasks. The open-source community has already shipped day-0 support for the model across transformers, llama.cpp, and other frameworks. Further details on the specific benchmark results are available in the model card.

Sources

Original source: Hugging Face blog

Industry ·

Alibaba releases Qwen4-35B-A3B, a cheaper open model

Alibaba's Qwen4-35B-A3B model, with 35 B parameters but only 3 B active, supports image input, handles up to 1 M tokens, and costs $0.55 per task—about six times cheaper than its predecessor.

1 source

Found an error? Report it.