Z.ai·GLM 5·GlmMoeDsaForCausalLM

GLM 5.2 — Hardware Requirements & GPU Compatibility

Chat

GLM 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.

531.9K downloads 4.2K likes 1.9M quant downloads1049K context

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

zai-org/GLM-5.2

How Much VRAM Does GLM 5.2 Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_K3.40324.4 GB
Q3_K_M3.90371.5 GB
Q4_K_M4.80456.2 GB
Q5_K_M5.70541.0 GB
Q6_K6.60625.7 GB
Q8_08.00757.6 GB

Which GPUs Can Run GLM 5.2?

Q4_K_M · 456.2 GB

GLM 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 GB

2 devices with unified memory can run GLM 5.2, including NVIDIA DGX H100.

Decent

Enough memory, may be tight

Where to Download GLM 5.2

Community quantizations of this model — GGUF for llama.cpp, Ollama, and LM Studio, plus AWQ/MLX variants where available.

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

456.2 GB
2462.3 GB

Learn more about VRAM estimation →

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_XXS
211.4 GB
IQ3_S
324.4 GB
IQ4_NL
428.0 GB
Q4_K_M
456.2 GB
Q5_K_M
541.0 GB
BF16
1510.9 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

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.