GLM-5.2 (753B-A40B) on Raspberry Pi 5 (8 GB)
Can the Raspberry Pi 5 (8 GB) run GLM-5.2 (753B-A40B)?
No, it doesn’t fit
No. GLM-5.2 (753B-A40B) needs about 303 GB even at Q2_K; the Raspberry Pi 5 (8 GB) has 6.4 GB usable.
Download GLM-5.2 (753B-A40B)
Recommended: Q2_K. Every other quantization has its own download link in the table below.
Ollama
Ollama offers this only as a cloud model (it runs on Ollama’s servers, not your machine). To run it locally, use the GGUF files below.
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q2_K (UD-Q2_K_XL) files (opens in a new tab)
huggingface.co/unsloth/GLM-5.2-GGUF (opens in a new tab)
ollama run hf.co/unsloth/GLM-5.2-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-5 (opens in a new tab)
git clone https://github.com/zai-org/GLM-5How it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 9.1 / 45 | |
|---|---|---|
| Memory fit | 0.0 / 25 | |
| Speed | 0.0 / 15 | |
| Memory use | 0.0 / 15 | |
| Match score | 9.1 / 100 |
Every quantization on the Raspberry Pi 5 (8 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 303 GB | 6.4 GB | — | Won't run | 67Good quality (B) · 67 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (UD-Q2_K_XL) · folder (opens in a new tab) |
Q3_K_M | 371 GB | 6.4 GB | — | Won't run | 80Great quality (A) · 80 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 10/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) |
Q4_K_M | 461 GB | 6.4 GB | — | Won't run | 91Excellent quality (A+) · 91 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 12/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) |
Q5_K_M | 537 GB | 6.4 GB | — | Won't run | 93Excellent quality (A+) · 93 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 12/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) |
Q6_K | 620 GB | 6.4 GB | — | Won't run | 95Excellent quality (A+) · 95 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 12/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) |
Q8_0 | 800 GB | 6.4 GB | — | Won't run | 96Excellent quality (A+) · 96 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 13/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) |
F16 | 1,509 GB | 6.4 GB | — | Won't run | 96Excellent quality (A+) · 96 of 100: how capable the model is at F16, whatever it runs on. Match score 13/100 (quality, fit, speed and memory use) sets the ranking. | GGUF · folder (opens in a new tab) Original weights (opens in a new tab) |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Hardware that can run it
-
67Good quality (B) · 67 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (512 GB)
-
67Good quality (B) · 67 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking.
Apple M5 Ultra (512 GB)
-
80Great quality (A) · 80 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking.
AMD EPYC 7002 / 7003 series NAS (512 GB)
-
80Great quality (A) · 80 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
Intel Xeon Silver (4100 to 4300 series) NAS (512 GB)
-
80Great quality (A) · 80 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
Intel Xeon W-2100 series NAS (512 GB)
-
80Great quality (A) · 80 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
Intel Xeon D-2700 series NAS (512 GB)
Models that do run on the Raspberry Pi 5 (8 GB)
- 67Good quality (B) · 67 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking. Nemotron Labs Dory 1.0 4B
- 64Good quality (B) · 64 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. Nanbeige4.2 3B
- 66Good quality (B) · 66 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. Nemotron 3.5 Bolt E4B
- 64Good quality (B) · 64 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. Spark-X2.6 4B
- 57Good quality (B) · 57 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. Ling 3.0 Tiny (8B-A1.3B)
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.