Llama Guard 3 8B on Raspberry Pi 4 (8 GB)
Can the Raspberry Pi 4 (8 GB) run Llama Guard 3 8B?
Barely: it runs very slowly (tight fit)
Very slow (tight fit). At Q4_K_M it needs about 6.3 GB of 6.4 GB usable and makes one decision in about 144.4 s.
- Best quant
Q4_K_M- Time per decision
- 144.4 s
- Decisions per second
- 0.0/s
- Input assumed
- 512 tokens
- Returns
- Fixed labels
Best app to run it on the Raspberry Pi 4 (8 GB)
Download Llama Guard 3 8B
Recommended for the Raspberry Pi 4 (8 GB): Q4_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run llama-guard3:8b-q4_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/mradermacher/Llama-Guard-3-8B-GGUF (opens in a new tab)
ollama run hf.co/mradermacher/Llama-Guard-3-8B-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from Meta, for fine-tuning, vLLM, Transformers.
huggingface.co/meta-llama/Llama-Guard-3-8B (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 | 29.1 / 45 | |
|---|---|---|
| Memory fit | 24.0 / 25 | |
| Speed | 0.4 / 15 | |
| Clarity | 12.0 / 15 | |
| Match score | 65.5 / 100 |
Every quantization on the Raspberry Pi 4 (8 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 6.3 GB | 6.4 GB | 144.4 s | Very slowtight fit | 64Good quality (B) · 64 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 65/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 7.1 GB | 6.4 GB | 147.5 s | Very slowfar over memory limit | 65Good quality (B) · 65 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 46/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 8.0 GB | 6.4 GB | — | Won't run | 67Good quality (B) · 67 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 9.9 GB | 6.4 GB | — | Won't run | 68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 17.4 GB | 6.4 GB | — | Won't run | 68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) 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.
Other hardware that runs it
-
68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA RTX PRO 6000 Blackwell
-
68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5090
-
64Good quality (B) · 64 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
67Good quality (B) · 67 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 GeForce RTX 4090
-
67Good quality (B) · 67 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5080
-
67Good quality (B) · 67 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
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.