GLM-5.1 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.1 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. An earlier release, same architecture.
How to serve it
vLLM
Look for an official recipe here first
Published builds of GLM-5.1
zai-org/GLM-5.1-FP8
FP8: vllm serve zai-org/GLM-5.1-FP8 --served-model-name GLM-5.1 --port 8000 --max-model-len 200000
unsloth/GLM-5.1-GGUF
GGUF: llama-server -hf unsloth/GLM-5.1-GGUF -a GLM-5.1 --port 8000 --jinja -c 200000 --reasoning-budget 16384
nvidia/GLM-5.1-NVFP4
NVFP4: vllm serve nvidia/GLM-5.1-NVFP4 --served-model-name GLM-5.1 --port 8000 --max-model-len 200000
bartowski/zai-org_GLM-5.1-GGUF
GGUF: llama-server -hf bartowski/zai-org_GLM-5.1-GGUF -a GLM-5.1 --port 8000 --jinja -c 200000 --reasoning-budget 16384
amd/GLM-5.1-MXFP4
MXFP4: vllm serve amd/GLM-5.1-MXFP4 --served-model-name GLM-5.1 --port 8000 --max-model-len 200000
vultr/GLM-5.1-GGUF
GGUF: llama-server -hf vultr/GLM-5.1-GGUF -a GLM-5.1 --port 8000 --jinja -c 200000 --reasoning-budget 16384
intel-ai/GLM-5.1-MXFP4-Mixed-CT-AutoRound
MXFP4: vllm serve intel-ai/GLM-5.1-MXFP4-Mixed-CT-AutoRound --served-model-name GLM-5.1 --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.