Z.aiZ.ai

GLM-5.2

Frontier
231.2KDownloads3.5KLikesJun 2026Veröffentlicht200K TokenKontextMITLizenz93 HerausragendQualität

GLM-5.2 (753.2999877929688B parameters) requires approximately 481.6 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 554 GB of VRAM.

Loslegen

— kopieren & einfügen, um lokal auszuführen

Copy-paste commands to run GLM-5.2 on your machine.

Run

docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \ --hf-repo "zai-org/GLM-5.2" \ --hf-file "GLM-5.2-Q4_K_M.gguf" \ -c 4096 -ngl 99

Quick specs

Parameters753.3B (40B active)
Architecturemoe (MoE)
Context200K tokens
Modalitytext
Min RAM293.8 GB
Rec. RAM459.5 GB (Q4_K_M)
LicenseMIT
FamilyGLM
Code Chat Reasoning

About this model

GLM-5.2 is Z.ai's flagship MoE model for long-horizon agentic tasks, with a native 1M-token context, flexible coding effort levels, and an improved DeepSeek Sparse Attention (DSA) architecture over GLM-5.1. 753B total parameters with ~40B activated per token (256 routed experts, 8 active, 1 shared).

  • Native 1M-token context for repository-scale and long-horizon agentic work.
  • Improved DSA MoE architecture (256 routed experts, 8 active per token, 1 shared) with MLA-style latent attention for reduced KV cost.
  • Flexible coding effort levels for balancing latency against solution quality.
  • Successor to GLM-5.1, tuned for sustained multi-round tool use.

Verwandte Modelle

Deine Hardware

Erkennung...

Quantisierungsoptionen

VRAM-Schätzungen nach Quantisierungsstufe

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
293.8 GB
Low
Q3_K_S
3
369.1 GB
Low
NVFP4
4
421.8 GB
Medium
Q4_K_M
4
459.5 GB
Medium
Q5_K_M
5
542.4 GB
High
Q6_K
6
617.7 GB
High
Q8_0
8
806.0 GB
Very High
F16
16
1544.3 GB
Maximum

Hardware-Kompatibilität

Eignungsschätzungen für alle Hardware

Rechner öffnen

Computing compatibility...

Speicheraufschlüsselung

Reference: RTX 2060 6GB

Weights459.5 GB
KV Cache19.0 GB
Runtime2.4 GB
Headroom0.6 GB

Häufig gestellte Fragen

FAQ — GLM-5.2

Siehe auch