llamaperf

Qwen4 reports

72 reports. These are individual setups, not a controlled benchmark. Qwen4 speeds by hardware →

Speeds are as each source reported them. GPU count, offloading and concurrent requests change them, and prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing two reports.

Tone: mixedNVIDIA hardware
generation:
34.0 tokens/s
quant:
UD-Q4_K_XL (GGUF)

User reports Qwen4-35B-A3B at 34 t/s on a V100 32GB with the experts kept in system RAM, about half the speed of running the whole model in VRAM. Setup uses the unsloth UD-Q4_K_XL 4-bit quant, which needs only 3.4 GB of VRAM with experts offloaded to RAM. The user notes the full model in VRAM runs roughly twice as fast, and says the quant seems fine despite some calling it lobotomized.

Dec 4, 2026
Tone: positiveNVIDIA hardware
prompt processing (prefill):
8388.0 tokens/s
quant:
NVFP4 (NVFP4)
codingtool-usevisionlong-context

User reports Qwen4-35B-A3B running on capy-flash v0.17.0 across two RTX 5070 Ti 16GB cards, one request at a time, with per-task generation of 406 t/s for schema-constrained JSON, 371 t/s for code and 276 t/s for text. Prefill reaches 8,388 t/s and is still 7,693 t/s at 256k tokens of context; with the KV cache in RAM at 1M tokens, prefill is 4,057 t/s and generation 291 t/s. All 256 experts fit in VRAM at 13 GB per card. The weights were reconverted from the official BF16 with experts in NVFP4 and BF16 activations, projections in Q8, head in Q6, and the 21 GB n-gram table in FP8 read from the SSD; KL against the BF16 original is 0.095. The user says it is roughly on par with Qwen3.8-Flash-Next on their quality tests at about a quarter of the parameters and generates about twice the tokens per second on the same engine. The artifact is 42.8 GB.

Dec 4, 2026
Tone: mixedNVIDIA hardware
generation:
141.0 tokens/s
quant:
UD-IQ4_XS (GGUF)

User benchmarks Qwen4 35B-A3B quants on one RTX 3090 plus 128 GB DDR4, reporting plain decode of 141 tok/s on both code and prose for the unsloth UD-IQ4_XS build. Setup is the user's own inference.rs engine with UD-IQ4_XS (32.04 GB) and a custom R1 recipe (31.72 GB); plain decode context is 128K for UD-IQ4_XS and 97K for R1. MTP 2 gives 181-189 tok/s on code and 149 on prose, DFlash 2 at 3 drafts gives 265 on code and 172 on prose. The user says Qwen4 is harder to quantize than 3.6 or 3.8, with KLD 0.0652 for UD-IQ4_XS and 0.0610 for R1, and is trying GPTQ to lower 4-bit KLD.

Dec 4, 2026

Qwen4 35B (3B active)

NVIDIA RTX A5000 · TensorSharp · 512 ctx

NVIDIA hardware
generation:
104.2 tokens/s
quant:
UD-IQ4_XS (GGUF)

User benchmarks Qwen4-35B-A3B at 104.2 tok/s decode on a 512-token prompt with TensorSharp on one RTX A5000 24GB, reaching 147.7 tok/s with MTP depth 2. Setup is TensorSharp with a UD-IQ4_XS GGUF, greedy decoding, thinking off and 256 output tokens; llama.cpp used the same GGUF files while vLLM and SGLang used ModelOpt NVFP4 with some experts in host memory. Decode falls to 99.5 tok/s at a 4K prompt and 79.2 tok/s at 16K, where llama.cpp reaches 98.6 tok/s. Aggregate output at 16 streams is 465 tok/s for TensorSharp, 347 for llama.cpp, 170 for vLLM and 588 for SGLang. WikiText-2 perplexity is 6.5625 against llama.cpp's 6.5567.

Dec 4, 2026
Apple hardware
generation:
120.2 tokens/s
quant:
oQ4e (MLX)
coding

User reports Qwen4-35B-A3B at 120.2 tok/s on a single M5 Max 64GB, with the model's n-gram table kept on SSD. Setup is oMLX 0.8.5 with an oQ4e MLX quant and MTP weights; the same prompt with thinking off, generation rate only. With the n-gram table in unified memory the same run reached 141.2 tok/s, about 17.5% faster, though output lengths differed so the user does not treat it as a general speedup. A separate coding run with thinking and Lightning MTP on reported 159.2 tok/s.

Dec 4, 2026
Tone: positiveNVIDIA hardware
generation:
176.4 tokens/s
quant:
FP8 (FP8)
coding

User reports Qwen4-35B-A3B-FP8 at 176.38 tok/s single-stream output throughput on a single RTX PRO 6000 Blackwell 96GB. Setup is vLLM with FP8 weights and a 262144-token max context; all ~57.5 GiB of weights plus the 20B n-gram embedding table sit in VRAM with no CPU offload. GuideLLM on likaixin/InstructCoder, 50 requests, max_tokens 16384: mean TTFT 30.32 ms and ITL 5.65 ms at concurrency 1. At concurrency 6 aggregate output throughput is 520.46 tok/s with about 100 tok/s per user. MTP speculative decoding was disabled, so these are plain autoregressive numbers.

Dec 4, 2026
Tone: positiveNVIDIA hardware
generation:
101.5 tokens/s
prompt processing (prefill):
1883.0 tokens/s
quant:
UD-Q6_K_XL (GGUF)
kv:
q8_0
visiontool-uselong-context

User reports Qwen4-35B-A3B at 101.5 t/s decode and 1,883 t/s prefill at 0.5K context depth on a single RTX A6000 48 GB. Setup is llama.cpp with UD-Q6_K_XL GGUF and q8_0 KV cache, full 1,048,576-token context, MTP off, engram table kept in system RAM via CPU offload; 46.8 GB VRAM used at load. Decode falls to 49.9 t/s at 139K and about 12 t/s near 1M, while prefill peaks at 3,544 t/s at 17K and holds above 3K out to ~140K. Needle-in-a-haystack passed at 341K and 993K; image prefill ~1,140 t/s.

Dec 4, 2026
AMD hardware
generation:
57-59 tokens/s

User benchmarks Qwen4-3B on Strix Halo with a Strix-patched llama.cpp build, reporting 57–59 t/s decode with MTP and roughly 1,000 t/s prefill at 0.8–1.2k tokens. MTP draft acceptance was 57–62%. Upstream llama.cpp without MTP reached 42.5 t/s decode and 1,282 t/s prefill at 2k, while upstream Gufo with MTP reached 82.1 t/s decode, 3,336 t/s prefill at 2k and 56% acceptance.

Dec 4, 2026

Qwen4 35B (3B active)

NVIDIA RTX 4090 · llama.cpp · 32,768 ctx

Tone: positiveNVIDIA hardware
generation:
149.6 tokens/s
prompt processing (prefill):
5233.0 tokens/s
quant:
UD-Q4_K_XL (GGUF)
agentictool-use

User reports Qwen4-35B-A3B at 149.6 t/s generation and 5233 t/s prompt processing on a rented RTX 4090 24GB. Setup is llama.cpp b12973 with Unsloth UD-Q4_K_XL (24.7GB file plus an 11.5GB engram file kept in RAM), 32k context, MTP with 1 draft token, and MoE experts offloaded to system RAM. MTP gave +17% on the 4090 (127.6 to 149.6 t/s) but nothing on the 12GB RTX 5070 (89.8 without, 89.7 with). On the 5070 prompt processing is the weak spot at 1210 t/s, raised to 2345 t/s with a tuned command. The model scored 12/12 on agent tasks and used about 195k tokens for the 54-question set versus 230-281k for Flash-Next, Qwen3.8-27B and Inkling 2 Mini.

Dec 4, 2026
NVIDIA hardware
generation:
83.5 tokens/s
quant:
IQ4_XS (GGUF)
kv:
int8
agenticlong-context

User reports Qwen4-35B-A3B at 83.5 t/s chat decode on an RTX 4070 Ti 12 GB with 32 GB DDR5 system RAM. Setup is Strata on Windows with IQ4_XS GGUF, int8 KV cache and 262,144 max context; the model runs partly from system RAM (about 21.6 GiB RAM and 9.5 GiB VRAM), and the decode figure includes Strata's prompt-lookup drafting. Prefill ranged from 2753 t/s at 16K to 2349 t/s at 244K prompts; with MTP on, chat decode was 89.1 t/s and agent decode 100.5 t/s. Q2_K_XL gave 86.5 t/s chat decode and 94.8 t/s agent decode, and 32 GB RAM peaked at 30.2 GiB with IQ4_XS.

Dec 4, 2026

Qwen4 35B (3B active)

M6 32GB · Inco Splash · 150,000 ctx

Tone: positiveApple hardware
generation:
50.0 tokens/s
prompt processing (prefill):
997.0 tokens/s
quant:
UD-Q4_K_M (GGUF)
kv:
16-bit
coding

User reports Qwen4-35B-A3B at about 50 tok/s generation and about 997 tok/s prompt processing on an M6 32GB Mac mini, with 1.8 s to first token. Setup is Splash with UD-Q4_K_M GGUF, 16-bit KV cache, a 20 GB memory limit and 150K context, using 17.6 GB of memory. Per-request speed was 26-56 tok/s with 66-75K tokens in context, mostly cached; one 16,384-token output ran at 43 tok/s with about 75K in context. The session reached about 130K tokens, compacted, and produced a working ~40 KB HTML game after about 27 minutes.

Dec 4, 2026

Qwen4 35B (3B active)

NVIDIA RTX 5090 · Basalt · 131,072 ctx

Tone: mixedNVIDIA hardware
generation:
127.8 tokens/s
quant:
Q8_K_XL (GGUF)
kv:
INT8

User reports Qwen4-35B-A3B Q8_K_XL at a median 127.8 tok/s decode on a single RTX 5090 at 131,072 input tokens, with roughly 12K tok/s prefill and 11.1 s to first text. Setup is Basalt under WSL with INT8 KV cache, one request at a time, speculative decoding and prompt caching off, and a 128-token output cap. Structured JSON runs reached 143.3 tok/s median decode. A 128-token input ran at 150.3 tok/s with elastic KV but dropped to 5.3 tok/s with the full 2.3 GiB KV cache preallocated. At 200,000 input tokens Basalt rejected the prompt twice with a KV pool error despite a 200,704 configured context.

Dec 4, 2026

Qwen4 35B (3B active)

2× NVIDIA RTX 3090 · llama.cpp · 500,000 ctx

Tone: mixedNVIDIA hardware
generation:
120-150 tokens/s
quant:
Q8_K_XL (GGUF)
codingagenticlong-context

User compares Qwen4 35B-A3B against Qwen3.8 Flash Next and DeepSeek V4.1 Flash on a dual RTX 3090 setup with a 5950X and 92GB DDR4-3200. Qwen4 35B ran in llama.cpp at UD-Q8_K_XL with MTP on, giving around 5k prefill and 120-150 t/s at a 500k context window. Qwen3.8 Flash Next ran in Strata at IQ3_S with MTP off, giving around 3k prefill and 100-120 t/s at 250k context. DeepSeek V4.1 Flash was used through the Opencode API. On a codebase-analysis task judged by Opus 5.5, DeepSeek ranked first, Qwen3.8 Flash second and Qwen4 35B third; the user says Qwen4 35B was confidently wrong on several points while the other two were accurate.

Dec 4, 2026
AMD hardware
prompt processing (prefill):
16000-17400 tokens/s
kv:
BF16

User benchmarks Qwen4-35B-A3B on 2x AMD Radeon AI PRO R9700 32GB (64GB total, TP=2) with a 0ULP lossless fork of Radiance 2.4.1, reporting up to 411 tok/s decode with DFlash2 speculation and 16k-17.4k tok/s prefill flat to 124k context (7.3s TTFT, zero prefix cache). Setup uses BF16 KV cache, PCIe 5.0 x8/x8 P2P, ROCm 7.2.4 on a Ryzen 9 9950X with 96GB RAM; all runs used unique prompts with cached_tokens = 0. DFlash2 leads single-stream and C=1-32 (411 tok/s Math, 328 tok/s Python, 325 tok/s 5-domain mean, 245 tok/s at 124k context, 1,370 tok/s at C=32), while MTP-3 leads heavy batching with 1,739 aggregate output tok/s (10,381 total tok/s) at 128 concurrent sessions and median per-user speed above 21.8 tok/s.

Dec 4, 2026
Tone: positiveNVIDIA hardware
generation:
79.0 tokens/s
prompt processing (prefill):
3002.0 tokens/s
quant:
UD-Q5_K_XL (GGUF)
kv:
int8
codingvisionagenticlong-context

User reports Qwen4-35B-A3B at 79.0 tok/s average decode and 3,002 tok/s average prefill on an RTX 4070 SUPER 12GB with 32GB RAM, peaking at 215,108 tokens of context. Setup is the Basalt engine with UD-Q5_K_XL (41.83 GiB pack), int8 KV cache, Q8_0 MTP speculation at --spec 8, and experts split 6.5 GiB VRAM / 11.1 GiB RAM / 4.9 GiB NVMe. Peak decode was 102.3 tok/s and 72.1 tok/s at 215K context; MTP acceptance was 78.7% and GPU cache hit rate 72.7%. The 41.6-minute agent run made 53 requests and 76 tool calls, building a 34,317-voxel Three.js scene at 60 fps and 13 draw calls. With 32GB RAM, 4.9 GiB of cold experts spilled to NVMe, reading 2.43 TB over the run.

Dec 4, 2026
Tone: positiveNVIDIA hardware
generation:
100.0 tokens/s
prompt processing (prefill):
1000.0 tokens/s
quant:
Q4_K_XL (GGUF)

User reports Qwen4 35B-A3B at 100 t/s decode and 1000 t/s prefill on one Nvidia Tesla P100. Setup is Strata with the unsloth Q4_K_XL quant, using Pascal sm_60 optimizations. User also ported the loop transformer for Qwen3.8 Flash-Next, running IQ3_S at 30-40 t/s decode and 400 t/s prefill on the same single P100.

Dec 4, 2026

Qwen4 35B (3B active)

Unknown GPU · 400,000 ctx

Tone: positive
generation:
126.0 tokens/s
prompt processing (prefill):
6075.0 tokens/s
quant:
Q8_K_XL (GGUF)
kv:
Q8
codingagenticlong-context

User reports Qwen4 35B-A3B at an average decode of 126 t/s and prefill of 6,075 t/s, running on DDR4 RAM. Setup uses the Unsloth Q8_K_XL quant with Q8 KV cache at 400,000 context, reasoning set to xhigh. User says quality matters more than speed and that Qwen4 found the root cause of MTP not firing in its own inference engine, a bug Claude Opus had missed.

Dec 4, 2026

Qwen4 35B (3B active)

NVIDIA RTX 3070 · llama.cpp · 98,304 ctx

Tone: positiveNVIDIA hardware
generation:
32.0 tokens/s
quant:
UD-Q4_K_XL (GGUF)
kv:
q8_0
coding

User reports Qwen4-35B-A3B at 32 tok/s decode and 1,050 tok/s prefill on an 8GB RTX 3070 laptop with 32GB RAM. Setup is llama.cpp with UD-Q4_K_XL GGUF, q8_0 KV cache, 98304-token context, MTP draft speculation, CPU-resident MoE experts and a 256 MiB MoE cache. The 1,050 tok/s prefill is a second-request 16K result; the original 58,080-token prompt prefilled at 122.01 tok/s (476.03 s). A faster-decode configuration trades prefill for 1024 MiB MoE cache and CPU MTP experts.

Dec 4, 2026

Qwen4 35B (3B active)

NVIDIA RTX 3060 12GB · RustingStrata · 512 ctx

Tone: positiveNVIDIA hardware
generation:
69.0 tokens/s
prompt processing (prefill):
554-581 tokens/s
quant:
UD-Q5_K_M (GGUF)

User benchmarks Qwen4-35B-A3B at 69.0 t/s decode on an RTX 3060 12GB with the new RustingStrata engine, against 43.6 t/s for llama.cpp at 0.5k context. Setup is RustingStrata with the unsloth UD-Q5_K_M GGUF (39.5 GB, both shards); the most used experts stay on the card and the rest run on the CPU, with the n-gram table in RAM. llama.cpp was run with CUDA, -fa 1 -t 6, and swept --n-cpu-moe and -ub per row. No draft tokens on either side. Prefill at 0.5k is given as a 554-581 t/s range for RustingStrata versus 463 for llama.cpp; at 8k and 32k RustingStrata decodes 67.5 and 64.6 t/s against 43.9 and 42.3. The Vulkan backend on the same card gives 61.4 / 56.8 / 55.0 t/s decode and 444 / 1022 / 920 t/s prefill at 0.5k / 8k / 32k. Top-token agreement with llama.cpp was 618 of 640 steps on CPU and 615 on GPU. MTP is implemented but not yet tested, and multi-GPU is untested beyond a fake split on one card.

Dec 4, 2026

Qwen4 35B (3B active)

AMD RX 6800 XT 16GB · llama.cpp · 131,072 ctx

AMD hardware
generation:
73.5 tokens/s
prompt processing (prefill):
964.4 tokens/s
quant:
UD-IQ2_S (GGUF)
kv:
Q4
flash attention:
on
mtp (multi-token prediction):
off
codingtool-useagenticlong-context

User reports Qwen4-35B-A3B at 73.50 t/s generation and 964.43 t/s prompt processing on a single AMD Radeon RX 6800 XT 16 GB. Setup is llama.cpp b12973 with Vulkan (RADV Mesa 26.3.1), UD-IQ2_S GGUF weights, q4_0 K and V cache in VRAM, and a 131072-token configured context. All transformer layers ran on the GPU while the PLE/engram table ran from CPU/disk; no MTP head and no speculative decoding. One cold run with a real 129001-token prompt and 128 output tokens, cache_prompt false, wall clock 135.756 s. Peak VRAM was 15.34 GiB of 15.98 GiB and mean GPU power 280.04 W. The user notes a single run with no variance and an aggressive 2-bit-class quant.

Dec 4, 2026