
Disclosure: As an Amazon Associate I earn from qualifying purchases.
A ChatGPT-style assistant that runs in your room, offline, and never sends your questions anywhere. No account, no subscription, no chat history on somebody else’s server — the model lives on a drive in your own house and answers from any phone, tablet, or laptop on your WiFi. About two hours, about $172 in parts, and the software costs exactly $0.
Get the full kit → jumps to the parts list. New here? Read the starter-kit guide first. Also see the Pi 5 home NAS (Project 17) and the Minecraft server (Project 03).
What a Pi 5 Can Actually Run (Honestly)
A Pi 5 has no graphics card and no AI accelerator unless you add one, so the chatbot runs entirely on its CPU. That means small models only: the 3-billion-parameter class, like Llama 3.2 3B or Qwen 2.5 3B, which fit comfortably in 8 GB of memory. They answer at a few words a second — roughly a short sentence every couple of seconds — slow next to a cloud chatbot, perfectly fine for a real conversation at a kitchen table.
What you get in return is the whole point: privacy. Every question stays on your own network, with no usage meter and no training data harvested from your chats. A 3B model will not beat a frontier model at trivia, and it will confidently invent facts if you let it — treat it as a brainstorming partner and homework helper, not an oracle. The tool that makes it possible is Ollama, free open-source software, and the models are free too. You are not buying intelligence — you are buying the computer it lives on.
What You’ll Need
- A Raspberry Pi 5, 8 GB — ~$80 est. The 8 GB model is the minimum: a 3B model plus the operating system needs most of it. The 4 GB board will boot Ollama and then spend its life swapping.
- A 500 GB NVMe SSD, M.2 2280 — ~$45 est. A 3B model is around 2 GB, and you will want three or four to try. NVMe is roughly ten times faster than a microSD card.
- An M.2 HAT+ for Raspberry Pi 5 — ~$15 est. The board that connects the NVMe drive to the Pi’s PCIe slot. Buy the Pi 5 version; the Pi 4 has no PCIe slot and cannot use one.
- A Raspberry Pi 5 Active Cooler — ~$10 est. A fan-and-heatsink that clips onto the board. Ollama keeps all four cores busy for minutes at a time, and a Pi 5 without a fan throttles itself slower exactly when you want speed.
- The official Raspberry Pi 27W USB-C power supply — ~$12 est. The Pi 5 wants 5 volts at 5 amps when it is working hard, and a phone charger will brown out under a full-core AI load.
- A 64 GB microSD card — ~$10 est. For the first boot and the operating system image. Once the NVMe drive is set up, the models live on the SSD.
Total: ~$172 in parts, est. (November 2026). Ollama and every model in this guide cost $0.
Step 1 — Put the Pi 5 on Fast Storage (About 30 Minutes)
Mount the M.2 HAT+ on the Pi 5’s GPIO header, seat the NVMe drive in the slot, and connect the ribbon cable between the board and the Pi — the cable’s blue edge faces the board, and the connector’s latch flips up before the cable slides in and down to lock it. Add the Active Cooler, plug in the official power supply, and boot Raspberry Pi OS from the microSD card, exactly as in the starter-kit guide.
Once the desktop is up, keep the operating system on the card and point Ollama at the NVMe drive for its models: format the drive, mount it, and tell Ollama where to keep its library. Never run models from the microSD card itself: it works, it is slow, and months of constant reads are exactly what kills cheap cards.
Step 2 — Install Ollama and Pull Your First Model (About 30 Minutes)
Ollama installs with one command in a terminal on the Pi:
curl -fsSL https://ollama.com/install.sh | sh
That installs Ollama as a background service — no account, no key, no signup screen. Then pull a first model, the same way you would download an app:
ollama pull llama3.2:3b
The download is about 2 GB, so give it a few minutes on your WiFi. When it finishes, start a chat with ollama run llama3.2:3b, type a question, and watch the answer arrive a few words a second. It will feel slow the first time — and then you will remember that no server anywhere is involved. Try a second model with ollama pull qwen2.5:3b — stronger at maths and code.
Step 3 — Chat From Any Device in the House (About 30 Minutes)
By default Ollama listens only on the Pi itself, so restart it with the network address set and it will take questions from any device on your WiFi:
OLLAMA_HOST=0.0.0.0:11434 ollama serve
From a laptop or phone on the same network, a simple chat page or a free chat app pointed at the Pi’s address on port 11434 is enough to start talking — no cloud account in between. Keep this on your own network and nowhere else: do not forward port 11434 through your router. An open Ollama server is an open door to your hardware, and the whole point of this build is that your conversations never leave the house.
Step 4 — Give It a Job (About 30 Minutes)
A generic chatbot is a novelty; a chatbot with a job is a tool. Ollama lets you wrap a model in a short instruction file called a Modelfile and save it as your own named assistant. A homework helper is a few lines:
FROM llama3.2:3bSYSTEM You are a patient tutor. Explain things simply, ask one question at a time, and never just give the answer.
Save that as Modelfile, create the assistant with ollama create kitchen-tutor -f Modelfile, and run it with ollama run kitchen-tutor. Now the same model behaves like a tutor instead of a trivia machine, and the personality lives in a file you own. The model is the engine; the Modelfile is the job description. Check anything that matters: small models hallucinate dates, names, and facts with total confidence.
What NOT to Buy
- A Pi 5 with 4 GB of memory. The 4 GB board is fine for Pi-hole and retro games, but a language model plus an operating system needs the 8 GB board’s headroom.
- A 70-billion-parameter model. The big famous models need tens of gigabytes of memory and a data-centre GPU. On a Pi 5 they will not load at all. Stay in the 3B class; stretch to 7B or 8B only on the 16 GB board.
- A heatsink with no fan. Ollama pins all four cores for minutes at a time and a fanless Pi 5 throttles itself to half speed to stay cool.
- A 2 TB NVMe drive “for all the models.” You will realistically keep three or four models, around 2 GB each. A 500 GB drive leaves room for a hundred of them.
- A paid AI subscription “to go with it.” The models are free, Ollama is free, and nothing leaves your network.
The Total, Honestly
- Pi 5 (8 GB): ~$80 est. · 500 GB NVMe SSD: ~$45 est. · M.2 HAT+: ~$15 est. · Active Cooler: ~$10 est. · 27W power supply: ~$12 est. · 64 GB microSD: ~$10 est.
- Total: ~$172 in parts, est. (November 2026). Already own a Pi 5 8 GB and a card? Then this is a ~$82 storage-and-cooling project, and the chatbot itself is free.
Build It This Weekend
Seat the NVMe drive on the HAT+, keep the Pi cool and properly powered, install Ollama with one command, pull a 3B model, and open it to the house network — LAN only, never the internet. Then give it a job with a Modelfile. Bench first: the Pi 5 8 GB, the NVMe drive, and the HAT+ that connects them.
Tomorrow’s build looks up, not in: an all-sky camera that watches the whole night sky and catches meteors while you sleep.
Where the series goes next: the Pi 5 home NAS (Project 17) puts the same NVMe storage to work as your own private cloud drive, and the full project library holds everything built so far.