GLM-4 9B — VRAM, speed & local setup
Written by Jakub Rusinowski · Last updated
GLM-4-9B, Z.ai's compact bilingual model. Strong Chinese-English performance and general reasoning; runs comfortably on 8 GB VRAM. Previously listed as 'GLM-4.7 9B', which does not exist - GLM-4.7 is a ~400B MoE whose small sibling is GLM-4.7-Flash at 30B-A3B. The Ollama tag recorded here, glm4:9b, pulls GLM-4-9B, so the record was correct apart from its name.
GLM-4 9B needs about 6 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.
VRAM and speed by quantization
Quoted against NVIDIA RTX 4090 (24 GB). Weights plus overhead only: this model's architecture is unpublished, so no KV cache is added.
| Quant | Memory | VRAM | Speed (est.) | Fit |
|---|---|---|---|---|
| Q2_K 2.63 bpw | 3.8 GB | ~144 tok/s | Fits | |
| Q3_K_M 3.41 bpw | 4.6 GB | ~123 tok/s | Fits | |
| Q4_K_M 4.83 bpw | 6.2 GB | ~98 tok/s | Fits | |
| Q5_K_M 5.67 bpw | 7.2 GB | ~87 tok/s | Fits | |
| Q6_K 6.56 bpw | 8.2 GB | ~78 tok/s | Fits | |
| Q8_0 8.50 bpw | 10.4 GB | ~64 tok/s | Fits | |
| F16 16.00 bpw | 18.8 GB | ~37 tok/s | Fits |
Black marker = usable memory on the NVIDIA RTX 4090 (24 GB). Estimates from the memory-bandwidth roofline on the methodology page. GLM-4 9B VRAM calculator →
Get GLM-4 9B running
The cheapest catalogued GPU that runs GLM-4 9B is the Intel Arc B570 (10 GB).
or compare on Vast.ai from $0.35/hr (typical low · varies)
As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.
How to run GLM-4 9B
Install Ollama, then run:
ollama run glm4:9bSpecifications
Corroborated — Two or more independent sources agree on these figures, but the model card itself was not retrieved. Treat the numbers as good rather than confirmed.
- Parameters
- 9 Billion
- Context window
- 128,000
- Architecture
- Dense
- Provider
- Zhipu AI (Z.ai)
- Licence
- Apache 2.0
- Practical deployment
- Laptop
- Specified at
- Q4_K_M
- System RAM
- 16 GB
- Record updated
- 2026-02-14
Commercial use permitted. No usage restrictions beyond attribution.
Quality and use cases
Scores as published by the model’s authors or an independent evaluator — quality, not throughput, and not measured by us.
Can I run GLM-4 9B on my GPU?
- GLM-4 9B on AMD Radeon RX 7900 XT
- GLM-4 9B on AMD Radeon RX 7900 XTX
- GLM-4 9B on AMD Radeon RX 9060 XT 8GB
- GLM-4 9B on Apple M1 Pro
- GLM-4 9B on Apple M2 Pro
- GLM-4 9B on Apple M3 Pro
- GLM-4 9B on Apple M4
- GLM-4 9B on Apple M5
- GLM-4 9B on Intel Arc B570
- GLM-4 9B on Intel Arc B580
- GLM-4 9B on NVIDIA GeForce RTX 3060 (12GB)
- GLM-4 9B on NVIDIA GeForce RTX 3070
- GLM-4 9B on NVIDIA GeForce RTX 3070 Ti
- GLM-4 9B on NVIDIA GeForce RTX 3080 (10GB)
- GLM-4 9B on NVIDIA GeForce RTX 3090
- GLM-4 9B on NVIDIA GeForce RTX 4060
- GLM-4 9B on NVIDIA GeForce RTX 4070
- GLM-4 9B on NVIDIA GeForce RTX 4070 Super
- GLM-4 9B on NVIDIA GeForce RTX 4070 Ti
- GLM-4 9B on NVIDIA GeForce RTX 4090
- GLM-4 9B on NVIDIA GeForce RTX 5060
- GLM-4 9B on NVIDIA GeForce RTX 5060 Ti 8GB
- GLM-4 9B on NVIDIA GeForce RTX 5070
- GLM-4 9B on NVIDIA GeForce RTX 5090
- GLM-4 9B on NVIDIA L40S
- GLM-4 9B on NVIDIA RTX 6000 Ada Generation
Other GLM-4.7 / GLM-Z1 sizes
GLM-4 9B — frequently asked questions
How much VRAM does GLM-4 9B need?
About 6 GB at Q4_K_M — quantized weights plus framework overhead, before any KV cache. The cache grows with context length and is added on top; the table above folds it in. Apple Silicon counts unified memory toward the same figure.
Does GLM-4 9B run on an RTX 4090 (24 GB)?
Yes. GLM-4 9B needs about 6 GB at Q4_K_M, inside a 24 GB card, at an estimated 98 tokens/sec.
How do I run GLM-4 9B locally?
Install Ollama and run `ollama run glm4:9b`. That pulls the weights and starts a local OpenAI-compatible endpoint; after the download nothing leaves the machine.
What other sizes does GLM-4.7 / GLM-Z1 come in?
GLM-4 9B (6 GB), GLM-Z1 32B (Reasoning) (20 GB), GLM-4.7-Flash 30B-A3B (19 GB). Every size shares the family's training and licence; the larger ones score higher and need proportionally more memory.