GLM-4-9B-Chat
9BZhipu GLM-4
Zhipu GLM-4 open 9B with 128K context, tool calling, and strong bilingual (EN/ZH) performance.
131K
Max Context
3
Quant Variants
GGUF Q8_0
Best Quality
99.6%
Accuracy Retained
Quantization Variants
Per-quant VRAM, quality loss, and inference speed on RTX 4090
Measured = site benchmarks · Estimated = formula · Community = public reports
Similar models
Compare with Qwen2.5 14BQwen2.5 14B Instruct
Alibaba Qwen2.5
The sweet spot between performance and resource usage. 16GB VRAM with Q4.
Phi-3 Medium 14B Instruct
Microsoft Phi
Microsoft's mid-size Phi-3. Excellent quality-per-GB on 16GB cards.
DeepSeek-V2-Lite Chat
DeepSeek
MoE general model (~2.4B active). Long context and strong multilingual chat.
Falcon 3 10B Instruct
TII UAE
Technology Innovation Institute's latest Falcon. Good multilingual and code mix.
Running GLM-4-9B-Chat locally
At Q4_K_M and 4K of context, GLM-4-9B-Chat needs about 5.9 GB — 5.2 GB of weights, 0.16 GB of KV cache and a 0.5 GB activation buffer. The smallest card in this index that clears that comfortably is the RTX 5060 Ti 8G at 8 GB, and 62 of the 63 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.
What longer context costs
Going from 4K to 32K adds about 1.09 GB, taking the total to 7.1 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 128K; holding all of it at Q4_K_M would need about 11 GB.
Which build to download
This index tracks 2 formats for it — GGUF, AWQ — across 3 levels. Q8_0 carries the lowest published perplexity loss at 0.4%. The fastest level measured here is AWQ INT4 at 178 tok/s on an RTX 4090, batch 1. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 and CUDA only.
Common questions
- How much VRAM does GLM-4-9B-Chat need?
- About 5.9 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 7.1 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
- Will GLM-4-9B-Chat run on a 8GB GPU?
- Yes — at Q4_K_M and 4K context it needs about 5.9 GB, which leaves 2.1 GB spare on a RTX 5060 Ti 8G. That is the smallest card in this index that clears it comfortably; 62 of 63 do.
- Which quantization of GLM-4-9B-Chat should I use?
- Q8_0 has the lowest published quality loss (0.4%), and Q4_K_M is the level most people run. All 3 levels in the index are Q4_K_M, Q8_0, AWQ INT4.
Where this model fits
Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.
- Runs comfortably on
- RTX 5060 Ti 8G8GB · +2.1RTX 50608GB · +2.1RTX 4060 Ti 8G8GB · +2.1RTX 40608GB · +2.1RTX 3070 Ti8GB · +2.1
- Tight but possible
- Mac M3 8G8GB
- Compared here
- GGUF vs AWQ
- Try it yourself
- Size it in the calculatorGenerate the run command
How to actually run this
Deployment guides for this model and this class of hardware.
This page's figures change when the model or the runtime does.Last updated 2026-09-23 RSS → /feed.xml