llamaperf

Ling mini-2.0 / Q4_K_M / b10794 Metal / native PP512 TG128 / depth0

on M4 Max 128GB · llama.cpp

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

Summary

User reports Ling-mini-2.0 at 238.6 t/s generation and 4177.1 t/s prompt processing on an M4 Max 128GB. Setup is llama.cpp with Q4_K_M, flash attention and F16 K/V, single sequence, 99 GPU layers requested. Figures are depth-0 microbenchmarks: PP512 and TG128 separately, not an end-to-end run. At prefix depth 4096 generation falls to 213.24 t/s and at 16384 to 172.28 t/s.

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.

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 →