StableLM Zephyr 3B on Raspberry Pi 4 (4 GB)
Can the Raspberry Pi 4 (4 GB) run StableLM Zephyr 3B?
Yes, but slowly (far over memory limit)
Slow (far over memory limit). At Q2_K it needs about 3.3 GB of 2.8 GB usable, with an estimated speed of 3.3 tok/s.
- Best quant
Q2_K- Generation speed
- 3.3 tok/s
- Prompt processing
- 10.7 tok/s
- First token (1K prompt)
- 95.6 s
- Largest safe context
- 2K
Best app to run it on the Raspberry Pi 4 (4 GB)
On Linux on ARM boards
- Splits the model between GPU memory and system RAM, which this setup needs.
- Point-and-click: search, download and chat in one window.
Download StableLM Zephyr 3B
Recommended for the Raspberry Pi 4 (4 GB): Q2_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 stablelm-zephyr:3b-q2_KQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q2_K file (opens in a new tab)
huggingface.co/QuantFactory/stablelm-zephyr-3b-GGUF (opens in a new tab)
ollama run hf.co/QuantFactory/stablelm-zephyr-3b-GGUF:Q2_KOriginal weights · Hugging Face
Full-precision files from Stability AI, for fine-tuning, vLLM, Transformers.
huggingface.co/stabilityai/stablelm-zephyr-3b (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.
| Model quality | 5.0 / 45 | |
|---|---|---|
| Memory fit | 4.0 / 25 | |
| Speed | 4.3 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 28.3 / 100 |
Every quantization on the Raspberry Pi 4 (4 GB)
| Quant | Memory needed | Available | Speed | Runs | Quality | Download |
|---|---|---|---|---|---|---|
Q2_K | 3.3 GB | 2.8 GB | 3.3 tok/s | Slowfar over memory limit | 11Basic quality (D) · 11 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 28/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q3_K_M | 3.5 GB | 2.8 GB | — | Won't run | 13Basic quality (D) · 13 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 1/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q4_K_M | 3.9 GB | 2.8 GB | — | Won't run | 15Basic quality (D) · 15 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 2/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 4.2 GB | 2.8 GB | — | Won't run | 15Basic quality (D) · 15 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 2/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 4.5 GB | 2.8 GB | — | Won't run | 15Basic quality (D) · 15 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 2/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 5.1 GB | 2.8 GB | — | Won't run | 16Basic quality (D) · 16 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 2/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 7.8 GB | 2.8 GB | — | Won't run | 16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 2/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Memory figures assume 4K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
16Basic quality (D) · 16 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.
NVIDIA GeForce RTX 4060
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 62/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 SUPER
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 59/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5060 Ti 16GB
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.