No — not on this device

GLM-5.2 744B-A40B at Q4_K_M needs 424.7 GB against 18.0 GB usable, and the shortfall of 406.7 GB is more than 32 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.

Hardware requirements What hardware do I need to run GLM-5.2 744B-A40B? →

No single GPU or Mac in the catalogue holds it at Q4_K_M — the page says what comes closest. Minimum, recommended, high-quality and long-context tiers, with all 114 devices checked at every quantisation.

The VRAM budget

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

Quantisation ladder

QuantWeightsTotal @ 8KMax contextTok/sQualityFit
Q8_0 745.1 GB 746.4 GB — ~1.8 −0.1% ppl 728.4 GB over
Q6_K 575.1 GB 576.3 GB — ~2.3 −0.4% ppl 558.3 GB over
Q5_K_M 497.0 GB 498.3 GB — ~2.7 −0.8% ppl 480.3 GB over
Q4_K_M 423.4 GB 424.7 GB — ~3.2 −1.9% ppl 406.7 GB over
Q3_K_M 342.8 GB 344.0 GB — ~3.9 −5.4% ppl 326.0 GB over
Q2_K 293.7 GB 294.9 GB — ~4.6 −15% ppl 276.9 GB over

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 18.0 GB of 24 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

Related models on an M4 Pro · 24 GB

ModelTotalTok/s est.
GLM-5.3 744B-A40B
753B MoE · same family
Q4_K_M · 424.7 GB — Won't fit
GLM-5.3-Flash 320B-A18B
321B MoE · same family
Q4_K_M · 181.2 GB — Won't fit
GLM-4.7-Flash 30B-A3B
31.2B MoE · same family
Q4_K_M · 18.6 GB — Won't fit
DeepSeek-R1 671B
671B MoE · similar size
Q4_K_M · 378.4 GB — Won't fit
Kimi K2.6 1T-A32B
1027B MoE · similar size
Q4_K_M · 578.6 GB — Won't fit
DeepSeek V4.1 Flash 552B-A16B
552B MoE · similar size
Q4_K_M · 311.0 GB — Won't fit
Qwen3.5 397B-A17B
403B MoE · similar size
Q4_K_M · 227.4 GB — Won't fit

Every model against the M4 Pro · 24 GB →

GLM-5.2 744B-A40B on other hardware

DeviceTotalTok/s est.
GeForce RTX 4060 Laptop
7.0 GB usable · 256 GB/s
424.7 GB — Won't fit
GeForce RTX 3060 12 GB
10.6 GB usable · 360 GB/s
424.7 GB — Won't fit
M4 · 16 GB
10.7 GB usable · 120 GB/s
424.7 GB — Won't fit
GeForce RTX 4090
22.4 GB usable · 1008 GB/s
424.7 GB — Won't fit
Radeon RX 7900 XTX
22.4 GB usable · 960 GB/s
424.7 GB — Won't fit
M3 Max · 64 GB
48.0 GB usable · 400 GB/s
424.7 GB — Won't fit

All 114 devices, by tier →