Z.ai: GLM 5
Z.ai (Zhipu) (China) · Language (text)
We are launching GLM-5, targeting complex systems engineering and long-horizon agentic tasks. Scaling is still one of the most important ways to improve the intelligence efficiency of Artificial General Intelligence (AGI). Compared to GLM-4.5, GLM-5 scales from 355B parameters (32B active) to 744B parameters (40B active), and increases pre-training data from 23T to 28.5T tokens.
Which way is for me?
🌐 Online, right now
- Open the model's page on OpenRouter: openrouter.ai/z-ai/glm-5
- 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.0021, so $1 buys about 476 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-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-GGUF🧑💻 For developers
vLLM
vllm serve zai-org/GLM-5Transformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="zai-org/GLM-5")llama.cpp
llama-server -hf unsloth/GLM-5-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 are launching GLM-5, targeting complex systems engineering and long-horizon agentic tasks. Scaling is still one of the most important ways to improve the intelligence efficiency of Artificial General Intelligence (AGI). Compared to GLM-4.5, GLM-5 scales from 355B parameters (32B active) to 744B parameters (40B active), and increases pre-training data from 23T to 28.5T tokens.
Benchmarks (from the model card)
| GLM-5 | GLM-4.7 | DeepSeek-V3.2 | Kimi K2.5 | Claude Opus 4.5 | Gemini 3 Pro | |
|---|---|---|---|---|---|---|
| HLE | 30.5 | 24.8 | 25.1 | 31.5 | 28.4 | 37.2 |
| HLE (w/ Tools) | 50.4 | 42.8 | 40.8 | 51.8 | 43.4 | 45.8 |
| AIME 2026 I | 92.7 | 92.9 | 92.7 | 92.5 | 93.3 | 90.6 |
| HMMT Nov. 2025 | 96.9 | 93.5 | 90.2 | 91.1 | 91.7 | 93.0 |
| IMOAnswerBench | 82.5 | 82.0 | 78.3 | 81.8 | 78.5 | 83.3 |
| GPQA-Diamond | 86.0 | 85.7 | 82.4 | 87.6 | 87.0 | 91.9 |
| SWE-bench Verified | 77.8 | 73.8 | 73.1 | 76.8 | 80.9 | 76.2 |
| SWE-bench Multilingual | 73.3 | 66.7 | 70.2 | 73.0 | 77.5 | 65.0 |
Source: Hugging Face · zai-org/GLM-5 · 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.6 GB
- Recommended Q8
- 904.6 GB
- Full quality FP16
- 1809.3 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: