Qwen4-35B-A3B at 8-bit on Tesla V100s: level with Flash-Next on accuracy, at 81 to 89 tokens per second on two cards
Alibaba released Qwen4-35B-A3B this week. On 1 December we wrote about the withdrawn pull requests that first named it; the weights are now public under Apache 2.0, and this is our first measurement of them.
We ran the 8-bit GGUF from unsloth/Qwen4-35B-A3B-GGUF in llama.cpp on Tesla V100 cards and compared it with the model the server normally runs, Qwen3.8-Flash-Next at 4-bit. On a sample of MMLU-Pro the two were level. Qwen4 answered in less than half the time per question before any tuning, and tuning raised its speed further.
The accuracy sample is small. It can rule out a large gap between the models and cannot rank them. We list what else is missing under Limits.
Setup
- Model. Qwen4-35B-A3B, Q8_0. You download two files: 38.2 GB of weights, which go on the cards, and a 21.8 GB n-gram embedding table, which stays on the CPU side.
- Engine. llama.cpp built from commit
a105b19on 5 December 2026 for CUDA 12.9. The 1.1.0 release of 26 November does not load the file: it stops on an unknown tokenizer type. - Hardware. Three Tesla V100 32 GB cards at a 175 W power limit each, and 144 GB of RAM.
- Sampling. The model card's thinking-mode settings: temperature 1.0, top-p 0.95, top-k 20, min-p 0. Reasoning effort at the model's default,
high. - Questions. A fixed sample of 140 MMLU-Pro questions, asked one at a time with a 16,000-token output limit. The long-context test asks 40 of them again, each time placed after a shared bank of 560 other questions, about 111,000 tokens.
Flash-Next ran as UD-Q4_K_XL (111 GB) on Strata, in two forms: the stock model, and the model with a community looped adapter at two passes.
Accuracy
Flash-Next finished 74 of the 140 questions inside its time limit on 4 December. The comparison uses those 74.
| Qwen4 Q8_0 | Flash-Next 4-bit, looped | Flash-Next 4-bit, stock | |
|---|---|---|---|
| Correct of 74 | 64 | 64 | 64 |
| Share, with 95% interval | 86.5% (76.9 to 92.5) | 86.5% (76.9 to 92.5) | 86.5% (76.9 to 92.5) |
| Output tokens, mean | 1,781 | 2,496 | 3,514 |
| Output tokens, median | 652 | 788 | 962 |
| Seconds per question, median | 12.1 | 44.5 | 28.8 |
| Answers cut off at 16,000 tokens | 3 | 0 | 0 |
The three got the same count by different routes. Against each Flash-Next run, Qwen4 won three questions and lost three.
On all 140 questions Qwen4 scored 121 (86.4%, interval 79.8 to 91.1) in 66 minutes. Five of its answers ran to the 16,000-token limit without finishing, all on engineering, physics or computer science questions. Flash-Next had none of those.
With the question inside a 111,000-token prompt
| Qwen4 Q8_0 | Flash-Next 4-bit, looped | |
|---|---|---|
| Correct of 40 | 35 | 35 |
| Share, with 95% interval | 87.5% (73.9 to 94.5) | 87.5% (73.9 to 94.5) |
| The same 40 asked as short prompts | 36 | 35 |
| Seconds per question, median | 11.8 | 28.8 |
| First read of the 111,000 tokens | 183 s | 91 s |
Neither model lost accuracy we could measure when the question sat at the end of a long prompt. Before tuning, Strata read the long prompt twice as fast as llama.cpp did.
Tuning llama.cpp for this model
The first run used llama.cpp's defaults: about 52 to 57 tokens per second, and 607 tokens per second reading the long prompt. We then measured one setting at a time. We started the server fresh for each row; generation used three 700-token answers and prompt reading used a 28,000-token prompt.
| Setting | Generation, tok/s | Prompt reading, tok/s | Cost |
|---|---|---|---|
| Defaults, three cards, warm | 69 to 71 | 1,547 | 42 GB of VRAM |
N-gram table resident in RAM (--lazy-mode off) | 70 | 3,062 | 22 GB of RAM |
Physical batch 2,048 (-ub 2048) | 67 to 70 | 1,793 | 1.5 GB more per card |
Draft head, depth 1 (--spec-type draft-mtp --spec-draft-n-max 1) | 77 to 84 | 1,218 | 1.8 GB on one card |
| Draft head, depth 2 | 67 to 81 | 1,205 | the same |
| Draft head, depth 3 | 59 to 75 | 1,211 | the same |
| Draft head, depth 4 | 53 to 65 | 1,203 | the same |
| Two cards instead of three | 72 to 73 | 1,278 | third card left empty |
--split-mode tensor | 46 | 1,094 | none |
| 262,144-token context instead of 140,000 | 69 to 71 | 1,483 | 1.3 GB more per card |
We drew these conclusions from the table:
- Keep the n-gram table in RAM. By default llama.cpp reads it from disk on demand. Holding it in memory was the largest gain in prompt reading, and it kept generation at 64 tokens per second with 30,000 tokens in context, against 46 to 55 without.
- Use the draft head at depth 1. The model ships with a multi-token prediction head. On these cards one drafted token per step was the fastest; each extra token made it slower. The draft head also reads the prompt, which lowers prompt-reading speed.
- Two cards are enough. At 8-bit the weights fit on two 32 GB cards, and generation was no slower than on three.
- Row split does not load this model, and tensor split is slower.
The first cold start of the day read the table from a cold disk and measured 49 to 57 tokens per second. The warm figure in the table is the one to compare against.
The combined configuration
Two cards, the table in RAM, physical batch 2,048, draft head at depth 1, 262,144-token context:
| Before tuning | Tuned | |
|---|---|---|
| Generation, tok/s | 52 to 57 | 81 to 89 |
| Generation with 30,000 tokens in context, tok/s | not measured | 79 |
| Reading a 28,000-token prompt, tok/s | not measured | about 2,100 |
| Reading 100,000-token prompts, tok/s | 607 | about 1,400 |
| VRAM | 42 GB on three cards | 54 GB on two |
A physical batch of 1,024 gave the same speeds on three cards and used about 4 GB less VRAM, so the accuracy check ran with that and with image input loaded. It scored 123 of the 140 questions (87.9%, interval 81.4 to 92.3) in 52 minutes, against 121 in 66 minutes before, and 34 of the 40 long-context questions against 35. With the draft head on, answers at temperature 0 are worded differently from answers without it, so we checked accuracy again; we saw no loss.
Several long conversations on one server
One slot serves one conversation at a time, so a second conversation pushes the first out of the cards. llama.cpp keeps pushed-out conversations in a RAM cache, 8 GiB by default. We rotated four conversations of about 100,000 tokens each.
| Cache size | Tokens read again per turn | Seconds per turn |
|---|---|---|
| 8 GiB (default) | about 100,000 to 110,000 (all of it) | 72 to 86 |
48 GiB (--cache-ram 49152) | 65 to 174 | 6 to 9 |
A saved 100,000-token conversation takes about 3.2 GB, so the default cache holds two and a rotation of four never finds its own. With room for all four, a turn costs a few seconds to restore the state.
Two things to know before pointing clients at it
- Effort levels. The chat template accepts
xhigh,high,lowandoff, and raises an error on anything else. A client that sendsmedium, as many do for other models, gets a failed request. We serve a copy of the template that mapsmediumtohigh. - Changing effort mid-conversation re-reads the conversation. The template writes the effort level at the start of the prompt, so if you change the level, you invalidate everything cached after it.
Tool calls, streaming and image input worked through llama.cpp's server without changes.
Limits
- 74 and 40 questions cannot separate models that are a few points apart. The intervals above are wide.
- The engines and quantizations differ: Qwen4 at 8-bit in llama.cpp against Flash-Next at 4-bit in Strata. The speed gap is partly the engine.
- The Flash-Next short-prompt runs of 4 December shared the server with other requests. Qwen4 ran alone. The long-context runs were both alone.
- MMLU-Pro is multiple choice. Coding and agent work are not covered here; a 45-task terminal test on both models is running and will be its own article.
- Speeds are single runs per setting on one machine, and the server was not otherwise idle for all of them.
- We have not tested two requests at once, lower quantizations of Qwen4, or contexts beyond 262,144 tokens.