← AI Hashrate

Can MacBook Pro M4 Max 128GB run GLM-5.1?

Apple · 128 GB LPDDR5X · 546 GB/s bandwidth · Z.ai · 753.9B (active 40B) · MoE · model ctx up to 198K

No — GLM-5.1 at Q4 needs ≈ 419.65 GB even at 4K context, beyond the MacBook Pro M4 Max 128GB's 128 GB LPDDR5X. It would only run with heavy CPU/disk offload. Decode at Q4/8K: ≈ 2.3 tok/s (estimated, batch 1). FP16 needs ≈ 1516.8 GB — does not fit on this card. Estimates come from memory-bandwidth math; rows tagged measured override estimates. Relative ranking is more reliable than absolute tok/s. Methodology.

Fit & speed by quant and context

QuantContextVRAM neededFits?tok/s (decode)
Q44K419.65 GBNo2.3 est.
Q48K default423.65 GBNo2.3 est.
Q432K447.65 GBNo2.0 est.
FP164K1512.8 GBNo
FP168K default1516.8 GBNo
FP1632K1540.8 GBNo

Fits = weights + KV(ctx) + 1 GB overhead ≤ 95% of VRAM. Measured anchors are context-agnostic; the fit verdict is recomputed per context. A missing tok/s means the model is far beyond this card (offload-only territory).

VRAM breakdown at 8K context

QuantWeightsKV cacheOverheadTotal neededMacBook Pro M4 Max 128GB VRAM
Q4414.65 GB8.0 GB1 GB423.65 GB128 GB
FP161507.8 GB8.0 GB1 GB1516.8 GB128 GB

Other GPUs that run GLM-5.1

No catalog GPU fully fits GLM-5.1 at Q4/8K — see the model page for offload estimates.

All GPUs for GLM-5.1 →

Other models for the MacBook Pro M4 Max 128GB

All models on the MacBook Pro M4 Max 128GB →