llamaperf

Qwen 2.5 Coder 7B

on M5 Max 48GB · MLX

Apple hardware
Oct 13, 2026
Throughput
121.8 t/s gen · 3362.9 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
4-bit (MLX)
System RAM
48 GB

Summary

User reports Qwen 2.5 Coder 7B at 121.8 t/s generation and 3362.9 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights, batch size 1, unquantized KV cache and no speculative decoding, on one Mac Studio with 18 CPU and 40 GPU cores. The headline uses pp512 and tg128, not a best-of sweep; the source also records tg256 at 122.5 t/s and pp128 at 2139.32 t/s.

Download this model

Qwen 2.5 Coder 7B on Hugging Face in the quant this report ran, 4bit.

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 →