Can a Raspberry Pi run a home AI server?
Updated November 3, 2026.
A Raspberry Pi is a reasonable machine for light, always-on AI jobs and a poor one for large language models. The clearest evidence in vendor documentation is about voice. Home Assistant says its Speech-to-Phrase engine transcribes in under one second on a Raspberry Pi 4 or a Home Assistant Green, and that its Piper text-to-speech system is optimized for the Raspberry Pi 4. For language models, Ollama publishes its own memory guidance, covered below. Memory sizes for each Pi model are not covered here, so confirm them on the maker's own product pages.
What a Pi can do well
Home Assistant's local voice guide gives measured examples for a Raspberry Pi 4. Speech-to-Phrase, a close-ended model, takes under one second per command. Whisper, an open-ended model, takes around 8 seconds per command on the same board, against under a second on an Intel NUC. Piper, using medium quality models on a Raspberry Pi, generates 1.6 seconds of voice in a second. Those numbers come from Home Assistant's documentation for those programs on that board and will not carry over to other software. Our page on a fully local home voice assistant walks through the pipeline.
What Ollama needs
Ollama's Linux instructions include a separate ARM64 install: you download and extract the ARM64 package, ollama-linux-arm64, instead of the standard x86 one. That tells you the software has an ARM Linux build; it does not say how well any model runs on a particular Pi. For memory, the quickstart gives a worked example. The Gemma 4 E2B model has a download of about 7.2 GB, and Ollama recommends 8 GB of available VRAM, or unified memory on a Mac. It adds that with less VRAM Ollama can use system RAM, but responses may be slower. Ollama's FAQ explains how to check this: ollama ps shows a Processor column, where 100% CPU means the model was loaded entirely in system memory.
The context length page adds another cost. Ollama defaults to 4k context below 24 GiB of VRAM, and setting a larger context length increases the memory a model needs. So a bigger model, a longer context, or both push memory use up, and a board with limited memory is the first place it shows. Our page on GPU memory explains how model size turns into a memory estimate.
Where a Pi falls short
The llama.cpp README lists ARM NEON among its optimizations, which shows that inference on ARM processors is supported, and it lists 1.5-bit through 8-bit quantization for reduced memory use. It does not publish speeds for any Raspberry Pi model, and neither does Ollama's documentation, so any claim about tokens per second on a Pi is something you should measure yourself. A smaller model and a smaller quantization are the levers the documentation supports, because they cut memory. A practical plan is to run a voice pipeline on the Pi and keep a larger model on a stronger machine on the same network, as Home Assistant's Ollama integration allows: it connects to an external Ollama server over the network.
Checking before you buy
Pick the model first, then the machine. Write down the download size of the model you want, add room for the context length you need, and compare the total against the memory of the board as listed by its maker. If it does not fit, choose a smaller model or a different machine. Our page on laptops versus dedicated servers compares the other options, and the security checklist applies to a Pi on your network as much as to any other server.
Frequently asked questions
Can a Raspberry Pi run Ollama?
Ollama has an ARM64 package for Linux. Whether a given model is usable on a given Pi depends on the model size and the Pi's memory, which is an estimate you should test. Ollama recommends 8 GB of VRAM or unified memory for its Gemma 4 E2B example, and says it can use system RAM with slower responses.
What voice work does Home Assistant document on a Raspberry Pi 4?
Speech-to-Phrase transcribes in under one second, Whisper takes about 8 seconds per command, and Piper generates 1.6 seconds of voice in a second with medium quality models.
Can the Pi handle voice while another machine runs the language model?
Home Assistant's Ollama integration connects to an external Ollama server over the network, so the language model can run on a different machine from the voice pipeline.
How do I check whether a model is running in system memory?
Run ollama ps. The Processor column shows 100% CPU when the model was loaded entirely in system memory, and a CPU and GPU split when it is partly on the GPU.
Related
- How much GPU memory a local AI model needs
- Should local AI run on a laptop or a dedicated server?
- How do you secure a home AI server?
- How much storage does a local AI server need for model files?
Sources
- Home Assistant documentation, set up a fully local voice assistant
- Home Assistant documentation, Ollama integration
- Ollama documentation, Linux install and ARM64 package
- Ollama documentation, quickstart and memory recommendation
- Ollama documentation, context length
- Ollama documentation, frequently asked questions
- llama.cpp project README
Sources checked November 3, 2026. Figures that depend on your exact model, runtime or machine are estimates; check the source or test on your own hardware.
Adults only (18+). Private uncensored AI · Terms · Privacy · All guides