llamaperf

M3 Max 128GB vs M5 Max 128GB for local LLMs

6 reports on the M3 Max 128GB and 32 on the M5 Max 128GB

Which is faster for local LLMs?

On Qwen3.6 27B at 8-bit, the M3 Max 128GB has generation speed not reported; prompt processing 160.0 tokens/s (one run); the M5 Max 128GB has 17.2 generation tokens/s (one run); prompt processing 433.0 tokens/s (2 runs). Memory bandwidth, which caps how fast a card can write, is 50% higher on the M5 Max 128GB (410 GB/s on the M3 Max 128GB, 614 on the M5 Max 128GB).

M3 Max 128GB
Memory
128GB unified
Memory bandwidth
410 GB/s
FP16 compute
14.2 TFLOPS
Reports
6
M5 Max 128GB
Memory
128GB unified
Memory bandwidth
614 GB/s
FP16 compute
not on record
Reports
32

Measured on both

Generation and prompt processing speeds from plain runs (one device, one request, no speculative decoding, the whole model in the device's memory) of the same model size at the same bit class. Each side shows the engines and reported context behind its median. Context can mean a configured window or prompt depth, so these are community comparisons with differing settings. How to read these

ModelM3 Max 128GBM5 Max 128GB
Qwen3.6 27B8-bit-0 runsPP 160.0 (one run)MLX290K context17.2one runPP 433.0 (2 runs)MLX125K to 290K context

Estimated by the calculator

The quant the calculator recommends for each card and its estimated speed at a 32,768-token context with 32 GB of system RAM, from memory bandwidth and the model's shape. Where a model was also measured above, the measurement wins.

ModelM3 Max 128GBM5 Max 128GB
Qwen3.6 27B5.3 t/sFP169.0 t/sFP16
Qwen3.8 27B5.3 t/sFP169.0 t/sFP16
Qwen3.8 125B · 6B active24.3 t/sQ5_K_S41.2 t/sQ5_K_S
DeepSeek V4 Flash 284B · 13B active38.2 t/sQ2_K64.8 t/sQ2_K
Qwen3.6 35B · 3B active16.8 t/sFP1628.5 t/sFP16
Gemma 4 26B · 4B active14.4 t/sFP1624.4 t/sFP16
GLM-5.3 320B · 18B activedoesn't fit at these settingsdoesn't fit at these settings

Change the context, RAM or model in the calculator: M3 Max 128GB · M5 Max 128GB

Every report on each card, with its source: M3 Max 128GB · M5 Max 128GB

More comparisons