llamaperf

Qwen3.5 4B

on M4 16GB · llama.cpp

Apple hardware
Oct 13, 2026
Throughput
28.3 t/s gen · 352.4 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
Q4_K_M (GGUF)
Flash Attention
on
MTP (Multi-Token Prediction)
off
System RAM
16 GB

Summary

User reports Qwen3.5-4B at 28.3 t/s generation and 352.4 t/s prompt processing on a Mac mini M4 with 16 GB unified memory. Setup is llama.cpp 0.6.0 build 11429 with Metal, Q4_K_M GGUF, flash attention enabled, run via llama-bench with -p 512 -n 64 -d 0,4096 -r 3. The two figures are separate microbenchmarks, not one 512-input/64-output request; generation context depth is unknown, and PP512 after 4096 existing tokens is 321.5 t/s.

Download this model

Qwen3.5 4B on Hugging Face in the quant this report ran, Q4_K_M. 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 16GB

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