llamaperf

Qwen3.5 4B

on M4 Max 128GB · llama.cpp

Apple hardware
Oct 13, 2026
Throughput
78.8 t/s gen · 1567.5 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
Q8_0 (GGUF)
KV cache
F16
Flash Attention
on
MTP (Multi-Token Prediction)
off
System RAM
128 GB

Summary

User reports Qwen3.5-4B at 78.8 t/s generation and 1567.5 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with Q8_0 GGUF, flash attention, F16 K/V, 99 GPU layers requested, single sequence, five repetitions. The headline is depth 0; at prefix depth 4096 generation is 76.142 t/s and at 16384 it is 70.660 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Download this model

Qwen3.5 4B on Hugging Face in the quant this report ran, Q8_0. The report doesn't say whose upload it used, so these are the most downloaded ones.

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.

Qwen3.5 4B at 4-bit by hardware

Bars are medians on one scale, 0 to 135.6 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 M4 Max 128GB

Bars are medians on one scale, 0 to 147.5 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 M4 Max 128GB →Every Qwen3.5 report →Estimate Qwen3.5 on this card →