Setup guide

Run a local LLM on a Raspberry Pi 5.

What to buy, how to set it up in five steps, and what speed to expect, from real, sourced benchmark runs.

Updated 2026-10-17. Every speed links to its source; every price is sourced and dated.

What to buy.

An 8GB Pi 5 is enough for 1–3B models. Add these:

Pi 5 8GB + these parts, approximate

≈ $242.99

Raspberry Pi 5 8GB $175 + 27W USB-C power supply Seeed: $12 + Active Cooler Seeed: $5 + Samsung PRO Plus 128GB microSD $50.99. Sourced prices at time of writing; they change often, shipping and tax not included.

Want NVMe boot or a case? See the full Pi 5 parts list.

Set it up.

  1. Flash Raspberry Pi OS (64-bit) to the microSD card with Raspberry Pi Imager. Raspberry Pi Imager ↗
  2. Fit the Active Cooler and plug in the 27W supply. Boot, connect to your network and update: sudo apt update && sudo apt full-upgrade
  3. Install Ollama with its official Linux script:
    curl -fsSL https://ollama.com/install.sh | sh
    Ollama Linux install ↗
  4. Run a small model first.
    ollama run llama3.2:1b --verbose
    --verbose prints the eval rate after each answer: that is your generation speed in tokens/sec.
  5. Share your number. Your run is exactly the kind of data this site is built on. Submit it here

What speed to expect.

Every measured model on the Pi 5.

Best sourced run per model.

ModelSizeQuantRuntimeGen tok/sPrompt tok/sTTFT msSource
Qwen2.5 1.5B Instruct1.5BOllama defaultOllama11.73––source ↗
2026-01-20
Gemma 3 1B1BQ4_K_MOllama11.53––source ↗
accessed 2026-10-17
Qwen2 1.5B1.5BOllama defaultOllama11.29––source ↗
2026-01-20
Llama 3.2 1B Instruct1BQ4_K_MOllama11.22––source ↗
accessed 2026-10-17
Qwen2.5-Coder 1.5B1.5BOllama defaultOllama10.26––source ↗
2026-01-20
DeepSeek-R1-Distill-Qwen 1.5B1.5BOllama defaultOllama9.04––source ↗
2026-01-20
SmolLM2 1.7B Instruct1.7BQ4_K_MOllama8.23––source ↗
accessed 2026-10-17
BitNet b1.58 2B-4T2BQ1.5Ollama8.13––source ↗
accessed 2026-10-17
Qwen3 1.7B1.7Bnot reportedCPU backend
per paper
7.8–1653source ↗
published 2026
Llama 3.2 3B Instruct3BQ40distributed-llama v0.12.35.9514.3–source ↗
2025-02-15
Granite 3.1 Dense 2B2BQ4_K_MOllama5.81––source ↗
accessed 2026-10-17
Qwen2.5 3B3BQ4_K_MOllama5.2––source ↗
accessed 2026-10-17
Vinci Piccolo 1.0 (Qwen3.5-4B based)4BQ4_K_Mllama.cpp3.21––source ↗
2026-10-05
Llama 3.1 8B8BOllama defaultOllama2.05––source ↗
2025-01-09
Qwen2.5 0.5B Instruct500Mnot reportedOllama1.54–8210source ↗
accessed 2026-10-17
Llama 2 13B13BOllama defaultOllama1.35––source ↗
2025-01-09

Stay in the loop.

New boards, new runtimes, new numbers. One email a month, no hype.