Alibaba's Qwen team released Qwen4-35B-A3B on December 4, putting the weights on Hugging Face under the Apache-2.0 license. It is the mid-size, local-deployment model in the Qwen4 family. It natively accepts text, image and video input, outputs text, and offers a native context window of 1,048,576 tokens. Hugging Face, vLLM, SGLang, llama.cpp and MLX all shipped support on launch day.
Three numbers: 35B, 3B and 20B
The 35B in the name is the backbone parameter count, and A3B means only about 3 billion parameters are active per token. The model card says 3B active, while the Hugging Face blog says roughly 3.8B; the two sources differ, and this article follows the model card. The MoE layers hold 256 routed experts, and each token goes through 8 routed experts plus 1 shared expert.
The model also carries an N-gram embedding table of about 20 billion parameters, which the Hugging Face blog calls per-layer N-gram embeddings (PLE). Counting it, the total is about 56B. The table takes no part in matrix multiplication and is only looked up per token, so vLLM keeps it in host memory:
“vLLM keeps the 20B N-gram table in host memory, so the model and a full 1M-token context fit on one GPU.”
Architecturally, the 40 layers repeat a pattern ten times: three Gated DeltaNet linear-attention layers followed by one Qwen Sparse Attention layer. vLLM says the design carries over from Qwen3.8-Flash-Next.

The KV cache is where the memory goes
The KV cache is the biggest memory consumer in long-context inference. Qwen4 was trained with an NVFP4 KV cache in mind. By vLLM's figures, a 1M-token context takes 8GiB of KV cache, whereas running all 40 layers as BF16 full attention would need 80GiB for the same length.
On speed, vLLM tested a single request on one B300 with FP8 weights: 514 output tokens per second, with a median time to first token of 46 milliseconds. With four concurrent requests, each request drops to 336 tokens per second. The FP8 weight file is 39.7GB, plus 20.5GB for the N-gram table.
For local users, Hugging Face hosts three GGUF quantizations: Q4_K_M, Q6_K and Q8_0. The blog says that on an Apple Silicon M5 with Q4 quantization and llama.cpp's multi-token-prediction speculative decoding enabled, generation speed improves by 22%; it gives no absolute figure.
Benchmarks are published only as charts, comparing against Qwen3.8-Flash-Next, Qwen3.8-27B and Inkling2 Mini. The Hugging Face blog says the model matches or beats the larger Qwen3.8-Flash-Next on some tasks, but the text lists no specific scores.
A different route in the same week
MiniMax also released a new model, M4, the same week, and it heads the opposite way: 2.74 trillion total parameters with 66 billion active per token, again with 1M context and native multimodality. Its GitHub page says “We will release the weights soon,” so the weights are not out yet, and the deployment notes mainly cover throughput on Ascend 950DT accelerators.
Taken together, the two companies are turning Chinese open models into two different things. M4 is about scale and long-horizon agent tasks, and even with the weights in hand it needs data-center-class machines. Qwen4-35B-A3B targets setups where one card or one Mac is enough, under one of the most permissive commercial licenses. vLLM also added support for the T-Head Zhenwu PPU through its vllm-sail plugin the same day, saving teams that deploy on domestic chips one porting step.
The model runs in thinking mode by default, and the model card suggests leaving the reasoning budget at up to 262,144 tokens. For latency-sensitive work such as customer service or retrieval Q&A, the documentation says to turn thinking down with the reasoning_effort parameter.
Sources: Hugging Face official blog, vLLM blog, CocoLoop, Qwen4-35B-A3B model card, MiniMax-M4 GitHub page; the model card was used to verify the parameter structure and license, and the vLLM blog to verify the single-request B300 speed and KV cache footprint.