llamaperf

Qwen4

72 reports

Qwen4 35B · 3B active at 4-bit generates a median of 61.6 tokens per second on the AMD Strix Halo 128GB, the hardware it is most run on, from 3 plain runs (community reports, as of 5 Dec 2026).

As of 5 Dec 2026, Qwen4 35B · 3B active at 4-bit on each device, fastest first, with the median generation speed of plain runs (one device, one request, no speculative decoding, the whole model in its memory):

Bars are medians on one scale, 0 to 512.9 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Speed on every device it has run on →
Qwen4 VRAM requirements by size and quant →

How does Qwen4 run on your hardware?

Pick your GPU or Mac, then read the speeds people reported for Qwen4 on it, or estimate memory fit and speed.

Free to use. No account needed. Memory estimates and community measurements are labelled separately.

Run Qwen4 yourself? Add your numbers.

Your coding agent can run a speed test on your machine and send it here with a free account. Or paste a result you've already posted.

Reported performance for Qwen4

Filter this model’s reports by setup →

Showing 20 of 72 reports. See all of them →

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.

AMD hardware
generation:
61.6 tokens/s
prompt processing (prefill):
2743.0 tokens/s
quant:
UD-Q4_K_M (GGUF)

User reports Qwen4-35B-A3B at 2,743 tok/s prefill and 61.6 tok/s decode on a Strix Halo under Gufo-Win. Setup is the qwen4exp executor with a 35.2 GB UD-Q4_K_M download, 262,144-token verified context, at depth 0; the model loads in 13.6 s. Decode rises to 71.9 tok/s with MTP. The release also adds an optional recurrent-depth loop adapter for Qwen3.8-Flash-Next.

Dec 5, 2026

Qwen4 35B (3B active)

Ryzen AI MAX+ 395 / Radeon 8060S · llama.cpp · 4,096 ctx

generation:
30.0 tokens/s
prompt processing (prefill):
651.0 tokens/s
quant:
UD-Q8_K_XL (GGUF)
codinglong-context

User benchmarks Qwen4-35B-A3B at 30.0 t/s generation and 651 t/s prompt processing at 4k context on a Ryzen AI MAX+ 395 / Radeon 8060S with 128 GB. Setup is llama.cpp build 12973 with UD-Q8_K_XL GGUF, 272384-token context allocated, one request, Vulkan backend (Mesa RADV 26.2.4) with GGML_VK_PREFER_HOST_MEMORY=ON and the per-layer token embedding offloaded to CPU. Vulkan beat ROCm at 128k and above with and without MTP; MTP gave no useful gain up to 64k on Vulkan, then +4% at 128k, +10% at 192k and +12% at 256k, while slowing prompt processing about 12%. ROCm was only tested at 128k and above, where MTP gained 23-35%. The 19.4 t/s ROCm 256k MTP figure is flagged as probably optimistic. Peak GTT was 44.5 GiB on Vulkan and 43.1 GiB on ROCm.

Dec 5, 2026

Qwen4 35B (3B active)

2× NVIDIA RTX 5070 · llama.cpp · 100,000 ctx

Tone: positiveNVIDIA hardware
generation:
55-75 tokens/s
quant:
UD-Q5_K_M (GGUF)
kv:
q8_0
flash attention:
on
coding

User reports Qwen4-35B-A3B at roughly 1100 t/s prompt processing and 55-75 t/s generation on an RTX 5060 16GB plus RTX 5070 12GB with 48GB system RAM. Setup is stock llama.cpp on Nobara Linux with UD-Q5_K_M GGUF, q8_0 KV cache, 100k context, flash attention, and draft-MTP speculative decoding; some expert layers and the token embedding are offloaded to CPU. The model fits in VRAM with 18% and 1% free on the two cards and does not OOM. User says it is visibly faster than 3.8-27B with no more retry loops, and may become a daily driver.

Dec 5, 2026

Qwen4 35B (3B active)

RTX 4070 Laptop 8GB

generation:
21.5 tokens/s
coding

User compares Qwen4-35B-A3B decode with MTP on and off on an RTX 4070 laptop with 8 GB VRAM and 16 GB RAM, where turning MTP off raised decode from 20 to 21.5 tok/s and freed 348 MiB of VRAM for the expert cache. Experts were offloaded, and the laptop tester suspected verifying extra draft tokens pulled in more experts that were not already cached on the GPU. On a 32 GB RTX PRO 4500 in llama.cpp the opposite was seen, 161.7 to 206.8 tok/s with MTP on, though the user notes the quants and workloads differ. The user asks whether MTP still helps on 12 or 16 GB cards and in coding sessions.

Dec 5, 2026
Tone: mixedNVIDIA hardware
generation:
405.5 tokens/s
quant:
UD-IQ4_XS (GGUF)
codingagentictool-use

User benchmarks Qwen4-35B-A3B (UD-IQ4_XS) on Strata at 405.52 tok/s on a 96 GB RTX PRO 6000 Blackwell, up from 385.56 tok/s upstream. Setup keeps all 10,240 experts (16.25 GB) in VRAM with MTP speculation (--spec 7) and STRATA_MTP_DROP_TAIL=2; acceptance rose from 50.2% to 59.4% with ast=PASS and uniq4=0.91. On a 12 GB RTX 3080 Ti the same model runs 66.3 tok/s baseline, 196.95 tok/s at 512K context and 225.73-239.85 tok/s at 64K with rank-0 kept exact; the user warns that 627.7-684.6 tok/s figures come from evicting rank-0/rank-1 experts, which collapses uniq4 to 0.02-0.23 and triggers repetition loops.

Dec 5, 2026
Tone: positiveNVIDIA hardware
generation:
143.0 tokens/s
quant:
NVFP4 (NVFP4)
kv:
int8

User reports Qwen4-35B-A3B at 143 t/s on an RTX 5060 Ti 16GB, up from 87 t/s without the drafter. Setup uses a dflash2 drafter, NVFP4 weights, int8 KV cache and a 5.6k-token prompt, on a Ryzen 5700G with 64GB DDR4 and a 2TB NVMe SSD. The user asks for tuning advice and whether to keep the 60-second idle unload for freeing VRAM for gaming and ComfyUI.

Dec 5, 2026

Qwen4 35B (3B active)

AMD RX 7600 8GB · llama.cpp · 65,536 ctx

Tone: positiveAMD hardware
generation:
24-31 tokens/s
prompt processing (prefill):
394.0 tokens/s
quant:
Q4_K_XL (GGUF)
kv:
q8_0
codingmultilingualvisionlong-contextagentic

User reports Qwen4-35B-A3B at 24-31 tok/s generation and ~394 tok/s prompt reading on an RX 7600 8 GB with 60 GB system RAM. Setup is llama.cpp (HIP build) with Q4_K_XL GGUF, q8_0 KV cache, 64K context, all MoE experts on the CPU (--n-cpu-moe 99) and MTP draft head with 2 draft tokens. Raising micro-batch from 512 to 2048 lifted prompt reading from 157 to 394 tok/s; 4096 reached 522 tok/s but only up to 32K context. Long-context recall was 4/4 at 16K, 33K, 61K and 130K tokens. TurboQuant KV cache gave no benefit, costing about 20% generation speed for 0.1-0.2 GB saved.

Dec 5, 2026
Tone: positiveAMD hardware
generation:
70.0 tokens/s
quant:
Q4_K_M (GGUF)
codingagenticlong-context

User reports Qwen4-35B-A3B at 70 t/s on prose and 73 t/s on code on an ASUS Turbo Radeon AI PRO R9700 32GB in a 6.7L SFF build, with 81 and 113 t/s respectively when MTP is enabled. Setup is LM Studio 0.4.21 on Windows 11 with the ROCm runtime, Q4_K_M weights of 22.7 GB, all layers on the GPU, Flash Attention on, and a 128K context plus MTP and buffers using about 30.5 GB of VRAM; an 11.5 GB Engram table sits in system memory. At a 37.9K-token prompt, time to first token was 12.6 s (15.6 s with MTP) and generation 65 t/s (85 with MTP). The user compares Qwen3.6-35B-A3B at 116 t/s prose and 98 t/s at 38K, and Qwen3.8-27B dense at 24 t/s, and notes Qwen4 was the only model to get the agent task fully right (18/18 over 3 runs). Generation is limited by the 210W power cap; the card ran at 63°C GPU and 78°C hotspot with 49 dB noise.

Dec 5, 2026

Qwen4 35B (3B active)

2× NVIDIA RTX 3060 12GB · llama.cpp · 8,192 ctx

Tone: positiveNVIDIA hardware
generation:
89.9 tokens/s
prompt processing (prefill):
1190.0 tokens/s
quant:
UD-IQ4_XS (GGUF)
kv:
q4_0
long-contextagenticcoding

User reports Qwen4-35B-A3B at 89.9 tok/s output and 1,190 tok/s prompt on two RTX 3060 12GB cards at 8k context, with a layer split. Setup is llama.cpp built from master with the qwen4 PR, Unsloth UD-IQ4_XS (20.5GB of weights plus an 11.5GB engram shard), q4_0 KV cache, flash attention on, MTP draft speculation at depth 2, and the engram loaded into RAM rather than mmap. Output falls to 58.5 tok/s at 128k on the layer split; a tensor split gives 85.9 tok/s at 8k and 70.2 tok/s at 128k, with layer about 10% faster at prompt reading. Offloading experts for 4 of 40 layers dropped output from 77 to 12 tok/s, and 256k context would not load. HumanEval pass@1 was 162/164 and MMLU-Pro 100 was 85/100.

Dec 5, 2026
Tone: positiveApple hardware
generation:
31.0 tokens/s
quant:
AD-IQ3_S (GGUF)
agentictool-use

User reports an uncensored Qwen4-35B-A3B build driving an offline agent loop on a single M5 32GB MacBook at ~31 tok/s decode. Setup is llama.cpp b12977 with the atomic chat AD-IQ3_S quant (~31GB); the official unsloth UD-Q4_K_M build (~35GB) was compared on the same prompts. On 10 OWASP Juice Shop challenges the uncensored build solved 9/10 and the official 8/10, diverging only on login bender (84s vs timeout); the user calls the difference within run-to-run variance. Both ~30GB+ quants ran on the one 32GB laptop with wifi off.

Dec 5, 2026

Qwen4 35B (3B active)

Radeon 8060S · llama.cpp · 524,288 ctx

generation:
43.9 tokens/s
prompt processing (prefill):
869.2 tokens/s
quant:
Q8_0 (GGUF)
agenticvisionlong-context

User reports Qwen4-35B-A3B at 43.88 t/s generation and 869.23 t/s prompt processing on a Radeon 8060S in an AMD Ryzen AI Max+ 395 system with 128GB unified memory. Setup is llama.cpp with the Vulkan backend, Q8_0 weights, MTP enabled at draft depth 3, 524,288-token context, and batch/physical batch sizes of 2048, with native vision enabled. User asks for suggestions on improving inference performance, agentic capabilities, persistent learning, security and knowledge retrieval without sacrificing model quality.

Dec 5, 2026
Tone: positiveIntel hardware
generation:
433.0 tokens/s
prompt processing (prefill):
9200.0 tokens/s
quant:
W4A16 (W4A16)
kv:
int8
agentictool-usemathcoding

User reports Qwen4-35B-A3B at 433 tok/s decode on two Intel Arc Pro B70 32GB cards in TP2, with 386 tok/s single stream. Setup is the Xenithium engine on an unofficial Qwen4 port fork, with a locally baked W4A16 (RTN int4 g128) checkpoint, int8 KV cache, 1M context across 16 slots, and a ~20 GB PLE n-gram table in host RAM. Aggregate throughput is 573 / 850 / 1,000 / 1,223 tok/s at 2 / 4 / 8 / 16 streams; prefill is 8.1K tok/s at 2K, 9.2K at 32K and 8.8K at 128K, and decode falls to 320 tok/s at 32K depth and 296 tok/s at 109K. The 242-question suite scores 216/242 (89.3%), tying the user's Qwen3.8-Flash-Next IQ3_S entry at roughly 3x the throughput of the Swift 1.5 27B W4A16 lane it replaced.

Dec 5, 2026

Qwen4 35B (3B active)

2× 2x NVIDIA Quadro RTX 8000 · llama.cpp · 1,000,000 ctx

Tone: mixed
generation:
64.0 tokens/s
quant:
Q8_0 (GGUF)
visionlong-context

User reports Qwen4-35B-A3B at about 64 tokens/s on 2 x NVIDIA Quadro RTX 8000 (48 GB each) for visual tests. Setup is llama.cpp build b12973 with Q8_0 quantisation (56.6 GB file). GPU memory was 39.4 GB at 32K context, 43.4 GB at 131K and 79.9 GB at 1M. Exact recall was 100% up to 250K tokens, 88% at 500K, 72% at 700K and 53% at 900K; all 41 wrong answers were confident numbers. Reading 900K tokens took 34 minutes before the first word. Six of six visual tests ran first time, three had a visible flaw.

Dec 5, 2026
Tone: positiveNVIDIA hardware
generation:
512.9 tokens/s
quant:
NVFP4
agentic

User reports Qwen4-35B-A3B at 512.9 tok/s single-stream decode and 1,258.5 tok/s aggregate across 8 concurrent agents on one stock RTX 5090 32 GB. Setup is the basalt engine with a 5-file sm_120 patch, NVFP4 weights, CUDA 13.0.88, at 575 W stock; prefill is 20.98K t/s at 8K, 21.53K at 32K and 19.73K at 131K, with 22.9 GiB peak VRAM. The patch gives +8.4% at c=1 and +17.6% at c=8 over baseline, with 4,352/4,352 bit-exact greedy parity against the untouched build.

Dec 5, 2026
Tone: positiveNVIDIA hardware
generation:
350.1 tokens/s
prompt processing (prefill):
9680.0 tokens/s
quant:
UD-IQ4_XS (GGUF)
kv:
INT8
codingagentic

User reports Qwen4-35B-A3B at 350.1 t/s with DFlash2 on a single RTX 4090, with 9,680 t/s prefill at a 1,009-token prompt. Setup is the NInfer RTX 4090 fork with UD-IQ4_XS weights, an INT8 KV cache, an IQ4_NL n-gram table and RadixArk DFlash2 with Q8_0 projections; the card has 24 GB VRAM at 450 W. Without drafting the same row gives 207.1 t/s, and MTP gives 313.2 t/s. The author reports up to 314.8 t/s with MTP, 10,700 t/s prefill, around 277 t/s at 65K prompt tokens with MTP, and 124 t/s past 1 million tokens with host expert offloading. DFlash2 leads at short prompts while MTP is better at medium context, with identical greedy output either way.

Dec 5, 2026

Qwen4 35B (3B active)

NVIDIA RTX 5070 · Damask · 32,768 ctx

Tone: mixedNVIDIA hardware
generation:
134-147 tokens/s
quant:
UD-IQ4_XS (GGUF)
coding

User reports Qwen4 35B-A3B at 134-147 tok/s on an RTX 5070 12GB at 32K context, with 90-110 tok/s on long tasks as context fills. Setup is a fork of PolyStrata/Strata called Damask with the Unsloth UD-IQ4_XS quant, hot experts in VRAM and the rest on CPU, CPU kernels rewritten in Rust with inline asm for Zen 3. VRAM sits at 10.4 GB on a 5900X with 32GB DDR4. Other rows: 139-157 tok/s at 32K with a DFlash2 drafter, 142-146 at 64K, 109-116 at 128K. First request after loading is about 45 tok/s with 10+ seconds to first token; a concurrent disk download dropped it to 103-108. The 45 tok/s comparison is other people's RTX 3060 llama.cpp numbers, not measured on this card.

Dec 5, 2026

Qwen4 35B (3B active)

NVIDIA RTX 5090 · Strata · 40,000 ctx

Tone: mixedNVIDIA hardware
generation:
297.0 tokens/s
quant:
UD-IQ3_XXS (GGUF)

User compares BigMoeOnEdge 0.52.0 and Strata 0.2.26 on the same Unsloth UD-IQ3_XXS GGUF of Qwen4-35B-A3B, each on a single rented card, with a 40k context window and thinking disabled. On an RTX 5090, Strata reaches 297 tok/s on prose and 328 tok/s on code, against 239 and 307 for BigMoeOnEdge; the other cards are 225/256 on an RTX 4090, 166/188 on an RTX 3090, 169/191 on an RTX 5070 Ti 16 GB and 78/87 on an RTX 3060 12 GB. Strata's Compact pack without MTP gives 206 tok/s on prose and 268 with MTP. Figures are medians of the second and third runs. The user notes Strata is only slightly ahead but BigMoeOnEdge runs any GGUF on any hardware or OS, and asks whether the gap is kernels or resource allocation.

Dec 5, 2026
NVIDIA hardware
generation:
170.6 tokens/s
quant:
UD-Q4_K_M (GGUF)

User reports Qwen4-35B-A3B decoding at 170.6 tok/s with the control vector off and 171.2 tok/s with it on, on an RTX 3090. Setup is Strata v0.2.26 with UD-Q4_K_M GGUF weights, thinking off and temp 0, using a 214 KB control vector recovered from SC117's abliterated model in projection mode. With the vector on, XSTest full refusals fall from 182/200 to 80/200 and wrongly refused safe prompts from 37/250 to 3/250; MMLU goes from 74.0% to 76.8% and GSM8K from 98.0% to 98.5%. Mainline llama.cpp only adds control vectors, so the method needs a runtime with projection mode.

Dec 5, 2026

Qwen4 35B (3B active)

2× NVIDIA RTX 5060 Ti 16GB · capy-flash · 128,000 ctx

Tone: positiveNVIDIA hardware
generation:
147.0 tokens/s
kv:
f16
long-contexttool-use

User reports Qwen4 35B-A3B at 147 tok/s single-request on two RTX 5060 Ti 16GB cards with capy-flash v0.17.0. Setup keeps KV at 16-bit with an 8-slot, 128K-per-request, 1M-token bf16 KV pool; experts stay on the GPUs while KV sits in host RAM. Speculative decoding with 2 draft tokens was used. With all 8 slots busy the total is 271 tok/s, prompt reading at ~120K is ~2,990 tok/s, and 4 x 60K prompts finish in 80 s. For comparison, llama.cpp f16 at 4 slots gives 54 tok/s single-request and 86 tok/s total, at 8 slots 46 tok/s and 93 tok/s. 1M context works with 5/5 hidden facts found at 500K and 1.04M, though prefill at 1M takes about 25 minutes. Quality is about the same as Qwen3.8 27B on the user's small test set.

Dec 5, 2026
Tone: mixedNVIDIA hardware
generation:
119.0 tokens/s
prompt processing (prefill):
1700.0 tokens/s
quant:
UD-Q4_K_XL (GGUF)

User reports Qwen4 35B at an average 119 t/s generation and 1700 t/s prompt reading on an RTX 3060 12GB. Setup is Strata with the Unsloth UD-Q4_K_XL quant at 128K context, alongside 32GB DDR5-6000 and a fast SSD. The user notes the Unsloth quant was the fastest tried, while Strata's balanced model was 2.5x slower.

Dec 5, 2026
Qwen4 on one card
CardReports
Qwen4 on the NVIDIA RTX 30907
Engines people run Qwen4 with
EngineReports
llama.cpp28
Strata11
Gufo2
NInfer2
oMLX2
vLLM2
Inco Splash1
LM Studio1
TensorSharp1

Get a weekly email of new Qwen4 reports on any GPU.

Email me new reports

Reported configurations

Individual observations from this page, not expected speeds or a ranking. Select a model to open its report, with the source and offloading conditions. Reported context may be a limit rather than actual input length.

Model / hardwareQuant / engineReported contextGeneration
Qwen4 35B (3B active)
AMD Strix Halo 128GB
UD-Q4_K_M
Gufo
262,14461.6 tokens/s
Qwen4 35B (3B active)
NVIDIA RTX Pro 6000 Blackwell
UD-IQ4_XS
Strata
Not reported405.5 tokens/s
Qwen4 35B (3B active)
NVIDIA RTX 5060 Ti 16GB
NVFP4
Engine not reported
Not reported143.0 tokens/s
Qwen4 35B (3B active)
AMD Radeon AI PRO R9700 32GB
Q4_K_M
LM Studio
Not reported70.0 tokens/s
Qwen4 35B (3B active)
2× NVIDIA RTX 3060 12GB
UD-IQ4_XS
llama.cpp
8,19289.9 tokens/s
Qwen4 35B (3B active) Uncensored
M5 32GB
AD-IQ3_S
llama.cpp
Not reported31.0 tokens/s

Speed by hardware on Qwen4 35B · 3B active at 4-bit

The size and quant level the most devices have plain runs of: one device, one request, no speculative decoding, and the whole model in the device's memory. Every speed in this table is the same model. Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.

HardwareGen t/sPP t/sRuns
NVIDIA RTX 5090512.9-1
NVIDIA RTX A5000104.2-1
AMD Radeon AI PRO R9700 32GB70.0-1
AMD Strix Halo 128GB61.62861.52 runs3
M1 Ultra 64GB40.0685.01 run1
Intel Arc Pro B70-2143.01 run0

With part of the model in system RAM: Qwen4 35B · 3B active at 4-bit

Runs on one device that kept some of the model in system RAM or streamed it from an SSD. The CPU and its memory set the pace as much as the card, so these figures are kept apart from runs with the whole model on the device and vary more from machine to machine.

HardwareGen t/sPP t/sRuns
NVIDIA RTX Pro 4500 Blackwell 32GB159.7-1
NVIDIA RTX 5060 Ti 16GB139.91360.01 run1
NVIDIA RTX 3090127.3-2
NVIDIA V100 32GB34.0-1
M4 Max 36GB29.4-1

Frequently asked

What hardware do people run Qwen4 on?

The hardware Qwen4 35B · 3B active at 4-bit is most run on: AMD Strix Halo 128GB (61.6 t/s median, 3 runs); AMD Radeon AI PRO R9700 32GB (70.0 t/s median, one run). Medians of plain runs, as of 5 Dec 2026.

Which inference engines do people use for Qwen4?

Reports of Qwen4 name llama.cpp (28 reports), Strata (11 reports), Gufo (2 reports), NInfer (2 reports), as of 5 Dec 2026.