Llama Guard 3 1B on Raspberry Pi 4 (4 GB)
Can the Raspberry Pi 4 (4 GB) run Llama Guard 3 1B?
Barely: it runs very slowly
Very slow. At Q6_K it needs about 2.1 GB of 2.8 GB usable and makes one decision in about 27.6 s.
- Best quant
Q6_K- Time per decision
- 27.6 s
- Decisions per second
- 0.0/s
- Input assumed
- 512 tokens
- Returns
- Fixed labels
Best app to run it on the Raspberry Pi 4 (4 GB)
Download Llama Guard 3 1B
Recommended for the Raspberry Pi 4 (4 GB): Q6_K. 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:1b-q6_KQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q6_K file (opens in a new tab)
huggingface.co/QuantFactory/Llama-Guard-3-1B-GGUF (opens in a new tab)
ollama run hf.co/QuantFactory/Llama-Guard-3-1B-GGUF:Q6_KOriginal weights · Hugging Face
Full-precision files from Meta, for fine-tuning, vLLM, Transformers.
huggingface.co/meta-llama/Llama-Guard-3-1B (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 | 24.9 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 0.9 / 15 | |
| Clarity | 12.0 / 15 | |
| Match score | 62.9 / 100 |
Every quantization on the Raspberry Pi 4 (4 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q4_K_M | 1.8 GB | 2.8 GB | 27.0 s | Very slow | 53Fair quality (C) · 53 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 2.0 GB | 2.8 GB | 27.3 s | Very slow | 54Fair quality (C) · 54 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 2.1 GB | 2.8 GB | 27.6 s | Very slow | 55Good quality (B) · 55 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 2.5 GB | 2.8 GB | 28.3 s | Very slowtight fit | 56Good quality (B) · 56 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 3.9 GB | 2.8 GB | — | Won't run | 56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 7/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.
Other hardware that runs it
-
56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
56Good quality (B) · 56 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
AMD Ryzen AI Max+ 395 (128 GB)
-
56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
Apple M2 Ultra (192 GB)
-
56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (256 GB)
-
56Good quality (B) · 56 of 100: how capable the model is at F16, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking.
Apple M3 Ultra (512 GB)
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.