Qwen4-35B-A3B Lands on Hugging Face: Native Multimodal MoE with 1M Context
Alibaba's Qwen team releases a sparse model with roughly 35B total parameters and about 3.8B activated per token, with day-0 ecosystem support on Hugging Face

Table of Contents (3)
Key Takeaways (TL;DR)
- 01Qwen4-35B-A3B uses a multimodal MoE architecture with 256 routed experts, roughly 35B total parameters, about 3.8B activated per token, and an additional ~20.5B PLE parameters.
- 02The model natively supports text, image, and video inputs with a 1M-token context window, released under the Apache-2.0 license.
- 03Hugging Face and the Qwen team provide day-0 support in transformers, llama.cpp, vLLM, SGLang, MLX, and other frameworks, with BF16, FP8, and GGUF quantized versions.
Alibaba's Qwen team has released Qwen4-35B-A3B on Hugging Face, a native multimodal MoE model with roughly 35B total parameters and about 3.8B activated per token. It supports text, image, and video inputs along with a 1M-token context window under the Apache-2.0 license. Hugging Face is providing day-0 support across transformers, llama.cpp, vLLM, and other frameworks.
Hybrid Attention and Multi-Residual Streams: Qwen4's Architectural Trade-offs
Qwen4-35B-A3B's text decoder repeats the same four-layer pattern ten times. The first three layers use Gated DeltaNet, which updates a fixed-size memory as each token is read; the fourth layer uses Qwen Sparse Attention (QSA), allowing the current token to look back at individual tokens anywhere in the context. To decide the lookback range, a small indexer averages keys in groups of four tokens, selects up to 512 groups per query, then reads individual tokens within those groups, for a total of up to 2,048 selected tokens.
The model also changes how information flows between layers. Each token starts with four 2,048-dimensional embeddings, forming four residual streams; before each attention or MoE block, learned gates mix the four streams into a single input, which is processed by eight selected experts plus a shared expert to produce a merged output, and each stream is then scaled by its own gate and added back to its state. The design is intended to let different representation pathways maintain specialization in deep networks.
The model has roughly 35B total parameters and about 3.8B activated per token, plus about 20.5B Per-Layer N-gram Embedding parameters, for a total of roughly 56B.
- The text decoder repeats the four-layer pattern ten times: Gated DeltaNet in the first three layers and QSA sparse attention in the fourth.
- The QSA indexer selects groups of four tokens, up to 512 groups per query, or roughly 2,048 tokens.
- Four residual streams are mixed by learned gates before attention and MoE blocks, then scaled per stream and added back after the blocks.
The PLE Layer and the Vision Encoding Path
One of the model's largest single components sits in the second decoder layer: a per-layer embedding (PLE) table with about 20.5B parameters. Each token reads only 16 rows from it: eight lookups encode the two most recent tokens, and another eight encode the three most recent tokens. The 16 embeddings are merged and injected into each residual stream through gates, with a short convolution mixing in neighboring patterns. This sparse readout lets a huge parameter count grow without a linear increase in per-token compute.
On the vision side, a vision transformer handles images, which are split into 16×16 patches; each 2×2 spatial patch is merged into a single visual token and fed to the text decoder. Video is sampled at 2 frames per second, consecutive sampled frames are grouped in pairs, and patches attend fully within each frame pair.
Inference Deployment: Day-0 Framework Coverage and Quantized Versions
Hugging Face worked with the Qwen team to provide day-0 support in transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, and Inference Endpoints. The official blog post shows the simplest way to call the any-to-any pipeline, as well as the lower-level loading path using AutoModelForMultimodalLM and AutoProcessor, and notes that reasoning_effort can be set to xhigh, high, low, or off, defaulting to high when unspecified.
The release includes BF16, FP8, OMLX, and GGUF quantized checkpoints, with the GGUF and OMLX versions shipping a Multi-Token Prediction (MTP) drafter to speed up decoding. For local deployers, the quantized versions and multi-framework coverage lower the barrier to trying the model on consumer or workstation hardware, but the actual memory cost of the 1M context and multimodal inputs still needs to be assessed for each specific configuration.
The official blog post says Qwen4-35B-A3B can match the larger Qwen3.8-Flash-Next on multiple benchmarks, with better performance on some tasks.
- Day-0 support covers transformers, llama.cpp, vLLM, SGLang, MLX, and Inference Endpoints.
- reasoning_effort supports four levels—xhigh, high, low, and off—with high as the default.
- BF16, FP8, OMLX, and GGUF quantized checkpoints are available, with MTP drafters in the GGUF and OMLX versions.
Fine-Tuning and Task Adaptation
Beyond architecture and inference, the official post also covers the fine-tuning workflow for custom tasks and notes that TRL is part of the day-0 ecosystem. For teams looking to embed the model in existing training pipelines, this means loading, inference, and fine-tuning can be connected within the same Hugging Face toolchain, reducing the cost of switching frameworks.
A Local Multimodal Option Under an Open-Source License
Qwen4-35B-A3B is released under the Apache-2.0 license, permitting commercial use and modification. Combined with its roughly 3.8B activated parameters per token, the model is positioned in the range of "deployable on edge devices and local servers" rather than as a purely cloud-based flagship. For enterprises in the Asia-Pacific region focused on data residency and inference costs, this kind of sparse multimodal model offers a candidate path for processing text, images, and video on their own infrastructure.
However, the 1M-token context and video inputs place higher demands on memory bandwidth and VRAM, and the actual throughput and accuracy trade-offs of the quantized versions need to be benchmarked by deployers themselves. Official benchmark results are published in the model card, and third-party reproduction remains a key step in evaluating its real capabilities.
Benchmark results are published in the model card, and the official team says it can match the larger Qwen3.8-Flash-Next on multiple tasks.
- The Apache-2.0 license permits commercial use and modification, facilitating secondary development by enterprises.
- About 3.8B activated parameters make local deployment more feasible in terms of compute.
- The actual cost of the 1M context and video inputs needs to be assessed per deployment configuration.
Impact
Industry Impact & Strategic Takeaways
Qwen4-35B-A3B enters the open-source ecosystem with an Apache-2.0 license and day-0 multi-framework support, strengthening the viability of sparse multimodal models for local deployment. For the Asia-Pacific AI industry, this offers a new technology option for enterprises that need data residency and cost control; for global open-source model competition, it means multimodality and long context are spreading from flagship cloud models to downloadable weights, making the speed of inference-framework adaptation a key variable in model adoption.
Frequently Asked Questions
What input modalities and context length does Qwen4-35B-A3B support?
+
The model natively supports text, image, and video inputs, produces text output, has a native context window of 1M tokens, and is released under the Apache-2.0 license.
Which inference frameworks can run Qwen4-35B-A3B?
+
Hugging Face provides day-0 support covering transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, and Inference Endpoints, and offers BF16, FP8, OMLX, and GGUF quantized versions.
How are Qwen4-35B-A3B's parameters structured?
+
It has roughly 35B total parameters, about 3.8B activated per token, and an additional ~20.5B Per-Layer N-gram Embedding parameters, for a total of roughly 56B, using a MoE architecture with 256 routed experts.
Primary Source & Attribution
Hugging Face 官方团队博客
Welcome Qwen 4: Cutting-edge intelligence on-device
Related Deep Dives

Tencent Hunyuan Hy4 Open Weights: 770B Native Multimodal MoE Flagship Officially Open-Sourced
77 pts · 5 min read

Alibaba's Qwen Releases Qwen4-35B-A3B: An Apache 2.0 Open-Source MoE Model with Native 1M Context
78 pts · 6 min read

Unsloth Releases Dynamic GGUF Quantization for Qwen4-35B-A3B, Runs Locally on 18GB of RAM
73 pts · 4 min read

Alibaba Open-Sources Qwen4-35B-A3B: Only 3B Parameters Activated per Inference, Some Capabilities Rival the Trillion-Parameter Qwen3.8-Flash
71 pts · 4 min read