In our Qwen 4 multi-token prediction test, switching drafting off made the GGUF build faster on an M5 Max MacBook Pro. It generated output 12โ14% faster than the stock four-token drafting configuration across the three prompt lengths we tested. The same Ollama API setting left drafting active in the native MLX build.
How a draft head can speed up generation
Multi-token prediction, or MTP, proposes a short run of tokens for the main model to verify. When enough proposals match, one verification step can advance generation by more than one token. When many proposals are rejected, the draft computation and verification can cost more than they save.
How we separated on and off
We used Ollama 0.40.21 on a 40-core M5 Max with 128 GB of unified memory. For the official qwen4:35b-a3b-q4_K_M package, Ollama launched llama.cpp with its embedded MTP head. We tested the stock limit of four proposed tokens and explicit values of three and zero for options.draft_num_predict. The runner command and accepted-token logs confirmed when drafting was active. Each row used two different writing prompts and the same 256-token cap, with one request at a time and thinking off.
| Prompt tokens | Drafting off, output tok/s | Up to three drafts, output tok/s | Stock four drafts, output tok/s |
|---|---|---|---|
| About 2,300 | 95.6 | 91.2 | 84.1 |
| About 13,300 | 94.0 | 86.6 | 83.6 |
| About 23,200 | 92.8 | 83.4 | 82.1 |
In the stock runs, the runner accepted about a quarter of its proposed tokens. Without drafting, the median total time on the longest input fell from 16.23 seconds to 15.54 seconds. The absolute saving was modest beside the long prompt-processing phase. Different writing or code prompts could produce a higher acceptance rate.
What happened with native MLX
We also sent the Ollama option with values of zero and four to the native NVFP4 MLX build. Its logs still recorded proposed and accepted tokens in both runs. Treat the option as a verified control for the GGUF runner on this version. For MLX, check the runner logs before drawing an on-versus-off conclusion from the option alone.
How to try the same change
With the Qwen 4 GGUF tag loaded in a compatible Ollama release, send the same prompts once with the package defaults and once with draft_num_predict set to 0 in the request options. Warm the runner before recording, hold the output cap steady and compare both the generation rate and total time. Our Qwen 4 MLX versus GGUF benchmark compares the two packages with their stock settings.
