Z.ai: GLM 5.2
Z.ai (Zhipu) (China) · Language (text)
We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context.
Which way is for me?
🌐 Online, right now
- Open the model's page on OpenRouter: openrouter.ai/z-ai/glm-5.2
- Sign in (with Google or email) and press Chat; you can talk to the model right there.
- Cost: a short exchange (about a page in and a page out) costs about $0.0034, so $1 buys about 293 messages.
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
unsloth/GLM-5.2-GGUF - From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
- Press Download, then Load, and start talking in Chat.
Or, if you use Ollama, this one command is enough:
ollama run hf.co/unsloth/GLM-5.2-GGUF🧑💻 For developers
vLLM
vllm serve zai-org/GLM-5.2Transformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="zai-org/GLM-5.2")llama.cpp
llama-server -hf unsloth/GLM-5.2-GGUFWords used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context.
Benchmarks (from the model card)
| Benchmark | GLM-5.2 | GLM-5.1 | Qwen3.7-Max | MiniMax M3 | DeepSeek-V4-Pro | Claude Opus 4.8 |
|---|---|---|---|---|---|---|
| Reasoning | ||||||
| HLE | 40.5 | 31 | 41.4 | 37 | 37.7 | 49.8 |
| HLE (w/ Tools) | 54.7 | 52.3 | 53.5 | - | 48.2 | 57.9 |
| CritPt | 20.9 | 4.6 | 13.4 | 3.7 | 12.9 | 20.9 |
| AIME 2026 | 99.2 | 95.3 | 97 | - | 94.6 | 95.7 |
| HMMT Nov. 2025 | 94.4 | 94 | 95 | 84.4 | 94.4 | 96.5 |
| HMMT Feb. 2026 | 92.5 | 82.6 | 97.1 | 84.4 | 95.2 | 96.7 |
| IMOAnswerBench | 91.0 | 83.8 | 90 | - | 89.8 | 83.5 |
Source: Hugging Face · zai-org/GLM-5.2 · License: mit
Hardware and running it
Cloud and local Available through an API, and its weights are published to run on your own hardware.
- Minimum Q4
- 506.2 GB
- Recommended Q8
- 904 GB
- Full quality FP16
- 1808 GB
On common hardware
| RTX 4060 · 8 GB | Won't run | |
|---|---|---|
| RTX 4090 · 24 GB | Won't run | |
| RTX 5090 · 32 GB | Won't run | |
| Mac M4 Max · 128 GB | Won't run | |
| H100 · 80 GB | Won't run | |
| 8× H100 · 640 GB | Usable | Q4 · ≈ 180–300 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: