Alibaba Releases Qwen4 Multimodal MoE With 1M Token Context
Alibaba's Qwen team released Qwen4-35B-A3B on December 4, 2026, a multimodal mixture-of-experts model with a 1-million-token context window. The 35-billion-parameter model activates only 3.8 billion parameters per token across 256 routed experts, plus a 20.5-billion-parameter per-layer embedding table. It natively processes text, images, and video, outputting text. Licensed Apache-2.0 for commercial use, it launched with day-zero support across major inference frameworks including tran


Short answer: Alibaba's Qwen team released Qwen4-35B-A3B on December 4, 2026, a multimodal mixture-of-experts model with a 1-million-token context window. The 35-billion-parameter model activates only 3.8 billion parameters per token across 256 routed experts, plus a 20.5-billion-parameter per-layer embedding table. It natively processes text, images, and video, outputting text. Licensed Apache-2.0 for commercial use, it launched with day-zero support across major inference frameworks including transformers, vLLM, and llama.cpp, plus quantized checkpoints and adjustable reasoning effort.
Alibaba Qwen4-35B-A3B release
Alibaba's Qwen team just dropped Qwen4-35B-A3B, a multimodal mixture-of-experts model that shoves on-device intelligence into fresh territory. It landed on Hugging Face December 4, 2026, with day-zero support across the inference frameworks developers actually reach for. The Apache-2.0 license is a big deal, too-commercial use is open without the restrictions that have tripped up other recent large-model releases.
Qwen4 mixture of experts architecture
The architecture breaks from the dense transformer stacks we've seen dominate for years. Qwen4-35B-A3B runs 256 routed experts but only wakes up about 3.8 billion parameters per token out of roughly 35 billion main ones. On top of that, a per-layer n-gram embedding table in the second decoder layer tacks on another 20.5 billion parameters, pushing the total footprint to around 56 billion. The design loops a four-layer pattern ten times: three layers of Gated DeltaNet, which keeps a fixed-size memory while processing each token, followed by a Qwen Sparse Attention layer letting the current token peek back at individual tokens from anywhere in that million-token context window. An indexer chunks tokens in fours, averages their keys, and picks up to 512 groups per query, yielding up to 2,048 attended tokens plus a few from the last incomplete group.
Information flows between layers through four residual streams per token. Before each attention or MoE block, learned gates blend the streams into a single input. The eight selected experts plus a shared expert chew on that input and produce one combined output, which each stream then adds back with its own learned scale. That per-layer embedding table in layer two reads 16 rows per token-eight encoding the last two tokens and eight encoding the last three-then gates their contribution to each stream and mixes nearby patterns with a short convolution.
Multimodality is baked in, not bolted on. A vision transformer encodes images into 16-by-16 patches, merges each 2-by-2 spatial group into one visual token, and feeds those to the text decoder. For video, the processor samples two frames per second, pairs consecutive frames, and lets every patch attend to every other patch within each pair. The result is a single model swallowing text, images, and video as input and spitting out text, all inside the same million-token context window.
Qwen4 benchmarks vs Qwen 3.8 Flash Next
The Qwen team published benchmarks showing Qwen4-35B-A3B punching above its weight, matching or beating the larger Qwen 3.8 Flash Next on several community-favorite tasks. Independent verification will take time, but the numbers hint that the hybrid architecture delivers real efficiency gains.
Qwen4 Hugging Face download run locally
For builders, the immediate win is ecosystem readiness. Hugging Face worked with the Qwen team to ship day-zero support in transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, and Inference Endpoints. The transformers integration packs an any-to-any pipeline and lower-level auto classes with a reasoning_effort parameter accepting four settings-xhigh, high, low, or off-defaulting to high. Quantized checkpoints come in BF16, FP8, OMLX, and GGUF flavors, and multi-token prediction drafters are provided for GGUF and OMLX to speed up decoding.
Developers itching to experiment can pull the model from the Qwen org on Hugging Face and run it in a few lines of code. The processor handles chat templating across modalities, so tossing images or video frames into a conversation is as simple as including them in the message content. Fine-tuning support arrives via TRL, and the Apache-2.0 license strips legal friction for production deployments.
This release matters because it proves mixture-of-experts architectures with sparse attention and native multimodality can be packaged for immediate use across the full inference stack. That million-token context window unlocks workloads that previously needed retrieval-augmented generation or model cascades. The adjustable reasoning effort gives teams a knob to trade latency for quality without swapping models. And the per-layer embedding table suggests a path to scaling knowledge capacity without proportionally hiking active compute.
If you're building apps that need long-context reasoning over mixed media-legal document review with embedded diagrams, video analytics with natural-language queries, or agents maintaining extended multimodal histories-Qwen4-35B-A3B is worth evaluating now. Start by running the transformers pipeline on a single GPU to gauge quality on your tasks, then test the quantized GGUF or OMLX builds with the MTP drafter on your target hardware. If the results hold, the Apache-2.0 license and broad framework support mean you can move to production without waiting for vendor approvals or custom serving infrastructure.
Frequently asked questions
What is Qwen4-35B-A3B and when was it released?
Qwen4-35B-A3B is Alibaba's multimodal mixture-of-experts model with a 1-million-token context window. It was released on Hugging Face on December 4, 2026, under an Apache-2.0 license that permits unrestricted commercial use.
How does Qwen4-35B-A3B's architecture differ from dense transformers?
The model uses 256 routed experts but activates only ~3.8B parameters per token out of ~35B main parameters. A per-layer n-gram embedding table adds 20.5B parameters. Its decoder repeats a four-layer pattern ten times: three Gated DeltaNet layers with fixed-size memory followed by a Qwen Sparse Attention layer enabling million-token lookback.
What multimodal inputs does Qwen4-35B-A3B support?
The model natively processes text, images, and video within the same 1-million-token context window. Images are encoded as 16×16 patches merged into 2×2 visual tokens. Video is sampled at two frames per second with consecutive frame pairs allowing full patch-level attention within each pair.
Which inference frameworks have day-zero support for Qwen4-35B-A3B?
Hugging Face transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, and Inference Endpoints all support the model from launch. The transformers integration includes an any-to-any pipeline and a reasoning_effort parameter with four settings (xhigh, high, low, off).
What quantization formats and optimization features are available?
Quantized checkpoints come in BF16, FP8, OMLX, and GGUF formats. Multi-token prediction drafters are provided for GGUF and OMLX to accelerate decoding. Fine-tuning is supported via TRL, and the Apache-2.0 license removes legal barriers for production deployment.
Source: Hugging Face
Related posts

How to sell a digital product from your blog
You need the Pro plan or higher to enable e-commerce and must add your Stripe keys in the onboarding form. In Admin, create a product, choose Digital as the type, set the price, and paste a self-hosted file link on the variant row.
Multiverse Computing Compresses Robot AI Model for Edge Use
Multiverse Computing released Ash, two compressed vision-language-action models for robots that are roughly 60% smaller than the original π0.5 but score higher on benchmarks. The Ash-Droid (1.51B parameters) and Ash-Libero (1.46B parameters) variants fit on edge devices like Jetson Orin Nano and Raspberry Pi 5, enabling on-board decision-making without cloud latency. The models are available on Hugging Face.

Google Launches Pillowfort AI Game Tool for Co-Creation
Google launched Pillowfort, an experimental AI game-making tool powered by Gemini 4, on December 3, 2026. It enables co-creation of 2D and 3D games via structured plans or uploaded sketches, featuring canvas-based editing on live builds. Users can share browser-playable links, remix projects, and export ZIP files. Access is limited to adults in seven countries via labs.google/pillowfort. Studios like Ustwo and Plai tested it. Google promises uploaded assets aren't used for training.