llamaperf

Qwen4 35B (3B active)

on M5 Max 128GB · oMLX · 8,192 ctx

Tone: mixedApple hardware
Dec 4, 2026
Throughput
149.4 t/s gen · 5793.0 tokens/s prompt processing (prefill)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.
Quant
oQ8e (MLX)
System RAM
128 GB

Use cases

coding

Summary

User benchmarks Qwen4-35B-A3B at a median 149.4 tok/s generation and 5,793 tok/s prefill on an 8K prompt on an M5 Max 128GB, against Qwen3.8-Flash-Next at 114.1 tok/s and 2,183 tok/s. Setup is OMLX with MTP speculation, single user, 8-bit oQ8e weights (57.8 GB on disk) at High thinking; Flash-Next ran 4-bit oQ4e at Medium and Low thinking. Qwen4 is 20-30% faster generating and about 2.5x faster on prefill, with time to first token 0.84 s versus 2.32 s, but scores 88 on MMLU against Flash-Next's 96 at Medium. Energy per token is 0.41 J versus 0.60-0.72 J, though all 30 cells used 92.9 Wh against 76.7-89.4 Wh because High thinking generated about twice as many tokens. Three agent harnesses failed on HumanEval at High thinking.

Compare this run

Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.

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

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.

Models most run on the M5 Max 128GB

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

Everything reported on the M5 Max 128GB →Every Qwen4 report →Estimate Qwen4 on this card →