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

Qwen3.8 Flash-Next

Qwen3.8 Flash-Next is a mixture-of-experts model that reads text and images and writes text. Gufo runs its Q4 GGUF, sped up with incoai’s DFlash2 draft model. The model’s own multi-token prediction (MTP) head also works, but DFlash2 is faster, most of all for sampling and several users; see Performance.

Files

FileNeeded for
UD-Q4_K_XL/* (four shards)Text
Qwen3.8-Flash-Next-DFlash2-Q4_K_M.gguf (incoai/Qwen3.8-Flash-Next-DFlash2-GGUF)DFlash2
mmproj-BF16.ggufImages
MTP/mtp-Qwen3.8-Flash-Next-shared-Q8_0.ggufMTP (optional)
gufo model install flash-next-q4

It installs the weights, the DFlash2 drafter and the image projector, and prints the drafter’s path. Add --component mtp for the 2.6 GB MTP head.

Run

Pass the model ID, or the path of the first shard; Gufo finds the others.

DFLASH=~/.local/share/gufo/models/flash-next-q4/Qwen3.8-Flash-Next-DFlash2-Q4_K_M.gguf
gufo chat --model flash-next-q4 --dflash-model "$DFLASH"
gufo serve llm --model flash-next-q4 --speculative dflash2 \
  --dflash-model "$DFLASH" --sessions 2 --context 32768

With the MTP head instead:

MTP=~/.local/share/gufo/models/flash-next-q4/MTP/mtp-Qwen3.8-Flash-Next-shared-Q8_0.gguf
gufo serve llm --model flash-next-q4 --speculative mtp \
  --mtp-model "$MTP" --sessions 2 --context 32768

Decoding modes

ModeOptionsWhat happens
ARnoneThe model produces one token per step.
DFlash2 (recommended)--speculative dflash2 --dflash-model PATHA small draft model proposes seven tokens in one pass from the model’s own hidden states; the model checks as many of them as pay off.
MTP--speculative mtp --mtp-model PATHThe MTP head proposes up to seven tokens; the model checks them in one pass and keeps the ones it agrees with.

DFlash2 always proposes a whole block of seven tokens, which costs about a fourteenth of a decode step, and then checks only the prefix that is likely to be kept: it learns from each request’s outcomes how often its proposals at each confidence are accepted. Greedy requests decoding together share one draft pass, and the checked tokens go to the requests most likely to keep them. In tool calls and JSON, it drafts only tokens the grammar admits.

MTP adapts how many tokens it proposes, up to seven. When proposals keep failing, a request falls back to AR for a while.

Both modes also propose copies of earlier text from the same conversation, which speeds up answers that repeat code, tool output or a previous reply. A request decoding alone can check up to 64 copied tokens in one pass. The timings object in a response reports copies as lookup_n and lookup_n_accepted.

With greedy decoding, MTP and DFlash2 produce exactly the AR output. With sampling, all modes follow the same distribution, but the same seed gives different text. A seeded request repeats its text in either mode, whether or not its prompt comes from the cache and whatever else decodes beside it.

Thinking

Thinking is on by default, with xhigh effort, and earlier reasoning is kept in the conversation. Change this per request with the reasoning controls.

Long context

The model’s native context is 262,144 tokens. To go further, start the server with --enable-yarn and a larger --context; without the flag, Gufo refuses a --context above 262,144. The flag is an error at or below 262,144, where it would change nothing.

YaRN stretches the model’s position encoding to cover more tokens. Requests that stay within 262,144 tokens run unchanged; longer ones use the smallest whole stretch factor that fits, up to context / 262,144 (1.5625 for --context 409600). Larger factors change the output more. As of October 2026, multiple-choice accuracy stayed within noise from factor 1.5625 to 3.875.

Memory grows with the context in use: about 27.5 KiB per token with MTP. Gufo reserves the configured capacity when it starts. DFlash2 adds a fixed 62 MiB per session, whatever the context.

Images

Gufo finds mmproj-BF16.gguf next to the target; pass --mmproj PATH to use another location. Images work the same way as for Qwen3.8 27B, with every decoding mode.

Performance

As of October 18, 2026, on Strix Halo:

WorkloadSpeed
Prefill, AR1,801.01 tokens/s
Decode, one user, MTPup to 116.93 tokens/s
Decode, 8 concurrent users, MTP245.81 tokens/s in total

As of December 1, 2026, on eight chat prompts with thinking on, DFlash2 decodes 5% faster than MTP for one greedy user, 11% faster with default sampling and 10–22% faster for four or eight users; on a 30K shared context it matches MTP. MTP stays ahead on follow-up turns that rework earlier answers (4% in a third “summarize” turn).

The full benchmarks compare with llama.cpp. The quality report covers accuracy against the reference and between modes.

Synced from docs/models/qwen3.8-flash-next.md at v0.40.0, 2026-12-04.