Llama Guard 4 12B on Raspberry Pi 5 (8 GB)
Can the Raspberry Pi 5 (8 GB) run Llama Guard 4 12B?
No, it doesn’t fit
No. Llama Guard 4 12B needs about 8.8 GB even at Q4_K_M; the Raspberry Pi 5 (8 GB) has 6.4 GB usable.
Download Llama Guard 4 12B
Original weights · Hugging Face
Full-precision files from Meta, for fine-tuning, vLLM, Transformers.
huggingface.co/meta-llama/Llama-Guard-4-12B (opens in a new tab)
How 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.
| Precision | 8.5 / 45 | |
|---|---|---|
| Memory fit | 0.0 / 25 | |
| Speed | 0.0 / 15 | |
| Clarity | 0.0 / 15 | |
| Match score | 8.5 / 100 |
Every quantization on the Raspberry Pi 5 (8 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 8.8 GB | 6.4 GB | — | Won't run | 62Good quality (B) · 62 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q5_K_M | 10.0 GB | 6.4 GB | — | Won't run | 64Good quality (B) · 64 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q6_K | 11.4 GB | 6.4 GB | — | Won't run | 65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
Q8_0 | 14.2 GB | 6.4 GB | — | Won't run | 66Good quality (B) · 66 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | All files (opens in a new tab) |
F16 | 25.5 GB | 6.4 GB | — | Won't run | 66Good quality (B) · 66 of 100: how capable the model is at F16, whatever it runs on. Match score 8/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Times are for one request with a 512-token input and about 6 tokens written. Batching servers process many requests at once.
Hardware that can run it
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA RTX PRO 6000 Blackwell
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
Models that do run on the Raspberry Pi 5 (8 GB)
- 78Great quality (A) · 78 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking. OpenAI Privacy Filter
- 86Excellent quality (A+) · 86 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. Jina Reranker v3.5
- 89Excellent quality (A+) · 89 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. Qwen3 Reranker 4B
- 84Great quality (A) · 84 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. Jina Reranker v3
- 87Excellent quality (A+) · 87 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. zerank-2
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.