GLM-4.7 Flash harness
Exceptional tools, if the quant is kind. A free set of files for your coding agent, written against what people report GLM-4.7 Flash getting wrong. Users’ reports, not our measurements; not benchmarked.
Why it is built this way
A natural with tools that is fussy about its build and template.
Choose the build
One user's IQ4_NL files broke tool calls and MXFP4 files did not.
Test streaming
It withdrew calls mid-stream, which confused OpenCode until a proxy buffered them.
How to serve it
vLLM
Look for an official recipe here first
Published builds of GLM-4.7 Flash
unsloth/GLM-4.7-Flash-GGUF
GGUF: llama-server -hf unsloth/GLM-4.7-Flash-GGUF -a GLM-4.7-Flash --port 8000 --jinja -c 131072 --reasoning-budget 4096
lmstudio-community/GLM-4.7-Flash-MLX-8bit
MLX: mlx_lm.server --model lmstudio-community/GLM-4.7-Flash-MLX-8bit --port 8000
lmstudio-community/GLM-4.7-Flash-MLX-6bit
MLX: mlx_lm.server --model lmstudio-community/GLM-4.7-Flash-MLX-6bit --port 8000
QuantTrio/GLM-4.7-Flash-AWQ
AWQ: vllm serve QuantTrio/GLM-4.7-Flash-AWQ --served-model-name GLM-4.7-Flash --port 8000 --max-model-len 131072
cyankiwi/GLM-4.7-Flash-AWQ-4bit
AWQ: vllm serve cyankiwi/GLM-4.7-Flash-AWQ-4bit --served-model-name GLM-4.7-Flash --port 8000 --max-model-len 131072
axteam/GLM-4.7-Flash-GGUF
GGUF: llama-server -hf axteam/GLM-4.7-Flash-GGUF -a GLM-4.7-Flash --port 8000 --jinja -c 131072 --reasoning-budget 4096
lmstudio-community/GLM-4.7-Flash-GGUF
GGUF: llama-server -hf lmstudio-community/GLM-4.7-Flash-GGUF -a GLM-4.7-Flash --port 8000 --jinja -c 131072 --reasoning-budget 4096
bartowski/zai-org_GLM-4.7-Flash-GGUF
GGUF: llama-server -hf bartowski/zai-org_GLM-4.7-Flash-GGUF -a GLM-4.7-Flash --port 8000 --jinja -c 131072 --reasoning-budget 4096
mlx-community/GLM-4.7-Flash-4bit
MLX: mlx_lm.server --model mlx-community/GLM-4.7-Flash-4bit --port 8000
lmstudio-community/GLM-4.7-Flash-MLX-4bit
MLX: mlx_lm.server --model lmstudio-community/GLM-4.7-Flash-MLX-4bit --port 8000
unsloth/GLM-4.7-Flash-NVFP4
NVFP4: vllm serve unsloth/GLM-4.7-Flash-NVFP4 --served-model-name GLM-4.7-Flash --port 8000 --max-model-len 131072
unsloth/GLM-4.7-Flash-FP8-Dynamic
FP8: vllm serve unsloth/GLM-4.7-Flash-FP8-Dynamic --served-model-name GLM-4.7-Flash --port 8000 --max-model-len 131072
Intel/GLM-4.7-Flash-int4-AutoRound
INT4: vllm serve Intel/GLM-4.7-Flash-int4-AutoRound --served-model-name GLM-4.7-Flash --port 8000 --max-model-len 131072
What it gets wrong, and what this does about it
Broken calls at some quants
Torn, invalid calls on IQ4_NL; clean on MXFP4.
Withdraws calls mid-stream
OpenCode errors until the stream was buffered; another user fixed theirs with a template.
Tune it
Connect a GitHub repository and Loreto writes your own history into this harness for $5, once.