๐ Z.ai
Z.ai
GLM-5.1
Frontier96.4KDownloads1.8KLikesApr 2026Released200K tokensContextMITLicense92 ExceptionalQuality
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
Parameters754B (40B active)
Architecturemoe (MoE)
Context200K tokens
Modalitytext
Min RAM294.1 GB
Rec. RAM459.9 GB (Q4_K_M)
LicenseMIT
FamilyGLM
โ Codeโ Chatโ Reasoning
About this model
- โขAgentic engineering focus: leads GLM-5 by a wide margin on NL2Repo (repo generation) and Terminal-Bench 2.0 (real-world terminal tasks).
- โขState-of-the-art SWE-Bench Pro performance (58.4), surpassing GLM-5, Claude Opus 4.6, and GPT-5.4.
- โขBuilt to stay effective over much longer horizons โ breaks complex problems down, runs experiments, reads results, and revises strategy through repeated iteration.
- โขUses DeepSeek Sparse Attention (DSA) MoE architecture (256 routed experts, 8 active per token, 1 shared) for reduced deployment cost.
Related models
Your hardware
Detecting...
Quantization options
VRAM estimates by quant level
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
GLM-5.1 benchmark scores
Reasoning
MMLU-Proโ
GPQA Diamond86.2%
MATH-500โ
ARC Challengeโ
Source: official ยท 2026-04-03
Hardware compatibility
Fit estimates across all hardware
Computing compatibility...
Memory breakdown
Reference: RTX 2060 6GB
Weights459.9 GB
KV Cache19.0 GB
Runtime2.4 GB
Headroom0.6 GB
Frequently asked questions
FAQ โ GLM-5.1
See also
