
Hardware · Raspberry Pi
What AI models can the Raspberry Pi 4 (8 GB) run?
- RAM
- 8.0 GB
- Usable for models
- 6.4 GB
- Memory bandwidth
- 13 GB/s
- Runs models on
- CPU cores
- Released
- 2019
Models run on the CPU cores here, so the memory’s speed and how fast those cores can read it set the pace: small models (about 1-4B) are usable, bigger ones are slow. We plan around 6.4 GB of the 8.0 GB (what Linux leaves free for a model). No NPU. The Hailo AI HATs need the Pi 5’s PCIe connector.
More about this hardware
| Maker | Raspberry Pi |
|---|---|
| Type | Single-board computer or edge AI board |
| Share of memory for models | 80% (what Linux typically leaves free on a board this size) |
| Chip | Broadcom BCM2711 |
| AI accelerator | No NPU. The Hailo AI HATs need the Pi 5’s PCIe connector. |
| Boards with this chip | Raspberry Pi 4 Model B · Raspberry Pi 400 · Compute Module 4 |
| Memory type | LPDDR4-3200, 32-bit |
| Bandwidth figure | 12.8 GB/s, the chip’s rated memory speed |
| Note | 4× Cortex-A72 at 1.8 GHz (1.5 GHz on early boards). Its cores read memory far more slowly than a Pi 5’s, so we assume 30% of the rated speed (estimate): small models (1-3B) at a few tokens per second. Needs the 64-bit OS. The 1 GB version leaves too little memory for language models and isn’t listed. |
| Specifications | www.raspberrypi.com |
Apps that run models well on the Raspberry Pi 4 (8 GB)
Linux on ARM boards
1 product with the Raspberry Pi 4 (8 GB)
Best LLMs for the Raspberry Pi 4 (8 GB)
| Quality | Model | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 67Good quality (B) · 67 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | Nemotron Labs Dory 1.0 4B | Q6_K | 4.8 GB | 1.1 tok/s | Very slow |
| 64Good quality (B) · 64 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | Nanbeige4.2 3B | Q4_K_M | 5.1 GB | 1.6 tok/s | Very slow |
| 65Good quality (B) · 65 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 71/100 (quality, fit, speed and memory use) sets the ranking. | Spark-X2.6 4B | Q6_K | 4.8 GB | 1.1 tok/s | Very slow |
| 66Good quality (B) · 66 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 71/100 (quality, fit, speed and memory use) sets the ranking. | Nemotron 3.5 Bolt E4B | Q4_K_M | 6.1 GB | 1.5 tok/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 70/100 (quality, fit, speed and memory use) sets the ranking. | Gemma 4 E4B | Q4_K_M | 6.1 GB | 1.5 tok/s | Very slowtight fit |
| 65Good quality (B) · 65 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | MiMo V2.6 Distill Qwen 9B | Q3_K_M | 6.0 GB | 0.9 tok/s | Very slowtight fit |
| 65Good quality (B) · 65 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | SenseNova Loop 9B Preview | Q3_K_M | 6.3 GB | 0.9 tok/s | Very slowtight fit |
| 64Good quality (B) · 64 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | Ornith 1.5 9B | Q3_K_M | 6.1 GB | 0.9 tok/s | Very slowtight fit |
| 61Good quality (B) · 61 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | Qwen3.5 4B | Q6_K | 5.2 GB | 1.0 tok/s | Very slow |
| 63Good quality (B) · 63 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | Qwen3.5 9B | Q3_K_M | 6.1 GB | 0.9 tok/s | Very slowtight fit |
| 57Good quality (B) · 57 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | Ling 3.0 Tiny (8B-A1.3B) | Q4_K_M | 6.2 GB | 5.0 tok/s | Slowtight fit |
| 60Good quality (B) · 60 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | TMax 4B | Q6_K | 4.8 GB | 1.1 tok/s | Very slow |
Best Image models for the Raspberry Pi 4 (8 GB)
| Quality | Model | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 84Great quality (A) · 84 of 100: how capable the model is at Q4 GGUF, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | FLUX 3 Image Klein | Q4 GGUF | 5.7 GB | 29.5 min | Very slowtight fit · encoder unloaded after use |
| 76Great quality (A) · 76 of 100: how capable the model is at FP8, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | FLUX.2 [klein] 4B | FP8 | 6.2 GB | 3.9 min | Very slowtight fit · encoder unloaded after use |
| 76Great quality (A) · 76 of 100: how capable the model is at Q4 GGUF, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | MOSS-Image SFT | Q4 GGUF | 5.4 GB | 72.5 min | Very slowencoder unloaded after use |
| 78Great quality (A) · 78 of 100: how capable the model is at Q4 GGUF, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | Z-Image Turbo | Q4 GGUF | 6.1 GB | 12.9 min | Very slowtight fit · encoder unloaded after use |
| 76Great quality (A) · 76 of 100: how capable the model is at Q4 GGUF, whatever it runs on. Match score 67/100 (quality, fit, speed and memory use) sets the ranking. | Z-Image | Q4 GGUF | 6.1 GB | 88.0 min | Very slowtight fit · encoder unloaded after use |
| 60Good quality (B) · 60 of 100: how capable the model is at FP8, whatever it runs on. Match score 66/100 (quality, fit, speed and memory use) sets the ranking. | Juggernaut XL v9 | FP8 | 5.6 GB | 16.6 min | Very slowtight fit |
Best Video models for the Raspberry Pi 4 (8 GB)
| Quality | Model | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 35Basic quality (D) · 35 of 100: how capable the model is at FP16, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking. | AnimateDiff v3 (SD 1.5) | FP16 | 4.7 GB | 82.2 min | Very slow |
| 49Fair quality (C) · 49 of 100: how capable the model is at FP8, whatever it runs on. Match score 57/100 (quality, fit, speed and memory use) sets the ranking. | LTX-Video 2B | FP8 | 6.1 GB | 1.6 h | Very slowtight fit · encoder unloaded after use |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 50/100 (quality, fit, speed and memory use) sets the ranking. | CogVideoX 5B | FP8 | 5.9 GB | 14.4 h | Very slowtight fit · CPU offload |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 50/100 (quality, fit, speed and memory use) sets the ranking. | CogVideoX 5B I2V | FP8 | 6.1 GB | 14.4 h | Very slowtight fit · CPU offload |
| 53Fair quality (C) · 53 of 100: how capable the model is at FP8, whatever it runs on. Match score 50/100 (quality, fit, speed and memory use) sets the ranking. | Wan 2.1 T2V 1.3B | FP8 | 6.0 GB | 19.2 h | Very slowtight fit · CPU offload |
Best Decision models for the Raspberry Pi 4 (8 GB)
| Quality | Model | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 89Excellent quality (A+) · 89 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. | Qwen3 Reranker 4B | Q6_K | 4.7 GB | 69.5 s | Very slow |
| 86Excellent quality (A+) · 86 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.5 | Q8_0 | 2.0 GB | 10.4 s | Very slow |
| 78Great quality (A) · 78 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. | OpenAI Privacy Filter | Q8_0 | 2.4 GB | 468 ms | Slow |
| 87Excellent quality (A+) · 87 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. | zerank-2 | Q6_K | 4.7 GB | 69.5 s | Very slow |
| 86Excellent quality (A+) · 86 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | Shieldstral 1.0 3B | Q8_0 | 5.4 GB | 66.9 s | Very slow |
| 84Great quality (A) · 84 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | Jina Reranker v3 | Q8_0 | 2.0 GB | 10.4 s | Very slow |
| 80Great quality (A) · 80 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | GLiNER2.5 Decide | Q8_0 | 1.2 GB | 4.5 s | Very slow |
| 83Great quality (A) · 83 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. | Intern-Decision 4B | Q6_K | 4.9 GB | 39.7 s | Very slow |
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.
