GLM-5.2 harness
Built from its sibling, until it has reports of its own. A free set of files for your coding agent, written against what people report GLM-5.2 getting wrong. Users’ reports, not our measurements; not benchmarked.
Why it is built this way
We found no agent reports of its own. This harness follows GLM-5.3. The release before, same architecture.
How to serve it
vLLM
Look for an official recipe here first
Published builds of GLM-5.2
zai-org/GLM-5.2-FP8
FP8: vllm serve zai-org/GLM-5.2-FP8 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
nvidia/GLM-5.2-NVFP4
NVFP4: vllm serve nvidia/GLM-5.2-NVFP4 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
amd/GLM-5.2-MXFP4
MXFP4: vllm serve amd/GLM-5.2-MXFP4 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
unsloth/GLM-5.2-GGUF
GGUF: llama-server -hf unsloth/GLM-5.2-GGUF -a GLM-5.2 --port 8000 --jinja -c 200000 --reasoning-budget 16384
RedHatAI/GLM-5.2-FP8
FP8: vllm serve RedHatAI/GLM-5.2-FP8 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
DevQuasar/zai-org.GLM-5.2-GGUF
GGUF: llama-server -hf DevQuasar/zai-org.GLM-5.2-GGUF -a GLM-5.2 --port 8000 --jinja -c 200000 --reasoning-budget 16384
RedHatAI/GLM-5.2-NVFP4-FP8
NVFP4: vllm serve RedHatAI/GLM-5.2-NVFP4-FP8 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
mlx-community/GLM-5.2-4bit
MLX: mlx_lm.server --model mlx-community/GLM-5.2-4bit --port 8000
inferencerlabs/GLM-5.2-MLX-Q4i
MLX: mlx_lm.server --model inferencerlabs/GLM-5.2-MLX-Q4i --port 8000
vultr/GLM-5.2-GGUF
GGUF: llama-server -hf vultr/GLM-5.2-GGUF -a GLM-5.2 --port 8000 --jinja -c 200000 --reasoning-budget 16384
amd/GLM-5.2-Quark-MXFP4-AttnFP8
MXFP4: vllm serve amd/GLM-5.2-Quark-MXFP4-AttnFP8 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
unsloth/GLM-5.2-FP8
FP8: vllm serve unsloth/GLM-5.2-FP8 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
RedHatAI/GLM-5.2-NVFP4
NVFP4: vllm serve RedHatAI/GLM-5.2-NVFP4 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
cyankiwi/GLM-5.2-AWQ-INT4
AWQ: vllm serve cyankiwi/GLM-5.2-AWQ-INT4 --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
intel-ai/GLM-5.2-MXFP4-CT-AutoRound
MXFP4: vllm serve intel-ai/GLM-5.2-MXFP4-CT-AutoRound --served-model-name GLM-5.2 --port 8000 --max-model-len 200000
What it gets wrong, and what this does about it
No thinking switch
enable_thinking=false leaves visible reasoning in the answer.
Crashes on JSON-string arguments
Replayed tool calls with string arguments raise an error in the template.
Tune it
Connect a GitHub repository and Loreto writes your own history into this harness for $5, once.