Zhipu AI (Z.ai) · MIT
GLM-4.7 Flash and GLM-4.5 Air
The Z.ai models you can run at home: a 30B-A3B for 24 GB machines and a 106B for 64–96 GB.
How much memory it needs
The model file, plus memory for the conversation, plus about 1 GB for the app. Longer conversations need more.
| Size | Version | File | At 8K | At 32K | At 128K |
|---|---|---|---|---|---|
| 31B (3B active) | Q4_K_M | 18.3 GB | 19.8 GB | 21.1 GB | 26.4 GB |
| Q8_0 | 31.8 GB | 33.3 GB | 34.6 GB | 39.9 GB | |
| 111B (12B active) | Q4_K_M | 73.0 GB | 75.5 GB | 80.2 GB | 98.7 GB |
| Q8_0 | 117 GB | 120 GB | 125 GB | 143 GB |
Which computers run it
The best size for each machine at an 8K-token conversation. Speeds are estimates from memory bandwidth.
| Computer | Best version | Fit | Speed |
|---|---|---|---|
| Laptop or PC, no graphics card, 32 GB | 31B Q4_K_M | Runs well | 15–30tok/sSmooth |
| RTX 4060 · 8 GB | 31B Q4_K_M | Spills into system RAM | 18–35tok/sSmooth |
| RTX 3060 · 12 GB | 31B Q4_K_M | Spills into system RAM | 25–50tok/sSmooth |
| RTX 5060 Ti · 16 GB | 31B Q4_K_M | Spills into system RAM | 35–70tok/sFast |
| RTX 4090 · 24 GB | 31B Q4_K_M | Runs well | 100–210tok/sFast |
| RTX 5090 · 32 GB | 31B Q4_K_M | Runs great | 140–280tok/sFast |
| Mac with M4 · 16 GB | 31B Q4_K_M | Too big | — |
| Mac with M4 Pro · 48 GB | 31B Q8_0 | Runs well | 30–65tok/sFast |
| Mac with M5 Max · 128 GB | 111B Q4_K_M | Runs great | 25–55tok/sFast |
| Ryzen AI Max+ 395 · 128 GB | 111B Q4_K_M | Runs well | 10–20tok/sSmooth |
| DGX Spark · 128 GB | 111B Q4_K_M | Runs great | 11–20tok/sSmooth |
| RTX PRO 6000 · 96 GB | 111B Q4_K_M | Runs well | 55–110tok/sFast |
| Mac Studio with M5 Ultra · 256 GB | 111B Q8_0 | Runs great | 18–40tok/sSmooth |
| Mac Studio with M3 Ultra · 512 GB | 111B Q8_0 | Runs great | 13–30tok/sSmooth |
What it is good and bad at
Good at
- Coding and agents
- MIT licence
Not good at
- Newer GLM-5 models are too big for home machines
- GLM-4.5 Air has no Ollama library entry
Start it
Install Ollama, then run one of these in a terminal. LM Studio users can search the same name in the app.
ollama run glm-4.7-flash:latest