Good morning, Qwen4! What a week!
Like Qwen3.6-35B-A3B, Qwen4 uses Gated DeltaNet in 30 of its 40 layers. In the other 10, Qwen4 moved from full gated attention to Qwen Sparse Attention (QSA).
Sure, Qwen3.8-Flash-Next used this architecture design previously, but Qwen4 now brings that more experimental design to a nice, compact 35B model (down from 125B in Flash-Next).
Btw, the 35B may be a bit misleading as it uses a 20B n-gram table and you get about 55B for the core and embeddings.
I just ran Qwen4 and the good old dense Qwen3.8-27B on my DGX Spark using llama.cpp for some comparisons (8K context and 4-bit Q4_K_M weights).
- Qwen4 generated about 55 tokens/s versus 11.5 for Qwen3.8-27B. That’s 4.8x as fast.
- It processed prompts 2.5x as fast.
- Peak RAM was 32.5 GB for Qwen4 and 20.2 GB for Qwen3.8-27B.
Qwen4-35B-A3B has only been out a day, but it might be my next daily driver when it comes to local models on the DGX Spark.
As always, for more info and higher-res figures, see my LLM gallery.
Originally posted on Substack Notes.