llamaperf

Qwen 2.5 Coder 7B

on M5 Max 48GB · llama.cpp

Apple hardware
Oct 13, 2026
Throughput
106.0 t/s gen · 2901.3 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
System RAM
48 GB

Summary

User reports Qwen 2.5 Coder 7B at 106 t/s generation on an M5 Max 48GB. Setup is llama.cpp build 11146 with Metal, Q4_K_M weights, n_gpu_layers=99 and flash_attention=true. The figures are separate llama-bench microtests, tg128 and pp512, not one 512-input/128-output request or server concurrency throughput; context length is unspecified.

Download this model

Qwen 2.5 Coder 7B 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.

Every Qwen 2.5 Coder 7B file and its size →

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.

Qwen 2.5 Coder 7B at 4-bit by hardware

Bars are medians on one scale, 0 to 121.8 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 48GB

Bars are medians on one scale, 0 to 570.6 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 48GB →Every Qwen 2.5 Coder report →Estimate Qwen 2.5 Coder on this card →