How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf muzzy/GLM-5.2-GGUF:Q2_K
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "muzzy/GLM-5.2-GGUF:Q2_K"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

UPDATE 07/26/2026

These quants were made against wiki text raw rather than ubergarm's dataset. I am in the process of requanting with GGML_CUDA_NO_PINNED=1 ./build/bin/llama-imatrix -m /rulers/GLM5.2-GGUF/orig/GLM5.2-chris-00001-of-00033.gguf -f /rulers/ubergarm-imatrix-calibration-corpus-v02.txt -o /rulers/GLM5.2-imatrix-ubergarm.gguf --fit --dsa

This will take me days.

'ik_llama.cpp' imatrix quants of zai-org/GLM-5.2

These quants were made with the same scripts that Ubergarm used for his GLM5.1 quants. Many thanks to him!

Quant Perplexity against wiki.text.raw
IQ1 Final estimate: PPL over 565 chunks for n_ctx=512 = 4.4567 +/- 0.02620
IQ2 KS Final estimate: PPL over 565 chunks for n_ctx=512 = 3.7897 +/- 0.02148
IQ2 KL Final estimate: PPL over 565 chunks for n_ctx=512 = 3.1085 +/- 0.01690
IQ3 Final estimate: PPL over 565 chunks for n_ctx=512 = 2.8533 +/- 0.01529
IQ4 Final estimate: PPL over 565 chunks for n_ctx=512 = 2.7357 +/- 0.01445
Downloads last month
3,851
GGUF
Model size
753B params
Architecture
glm-dsa
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for muzzy/GLM-5.2-GGUF

Base model

zai-org/GLM-5.2
Quantized
(120)
this model