GLM-5 / GLM-5.1 — Local AI Model by Zhipu AI (Z.ai)
作者: Jakub Rusinowski · 最后更新: 2026年5月1日
Zhipu AI's (Z.ai) fifth-generation model series, released under MIT license for maximum flexibility. GLM-5 and GLM-5.1 excel at agentic workflows, tool calling, and long-context reasoning. The MIT license makes them one of the most commercially permissive frontier-class models available, with zero restrictions on commercial use or distribution. The line spans a 9B/32B consumer pair, a 72B GLM-5.1 workstation tier, and a 744B data-center flagship (40B active, SWE-bench Verified leader) trained entirely on Huawei Ascend hardware.
Licence
| Licence | What it permits | Applies to |
|---|---|---|
MIT | Commercial use permitted Commercial use permitted. No usage restrictions beyond attribution. | GLM-5 9B, GLM-5 32B, GLM-5.1 72B, GLM-5 744B |
Hardware Requirements
| GLM-5 9B | Min 6 GB VRAM · Q4_K_M · 128,000 ctx · ollama run hf.co/THUDM/GLM-5-9B-Chat-Q4_K_M |
| GLM-5 32B | Min 20 GB VRAM · Q4_K_M · 128,000 ctx · ollama run hf.co/THUDM/GLM-5-32B-Chat-Q4_K_M |
| GLM-5.1 72B | Min 44 GB VRAM · Q4_K_M · 128,000 ctx · ollama run hf.co/THUDM/GLM-5.1-72B-Chat-Q4_K_M |
| GLM-5 744B | Min 450 GB VRAM · Q4_K_M · 200,000 ctx · |
Recommended GPU
The cheapest GPU that runs GLM-5 / GLM-5.1 locally (min 6 GB VRAM) is the Intel Arc B570 (10 GB).
How to Run Locally
Install Ollama then run: ollama run hf.co/THUDM/GLM-5-9B-Chat-Q4_K_M
Minimum VRAM: 6 GB. For best results use Q4_K_M quantization.
GLM-5 / GLM-5.1 — Frequently Asked Questions
How much VRAM does GLM-5 / GLM-5.1 need?
GLM-5 / GLM-5.1 needs about 6 GB VRAM at Q4_K_M quantization for its smallest variant. Variants: GLM-5 9B (6 GB, Q4_K_M); GLM-5 32B (20 GB, Q4_K_M); GLM-5.1 72B (44 GB, Q4_K_M); GLM-5 744B (450 GB, Q4_K_M). On Apple Silicon, unified memory counts toward this requirement.
Can I run GLM-5 / GLM-5.1 on an RTX 4090 (24 GB)?
Yes — GLM-5 / GLM-5.1 runs on an RTX 4090 (24 GB) and other 24 GB cards such as the RTX 3090. Smaller variants also fit comfortably on 8–16 GB GPUs at Q4_K_M.
What quantization should I use for GLM-5 / GLM-5.1?
Q4_K_M is the best balance of quality and VRAM for GLM-5 / GLM-5.1 in most cases. Choose Q8_0 for near-lossless quality if you have spare VRAM, or smaller quants (Q3/Q2) only when memory is tight.
How do I run GLM-5 / GLM-5.1 with Ollama?
Install Ollama, then run: ollama run hf.co/THUDM/GLM-5-9B-Chat-Q4_K_M. This downloads GLM-5 / GLM-5.1 and starts a local, OpenAI-compatible endpoint — no internet connection is needed after the initial download.
Can I Run GLM-5 / GLM-5.1 on My GPU?
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 5090
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 5070
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 5060 Ti 8GB
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 5060
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 4090
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 4070 Ti
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 4070 Super
- GLM-5 / GLM-5.1 on NVIDIA GeForce RTX 4070