No — not on this device

GLM-5.2 744B-A40B at Q4_K_M needs 424.7 GB against 384.0 GB usable, and the shortfall of 40.7 GB is more than 64 GB of system RAM can cover at a tolerable speed. A smaller sibling or a lower quantisation is the honest answer here.

Does not fit 8K context Q4_K_M · 423.4 GB MIT Released 13 Jun 2026 Not in the Ollama library

The strongest all-round open-weight model of mid-2026 on most public boards. Listed as a ceiling: 512 GB of unified memory at Q4.

What hardware do I need for GLM-5.2 744B-A40B? →

Fits instead: GLM-4.7-Flash 30B-A3B (18.6 GB)

The VRAM budget

weights 423.4 GB
Weights 423.4 GB KV cache @ 8K 0.69 GB Runtime overhead 0.6 GB Over budget 40.7 GB past 384.0 GB

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 745.1 GB 746.4 GB ~5.3 −0.1% ppl 362.4 GB over
Q6_K 575.1 GB 576.3 GB ~6.8 −0.4% ppl 192.3 GB over
Q5_K_M 497.0 GB 498.3 GB ~7.9 −0.8% ppl 114.3 GB over
Q4_K_M 423.4 GB 424.7 GB ~9.3 −1.9% ppl 40.7 GB over
Q3_K_M 342.8 GB 344.0 GB 474K 11 −5.4% ppl Long context
Q2_K 293.7 GB 294.9 GB 1024K 13 −15% ppl Long context

Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. This model uses multi-head latent attention, so its cache is a compressed latent rather than full K and V.

How to run it

terminal
$ pip install mlx-lm
$ mlx_lm.generate --model mlx-community/GLM-5.2-4bit \
    --max-tokens 512 --prompt "Hello"

Apple's own array framework. The fastest path on Apple Silicon. More on MLX.

01Download is 423.4 GB. Keep it on an SSD — a first load off a spinning disk takes minutes.
02macOS caps what the GPU may wire down at about 384.0 GB of 512 GB. Raising it with iogpu.wired_limit_mb is possible, and risky.
03If it falls back to CPU silently, drop the context first, then step down a quantisation.
See all models for this rig Compare with another model