
Hugging Face Blog
· 1 min read
Welcome Qwen 4: Cutting-edge intelligence on-device
Qwen4-35B-A3B by the Alibaba Qwen Team is out on Hugging Face!
Following the architectural preview in Qwen3.8-Flash-Next, Qwen4-35B-A3B brings Qwen's full next-generation hybrid design into production. It is a natively multimodal Mixture-of-Experts (MoE) model with ~35B main parameters and ~3.8B active parameters per token and ~20.5B Per-Layer N-gram Embedding (PLE) parameters (~56B total). It supports native text, image, and video inputs, a 1M token context window, and is licensed under Apache-2.0.
We collaborated with the Qwen Team to ship day-0 support across transformers, llama.cpp, Llama App, vLLM, SGLang, MLX, Inference Providers, and Inference Endpoints. This post walks through the salient features of the architecture, how to run it, and how to fine-tune it for your own tasks.
TL;DR
- Architecture: Multimodal MoE with 256 routed experts, ~35B parameters with ~3.8B active, plus ~20.5B per-layer n-gram embeddings.
- Modalities & Context: Native text, image, and video inputs → text output, with a 1M token native context window.
- Checkpoints: BF16, FP8, OMLX, GGUF quantized versions
- Inference: Multi-Token Prediction (MTP) drafter for GGUF and OMLX, adjustable reasoning_effort levels ("xhigh", "high", "low", "off").
- Day-0 Ecosystem support: transformers, llama.cpp / Llama App, vLLM, SGLang, TRL, Inference Providers, and Inference Endpoints.
What is new with Qwen4?
The model employs a vision transformer to encode images and video. The ViT reads images into 16 × 16 patches and merges each 2 × 2 group of spatial patches into one visual token, which is passed to the text decoder. For video, the processor samples 2 frames per second and groups consecutive sampled frames into pairs. The vision transformer then lets every patch attend to every other patch within that frame pair.
Benchmark Results
Inference Support
Qwen4-35B-A3B ships with day-0 support in transformers, llama.cpp, vLLM, SGLang, Inference Providers, and Inference Endpoints.
Transformers
Text-only inference
Original source
This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on huggingface.co


