Local LLM Deployment on Edge Devices: Raspberry Pi and Mini PCs in 2026
A Raspberry Pi or a $200 mini PC can run a useful local LLM today — if you pick the right small model and design the job around its limits. Here is the hardware, the models, and the real speed to expect.
Why run a local LLM on an edge device
Most local LLM guides assume a desktop with a beefy graphics card or a Mac with plenty of unified memory. Edge devices are a different bet: a Raspberry Pi or a small mini PC that sits on a desk, in a workshop, or inside a retail store, quietly answering questions without ever sending data to the cloud. The appeal is simple. First, privacy: customer records, internal documents, and shop-floor notes never leave the building. Second, independence: the model keeps working when the internet drops, which matters in warehouses, rural clinics, and field offices. Third, cost: a one-time hardware purchase of a few hundred dollars replaces a monthly API bill that grows with every query.
The trade-off is equally simple. Edge hardware is weak compared with a gaming GPU, so you cannot run a 70-billion-parameter flagship model and expect fluent answers. You run small models — 1 to 8 billion parameters, heavily quantized — and you design the job around what they do well: summarization, classification, extraction, and short-form drafting. If you accept that boundary up front, edge deployment is surprisingly practical. If you expect ChatGPT-level reasoning on a $75 board, you will be disappointed.
What hardware can actually run a model
Memory is the hard limit, not CPU speed. A model quantized to 4-bit precision needs roughly 0.6 GB of RAM per billion parameters, plus overhead for the context window. That gives you a quick rule of thumb: an 8 GB board can hold a 7–8B model, a 16 GB machine can hold it comfortably with room for a long conversation, and anything below 4 GB is limited to 1–3B models.
| Device | RAM | Realistic model size | Best for |
|---|---|---|---|
| Raspberry Pi 5 (8 GB) | 8 GB | Up to 7–8B (Q4) | Single-user assistant, document Q&A |
| Mini PC (Intel N100) | 16 GB | Up to 8B, faster tokens | Small team shared assistant |
| Mini PC (AMD Ryzen 7) | 32 GB | Up to 14B (Q4) | Heavier workloads, longer context |
| Orange Pi 5 / RK3588 board | 8–16 GB | Up to 7B (Q4) | Low-power always-on setups |
Storage matters too. Model files are 4–9 GB each, and SD cards on a Pi are slow and wear out under heavy writes. Use an NVMe SSD over USB 3 or the Pi 5's PCIe HAT for the model directory, and keep the operating system on a separate card. Active cooling is not optional for sustained use: a passively cooled Pi throttles within minutes under full load, and token speed can drop by a third.
Picking the right small model
Not every small model is worth your time. On edge hardware, three qualities matter more than benchmark scores: a small quantized file, good instruction following at 4-bit precision, and a context window big enough for your documents. These are the models that consistently deliver in 2026:
- Qwen 3 4B / 8B: strong general ability and good multilingual support; the 4B version is the sweet spot for a Pi 5.
- Llama 3.2 3B: a reliable all-rounder for summarization and classification, with wide tooling support.
- Gemma 3 4B: excellent instruction following at small sizes, good for structured extraction tasks.
- Phi-4-mini (3.8B): surprisingly strong reasoning for its size, best for logic-heavy short answers.
Quantization is where the magic happens. A Q4_K_M file keeps roughly 95% of the model's quality while cutting its size to about a quarter of the original. Dropping to Q2 or 1-bit formats saves more space but visibly degrades answers, and on edge hardware the extra speed is rarely worth the quality loss. If you want the full reasoning, read our guide to quantization on consumer hardware.
Setup in about 30 minutes
The fastest path on both Pi and mini PC is Ollama. It handles model downloads, quantization choices, and a local API server in one install. On a Debian-based system, the whole setup is three commands:
If you need more control — custom prompts, grammar-constrained output, or the last drop of speed — llama.cpp is the lower-level alternative. Build it with the right flags for your chip (ARM NEON on Pi, AVX2 on x86 mini PCs), then serve it over its built-in HTTP endpoint. Our walkthrough of Ollama on Mac and Linux covers the API patterns that transfer directly to edge boxes, since the server interface is identical.
Three setup mistakes to avoid
- Binding the server to all interfaces. By default Ollama listens on localhost only. If you open it to the network, put it behind a firewall rule or a reverse proxy with authentication — an open LLM endpoint on a shop network is a free compute giveaway.
- Running the model from an SD card. Slow reads stall the first token of every request. Move the model directory to SSD before you judge speed.
- Skipping a swap file. An 8 GB board with a 7B model leaves almost no headroom. A modest swap file prevents the out-of-memory killer from taking down the server mid-conversation.
Real speed: what to actually expect
Forget marketing numbers. On real edge hardware, measured in tokens per second during generation, the picture looks like this:
| Setup | Model | Speed | Feels like |
|---|---|---|---|
| Raspberry Pi 5 | Qwen 3 4B (Q4) | ~6–9 tok/s | Steady typing speed |
| Mini PC N100 | Llama 3.2 3B (Q4) | ~12–18 tok/s | Comfortable chat |
| Mini PC Ryzen 7 | Qwen 3 8B (Q4) | ~20–30 tok/s | Near-instant short answers |
At 8 tokens per second, a 200-word answer takes about 30 seconds. That is fine for a back-office summarizer that processes documents in batches, and too slow for a live customer-facing chatbot. Design around it: use the edge model for batch jobs, drafts, and triage, and escalate only the hard cases to a cloud model or a human. Prompt design helps too — asking for short, structured output instead of long essays can halve the wait.
Limits and notes
Edge deployment shines for private, offline, low-volume work. It is the wrong tool for real-time customer chat at scale, for models that need deep multi-step reasoning, or for teams that need the newest model the week it releases — updating a local model is a manual download, not a silent API upgrade. Before rolling out to a team, run through a proper acceptance checklist: test with your real documents, measure speed on your actual hardware, and confirm the model handles your edge cases. Our rollout checklist for small teams covers that process step by step.
Start with one device, one model, and one job. Prove the value on a single workflow — daily report summaries, ticket triage, or meeting-note extraction — then scale to more devices only when the first one earns its keep.