# GLM-4 9B: RAM and VRAM requirements

> GLM-4 9B is a 9B GLM model. At Q4_K_M it needs about **7.3 GB** to run and fits **32 of 39** tracked devices. Minimum to run: Nvidia GeForce RTX 3060 (12GB).

Last validated: 2026-06-15. Sources: Ollama, HuggingFace GGUF repos, vendor specs.

## Memory by quantization
| Quant | On disk | To run (4k context) |
| --- | --- | --- |
| Q4_K_M | 5.82 GB | ~7.3 GB |
| Q8_0 | 9.31 GB | ~10.8 GB |

Memory = weights + KV cache + ~0.8 GB runtime overhead, and varies ±15% with context length.

## Will it run on my device?
- **Apple M1 (8GB)** (8 GB): No, not enough memory
- **Generic Android Phone (8GB RAM)** (8 GB): No, not enough memory
- **iPhone 17 Pro** (12 GB): Yes, but tight
- **Nvidia GeForce RTX 4080 (16GB)** (16 GB): Yes, it runs — room for Q8_0
- **Google Pixel 10 Pro** (16 GB): Yes, it runs
- **Nvidia GeForce RTX 4090 (24GB)** (24 GB): Yes, it runs — room for FP16
- **Apple M4 Pro (48GB)** (48 GB): Yes, it runs — room for FP16
- **Apple M3 Ultra (256GB)** (256 GB): Yes, it runs — room for FP16

Full table of all 39 devices: https://localmodel.run/model/glm-4-9b

## How to run
Quickest path: `ollama run glm4:9b`. On Mac, LM Studio (ships MLX) is fastest; on Linux, Ollama for chat or vLLM to serve; on Windows, LM Studio or Ollama.

## Details
- Parameters: 9B
- Default context: 128k tokens
- License: GLM-4 License (commercial use: conditional)
- Released: 2024-06
- HuggingFace: 56,762 downloads/mo, 707 likes

## FAQ
### How much VRAM or RAM does GLM-4 9B need?
About 7.3 GB at Q4_K_M (weights 5.82 GB + KV cache + overhead) at a 4k context. Budget ~10.8 GB for Q8_0.
### Can GLM-4 9B run on a laptop?
GLM-4 9B is large; you need a high-memory Mac or a 24 GB+ GPU at Q4_K_M.
### Can I use GLM-4 9B commercially?
Conditionally: GLM-4 Model License: review terms for commercial use..

Sources: https://ollama.com/library/glm4, https://ollama.com/library/glm4/tags, https://huggingface.co/bartowski/glm-4-9b-chat-GGUF, https://huggingface.co/THUDM/glm-4-9b-chat
More: https://localmodel.run/model/glm-4-9b