Instructions to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Use Docker
docker model run hf.co/DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DevQuasar/zai-org.GLM-5.3-Flash-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DevQuasar/zai-org.GLM-5.3-Flash-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
- Ollama
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with Ollama:
ollama run hf.co/DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with Docker Model Runner:
docker model run hf.co/DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
- Lemonade
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.zai-org.GLM-5.3-Flash-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use DevQuasar/zai-org.GLM-5.3-Flash-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "DevQuasar/zai-org.GLM-5.3-Flash-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Request: preserve the nextn/MTP head in the Q2_K and Q3_K_M builds
Thanks for these builds β the expert path in them is unusually clean, and that turns out to matter a lot for CPU-offloaded serving.
Inspecting the tensor tables (HTTP range reads, no download), your Q2_K and Q3_K_M are 0% i-quant across the expert tensors:
| build | expert composition | expert bytes |
|---|---|---|
Q2_K |
Q2_K 58% Β· Q3_K 42% | 102.6 GiB |
Q3_K_M |
Q3_K 60% Β· Q4_K 40% | 134.4 GiB |
That's the interesting property. On a CPU-offloaded MoE the bottleneck is weight reconstruction rather than bandwidth, and K-quant blocks are roughly 2.1Γ cheaper to dequantise than i-quant blocks of similar size. Most GLM-5.3-Flash GGUFs in this size class are i-quant-dominant regardless of what the filename suggests, so a genuinely K-quant expert path at ~100 GiB is rare and worth having.
Also worth noting for anyone else reading: the Q2_K build declares block_count = 45 and is self-consistent β it is not a 46-block model with a missing block, so nothing to trip a loader.
Edited to correct the original request. I first asked you to preserve the blk.45.nextn.* tensors (nextn_predict_layers=1, block_count=46), on the assumption that dropping them ruled out speculative decoding. That was wrong, and I'd rather fix it here than leave a misleading ask on your tracker.
Checking the engine side: an external DFlash2-style drafter does not need the target's nextn head at all. It reads hidden states from three ordinary layers of the target, with the layer indices supplied by the drafter's own metadata β only the built-in MTP drafter requires nextn embeddings from the target. So your builds are already usable with external speculative decoding exactly as they are.
That leaves the nextn head as a nice-to-have rather than a blocker: it would only matter to someone wanting built-in MTP specifically. Please treat it as low priority, or skip it β I don't want to send you after a rebuild on a mistaken premise.
The K-quant expert path is the valuable part, and it's already there. Happy to report numbers once I've benchmarked Q2_K against the i-quant builds on CPU-offloaded hardware.