Raspberry Pi 4 Model B

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

MakerRaspberry Pi
TypeSingle-board computer or edge AI board
Share of memory for models80% (what Linux typically leaves free on a board this size)
ChipBroadcom BCM2711
AI acceleratorNo NPU. The Hailo AI HATs need the Pi 5’s PCIe connector.
Boards with this chipRaspberry Pi 4 Model B · Raspberry Pi 400 · Compute Module 4
Memory typeLPDDR4-3200, 32-bit
Bandwidth figure12.8 GB/s, the chip’s rated memory speed
Note4× 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.
Specificationswww.raspberrypi.com

Apps that run models well on the Raspberry Pi 4 (8 GB)

For a typical model that fits in memory. Each model page picks the best app for that model on this hardware. All apps

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 4BNVIDIA 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 3BBOSS Zhipin (Nanbeige) 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 4BSparkLLM 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 E4BNVIDIA 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 E4BGoogle 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 9BXiaomi 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 PreviewSenseTime 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 9BDeepReinforce 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 4BAlibaba 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 9BAlibaba 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)Ant Group (inclusionAI) 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 4BAi2 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 KleinBlack Forest Labs 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] 4BBlack Forest Labs 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 SFTOpenMOSS 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 TurboAlibaba (Tongyi) 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-ImageAlibaba (Tongyi) 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 v9RunDiffusion 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)Shanghai AI Lab 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 2BLightricks 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 5BZhipu AI 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 I2VZhipu AI 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.3BAlibaba 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 4BAlibaba 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.5Jina AI 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 FilterOpenAI 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-2ZeroEntropy 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 3BMistral AI 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 v3Jina AI 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 DecideFastino 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 4BShanghai AI Lab Q6_K 4.9 GB 39.7 s Very slow

Best LLMs by task on this hardware Open in Model Finder

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.

Was this page helpful?