Pure C++. Runs on anything with a CPU or a modest GPU. Community packagers (bartowski, mradermacher) quantize most popular models within days of release. GGUF 8-bit. Near-reference quality.
What llama.cpp expects you to type to serve GLM-4.5 at Q8_0. Adjust the paths for your filesystem; the structure holds.
# Pull a GGUF quant from bartowski's mirror huggingface-cli download bartowski/GLM-4.5-GGUF \ --include "*Q8_0*" # Serve on port 8080 ./llama-server -m glm-4-5.Q8_0.gguf -c 8192 --port 8080
Q8_0 — GGUF 8-bit. Near-reference quality.
Expect to need around 381 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 355B params load into memory, but only about 32B are active per generated token. That means load VRAM is large but compute scales with the active count — tok/s on a serving stack like vLLM reflects the smaller number. Fits on 8× H100 — 640 GB — Full HGX H100 node, or 8× H200.