Gufo
View on GitHub
Pages
Home / Documentation / v0.40.0

Qwen4 35B-A3B

Qwen4 35B-A3B is a mixture-of-experts model that reads text and images and writes text: 40 layers, a 2048-wide stream and 256 experts, 8 of them per token. Gufo runs its Q4 GGUF, optionally with the model’s own multi-token prediction (MTP) head.

Files

FileNeeded for
UD-Q4_K_XL/* (two shards)Text, and the model’s MTP head
mmproj-BF16.ggufImages
MTP/mtp-Qwen4-35B-A3B-Q8_0.ggufA separate MTP head (optional; see Two MTP heads)
gufo model install qwen4-35b-a3b-q4

It installs the weights and the image projector.

Run

Pass the model ID, or the path of the first shard; Gufo finds the other. The weights carry the model’s multi-token prediction (MTP) head, so --speculative mtp needs no other file:

gufo chat --model qwen4-35b-a3b-q4
gufo serve llm --model qwen4-35b-a3b-q4 --speculative mtp \
  --sessions 2 --context 32768

gufo bench and gufo prompt take the head from --mtp-model: pass the model’s first shard to use its own.

Two MTP heads

Qwen4 35B-A3B can draft with either of two MTP heads, with the same results: the model checks every drafted token, so greedy output matches AR with both.

HeadWhereOptionGeneration (tok/s)Drafts kept
Built in (recommended)blk.40 of the weightsnone, or --mtp-model set to the first shard82.156%
SeparateMTP/mtp-Qwen4-35B-A3B-Q8_0.gguf--mtp-model PATH75.951%

As of December 4, 2026, gufo bench -p 2048 -n 128 on Strix Halo. The built-in head is Q5_K in the GGUF; Gufo converts it to Q8_0 at load, so both heads cost the same per draft, and the built-in one proposes tokens the model keeps more often. The separate file is only needed by tools that cannot read the head from the weights.

Decoding and thinking

Qwen4 has no DFlash2 drafter yet; use AR or MTP. Its chat format differs from Qwen3.8’s: the reasoning effort is low, high (the default) or xhigh, and turning thinking off sets it to off. Gufo maps --reasoning-effort minimal and low to low, medium and high to high, and higher efforts to xhigh.

Performance

As of December 4, 2026, on Strix Halo, one user, 2,048-token prompts:

Cached prefix (tokens)Prompt (tok/s)Generation, AR (tok/s)
03,33658.2
8,1923,28056.3
32,7683,12356.2

With MTP see Two MTP heads. For llama.cpp comparisons and quality measurements see the benchmarks and quality notes.

Synced from docs/models/qwen4-35b-a3b.md at v0.40.0, 2026-12-04.