LLMs · Zhipu AI
GLM-4 9B 0414
- Parameters
- 9.4B
- Architecture
- Dense
- Max context
- 32K tokens
- License
- mit
- Released
- 2025-04
How to run it
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/unsloth/GLM-4-9B-0414-GGUF (opens in a new tab)
ollama run hf.co/unsloth/GLM-4-9B-0414-GGUFOriginal weights · Hugging Face
Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Zhipu AI. The weights themselves download from Hugging Face.
github.com/zai-org/GLM-4 (opens in a new tab)
git clone https://github.com/zai-org/GLM-4Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.
| Quantization | Quality | Weights | Total at 8K context | Total at 32K context | Download |
|---|---|---|---|---|---|
Q2_K |
Low | 3.8 GB | 4.7 GB | 5.7 GB | GGUF (opens in a new tab) |
Q3_K_M |
Low | 4.6 GB | 5.5 GB | 6.5 GB | GGUF (opens in a new tab) |
Q4_K_M |
Good | 5.7 GB | 6.7 GB | 7.7 GB | GGUF (opens in a new tab) |
Q5_K_M |
High | 6.7 GB | 7.6 GB | 8.6 GB | GGUF (opens in a new tab) |
Q6_K |
High | 7.7 GB | 8.6 GB | 9.7 GB | GGUF (opens in a new tab) |
Q8_0 |
Very high | 10.0 GB | 10.9 GB | 11.9 GB | GGUF (opens in a new tab) |
F16 |
Full | 18.8 GB | 19.7 GB | 20.7 GB | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Best hardware for GLM-4 9B 0414
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at Q3_K_M.
| Grade · points | Hardware | Quant | Memory | Speed | Fit |
|---|---|---|---|---|---|
| 78 ptsGreat (A) · 78 of 100 points: Model quality 23.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 5090 | F16 | 21.3 GB / 32.0 GB | 54.9 tok/s | Runs well |
| 78 ptsGreat (A) · 78 of 100 points: Model quality 23.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4070 Ti SUPER | Q8_0 | 11.7 GB / 16.0 GB | 44.7 tok/s | Runs well |
| 78 ptsGreat (A) · 78 of 100 points: Model quality 23.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4080 SUPER | Q8_0 | 11.7 GB / 16.0 GB | 48.9 tok/s | Runs well |
| 78 ptsGreat (A) · 78 of 100 points: Model quality 23.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 5070 Ti | Q8_0 | 11.7 GB / 16.0 GB | 59.6 tok/s | Runs well |
| 78 ptsGreat (A) · 78 of 100 points: Model quality 23.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 5080 | Q8_0 | 11.7 GB / 16.0 GB | 63.8 tok/s | Runs well |
| 78 ptsGreat (A) · 78 of 100 points: Model quality 23.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 | NVIDIA GeForce RTX 4070 SUPER | Q6_K | 9.2 GB / 12.0 GB | 45.7 tok/s | Runs well |
| 77 ptsGreat (A) · 77 of 100 points: Model quality 22.7/45, Memory fit 25.0/25, Speed 14.8/15, Memory use 15.0/15 | NVIDIA GeForce RTX 3060 12GB | Q5_K_M | 8.2 GB / 12.0 GB | 38.8 tok/s | Runs well |
| 77 ptsGreat (A) · 77 of 100 points: Model quality 22.7/45, Memory fit 25.0/25, Speed 14.5/15, Memory use 15.0/15 | Intel Arc B580 | Q5_K_M | 8.2 GB / 12.0 GB | 37.6 tok/s | Runs well |
| 76 ptsGreat (A) · 76 of 100 points: Model quality 23.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.6/15 | AMD Radeon RX 9070 XT | Q6_K | 9.4 GB / 16.0 GB | 49.9 tok/s | Runs well |
| 76 ptsGreat (A) · 76 of 100 points: Model quality 23.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.6/15 | NVIDIA GeForce RTX 5060 Ti 16GB | Q6_K | 9.4 GB / 16.0 GB | 40.6 tok/s | Runs well |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.