Z.ai
GLM-5.1 (754B parameters) requires approximately 482.0 GB of VRAM with Q4_K_M quantization. As a Mixture of Experts model with 40B active parameters, it uses less memory than its total parameter count suggests. For the best balance of quality and speed, we recommend hardware with at least 555 GB of VRAM.
Get started
— copy & paste to run locallyCopy-paste commands to run GLM-5.1 on your machine.
Run
docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \
--hf-repo "zai-org/GLM-5.1" \
--hf-file "GLM-5.1-Q4_K_M.gguf" \
-c 4096 -ngl 99Quick specs
About this model
Related models
Quantization options
No hardware detected — fit column shows raw VRAM estimates
| Quant | Bits | VRAM | Quality | Fit |
|---|---|---|---|---|
Q2_K | 2 | 294.1 GB | Low | — |
Q3_K_S | 3 | 369.5 GB | Low | — |
NVFP4 | 4 | 422.2 GB | Medium | — |
Q4_K_M | 4 | 459.9 GB | Medium | — |
Q5_K_M | 5 | 542.9 GB | High | — |
Q6_K | 6 | 618.3 GB | High | — |
Q8_0 | 8 | 806.8 GB | Very High | — |
F16 | 16 | 1545.7 GB | Maximum | — |
Quality benchmarks
Reasoning
Source: official · 2026-04-03
Hardware compatibility
Computing compatibility...
Memory breakdown
Frequently asked questions
GLM-5.1 (754B parameters) requires approximately 482.0 GB of VRAM with Q4_K_M quantization. Lower quantizations like Q4_K_M use less memory but may reduce quality.
The recommended quantization for GLM-5.1 is Q4_K_M, which offers the best balance between model quality and memory efficiency. Higher quantizations preserve more quality but require more VRAM.
Yes, GLM-5.1 is well-suited for chat as well as coding, reasoning. It was designed with these use cases in mind.
See also