LLMs ·

GLM-5.2 (753B-A40B)

Parameters
753B (40.0B active)
Architecture
Mixture of experts
Max context
1,024K tokens
License
mit
Released
2026-06

How to run it

Ollama

Ollama offers this only as a cloud model (it runs on Ollama’s servers, not your machine). To run it locally, use the GGUF files below.

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

huggingface.co/unsloth/GLM-5.2-GGUF (opens in a new tab)

ollama run hf.co/unsloth/GLM-5.2-GGUF

Original weights · Hugging Face

Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers.

huggingface.co/zai-org/GLM-5.2 (opens in a new tab)

No sign-in needed.

Official repo · GitHub

Reference code, inference scripts and docs from Zhipu AI. The weights themselves download from Hugging Face.

github.com/zai-org/GLM-5 (opens in a new tab)

git clone https://github.com/zai-org/GLM-5

Memory needed

Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.

KV cache: latent (MLA) KV cache.

Quantization Quality Weights Total at 8K context Total at 32K context Download
Q2_K Low 301 GB 303 GB 305 GB GGUF (UD-Q2_K_XL) · folder (opens in a new tab)
Q3_K_M Low 369 GB 370 GB 373 GB GGUF · folder (opens in a new tab)
Q4_K_M Good 460 GB 461 GB 463 GB GGUF · folder (opens in a new tab)
Q5_K_M High 535 GB 536 GB 538 GB GGUF · folder (opens in a new tab)
Q6_K High 618 GB 619 GB 621 GB GGUF · folder (opens in a new tab)
Q8_0 Very high 799 GB 800 GB 802 GB GGUF · folder (opens in a new tab)
F16 Full 1,507 GB 1,508 GB 1,510 GB GGUF · folder (opens in a new tab) Original weights (opens in a new tab)

Best hardware for GLM-5.2 (753B-A40B)

Grade · points Hardware Quant Memory Speed Fit
79 ptsGreat (A) · 79 of 100 points: Model quality 30.3/45, Memory fit 24.0/25, Speed 10.0/15, Memory use 15.0/15 Apple M3 Ultra (512 GB) Q2_K 333 GB / 384 GB 17.8 tok/s Tight fit

Check it on your own hardware

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.