Alibaba's Qwen Team released Qwen4-35B-A3B on Hugging Face on 4 December 2026. The open model takes text, images and video as input and returns text. It is licensed under Apache-2.0.
The model has about 35B main parameters, but only about 3.8B are active for each token. It also carries about 20.5B parameters in per-layer n-gram embeddings. That brings the total to roughly 56B.
That embedding table is the largest single piece of the model, and much of the local setup is built around it. Each token reads only 16 rows of the table. That makes the table a good fit for slower storage.
A Large Table That Can Sit on an SSD
The table sits in the second decoder layer. Eight lookups cover the last two tokens, and eight cover the last three. The layer joins the 16 results and uses a short convolution to mix in nearby patterns.
The oMLX path for Apple hardware adds custom Metal kernels and image input. It also lets users move the embedding table to an SSD instead of holding it in memory. On a laptop, that is memory you get back.
Checkpoints come in BF16, FP8, oMLX and GGUF formats. Support in mlx-lm is on its way to the official repository.
For llama.cpp and the Llama App, three quantised builds are on the Hub. They are Q4_K_M at 4-bit, Q6_K at 6-bit and Q8_0 at 8-bit. Quantising shrinks a model so it fits on smaller machines.
Multi-Token Prediction speculative decoding works out of the box through the spec-type and spec-draft-n-max options. Hugging Face reports a 22% gain in generation speed on an Apple Silicon M5. That result used the 4-bit quant and 3 draft tokens.
Users can set reasoning effort to xhigh, high, low or off. The default is high.
How the Model Handles Long Inputs
The native context window is 1M tokens. The text decoder repeats one four-layer pattern ten times. Three of those layers use Gated DeltaNet, which keeps a fixed-size memory, and the fourth uses Qwen Sparse Attention.
In the sparse layer, a small indexer groups tokens in fours and averages their keys. For each query it picks up to 512 groups. That gives up to 2,048 selected tokens, plus at most three more from the last unfinished group.
Each token starts as four copies of a 2,048-dimensional embedding, which form four residual streams. Learned gates mix the streams before each block. Eight selected experts, drawn from 256 routed experts, then process that input along with a shared expert.
A vision transformer handles images and video. It cuts images into 16 by 16 patches and merges each 2 by 2 group into one visual token. For video, it samples 2 frames per second and pairs frames that come one after another.
The release says the model is comparable to the much larger Qwen3.8-Flash-Next, and better on some tasks. That claim comes from the publisher, not an independent test. The Qwen Team's own benchmarks are in the model card.
Day-0 support covers transformers, llama.cpp, vLLM, SGLang, MLX, TRL, Inference Providers and Inference Endpoints. A TRL recipe also shows how to fine-tune the model to triage security alerts.
That recipe uses AsyncGRPOTrainer with vLLM to sample several replies per alert. A verifier gives a reward of 1 when the label and cited evidence match an analyst's criteria, and 0 otherwise. Only a small LoRA adapter is trained, not the full model.
The job runs on two GPUs through Hugging Face Jobs, with vLLM on one and training on the other. Checkpoints can be pulled from a storage bucket. Users can follow training with hf jobs logs.