GLM 5.2 — Hardware Requirements & GPU Compatibility
ChatGLM 5.2 is a 753.3B-parameter open language model from Z.ai in the GLM 5 family. It supports a context window of up to 1,048,576 tokens. At Q4_K_M it needs about 456.22 GB of VRAM — see which GPUs and Macs can run it below.
Specifications
- Publisher
- Z.ai
- Family
- GLM 5
- Parameters
- 753.3B
- Architecture
- GlmMoeDsaForCausalLM
- Context Length
- 1,048,576 tokens
- Vocabulary Size
- 154,880
- Release Date
- 2026-06-16
- License
- MIT
Get Started
HuggingFace
How Much VRAM Does GLM 5.2 Need?
Select a quantization to see compatible GPUs below.
| Quantization | Bits | VRAM | + Context | File Size | Quality |
|---|---|---|---|---|---|
| Q2_K | 3.40 | 324.4 GB | 2330.5 GB | 320.17 GB | 2-bit quantization with K-quant improvements |
| Q3_K_M | 3.90 | 371.5 GB | 2377.6 GB | 367.25 GB | 3-bit medium quantization |
| Q4_K_M | 4.80 | 456.2 GB | 2462.3 GB | 452.00 GB | 4-bit medium quantization — most popular sweet spot |
| Q5_K_M | 5.70 | 541.0 GB | 2547.1 GB | 536.75 GB | 5-bit medium quantization — good quality/size tradeoff |
| Q6_K | 6.60 | 625.7 GB | 2631.8 GB | 621.50 GB | 6-bit quantization, very good quality |
| Q8_0 | 8.00 | 757.6 GB | 2763.7 GB | 753.33 GB | 8-bit quantization, near-lossless |
Which GPUs Can Run GLM 5.2?
Q4_K_M · 456.2 GBGLM 5.2 (Q4_K_M) requires 456.2 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 594+ GB is recommended. Using the full 1049K context window can add up to 2006.1 GB, bringing total usage to 2462.3 GB. No single GPU has enough memory — multi-GPU or cluster setups are needed.
Which Devices Can Run GLM 5.2?
Q4_K_M · 456.2 GB2 devices with unified memory can run GLM 5.2, including NVIDIA DGX H100.
Decent
— Enough memory, may be tightWhere to Download GLM 5.2
Community quantizations of this model — GGUF for llama.cpp, Ollama, and LM Studio, plus AWQ/MLX variants where available.
Benchmarks
Benchmark details →Related Models
Frequently Asked Questions
- How much VRAM does GLM 5.2 need?
GLM 5.2 requires 456.2 GB of VRAM at Q4_K_M, or 1510.9 GB at BF16. Full 1049K context adds up to 2006.1 GB (2462.3 GB total).
VRAM = Weights + KV Cache + Overhead
Weights = 753.3B × 4.8 bits ÷ 8 = 452 GB
KV Cache + Overhead ≈ 4.2 GB (at 2K context + ~0.3 GB framework)
KV Cache + Overhead ≈ 2010.3 GB (at full 1049K context)
VRAM usage by quantization
Q4_K_M456.2 GBQ4_K_M + full context2462.3 GB- Can NVIDIA GeForce RTX 5090 run GLM 5.2?
No — GLM 5.2 requires at least 211.4 GB at IQ2_XXS, which exceeds the NVIDIA GeForce RTX 5090's 32 GB of VRAM.
- What's the best quantization for GLM 5.2?
For GLM 5.2, Q4_K_M (456.2 GB) offers the best balance of quality and VRAM usage. Q5_K_S (522.1 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 211.4 GB.
VRAM requirement by quantization
IQ2_XXS211.4 GBIQ3_S324.4 GBIQ4_NL428.0 GBQ4_K_M ★456.2 GBQ5_K_M541.0 GBBF161510.9 GB★ Recommended — best balance of quality and VRAM usage.
- Can I run GLM 5.2 on a Mac?
GLM 5.2 requires at least 211.4 GB at IQ2_XXS, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.
- Can I run GLM 5.2 locally?
Yes — GLM 5.2 can run locally on consumer hardware. At Q4_K_M quantization it needs 456.2 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.
- What's the download size of GLM 5.2?
At Q4_K_M, the download is about 452.00 GB. The full-precision BF16 version is 1506.66 GB. The smallest option (IQ2_XXS) is 207.17 GB.
- Which GPUs can run GLM 5.2?
No single consumer GPU has enough VRAM to run GLM 5.2 at Q4_K_M (456.2 GB). Multi-GPU or professional hardware is required.
- Which devices can run GLM 5.2?
3 devices with unified memory can run GLM 5.2 at Q4_K_M (456.2 GB), including Mac Studio (M3 Ultra, 512GB), NVIDIA DGX A100 640GB, NVIDIA DGX H100. Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.