Apple · 32 GB LPDDR5X · 120 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 Mac mini M4 32GB's 32 GB LPDDR5X. It would only run with heavy CPU/disk offload. 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
Quant
Context
VRAM needed
Fits?
tok/s (decode)
Q4
4K
419.65 GB
No
—
Q4
8K default
423.65 GB
No
—
Q4
32K
447.65 GB
No
—
FP16
4K
1512.8 GB
No
—
FP16
8K default
1516.8 GB
No
—
FP16
32K
1540.8 GB
No
—
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
Quant
Weights
KV cache
Overhead
Total needed
Mac mini M4 32GB VRAM
Q4
414.65 GB
8.0 GB
1 GB
423.65 GB
32 GB
FP16
1507.8 GB
8.0 GB
1 GB
1516.8 GB
32 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.