OpenClaw on Raspberry Pi 5: The cheap, isolated AI agent box
The Raspberry Pi 5 is no longer an $80 board, but it is still the cheapest way to give an OpenClaw agent its own isolated box.

This post contains affiliate links. We may earn a commission if you make a purchase, at no extra cost to you. As an Amazon Associate, Dadnology earns from qualifying purchases.
1. The low-budget AI revolution: Beyond the Mac mini hype
🦞 This guide is part of our OpenClaw Master Hub – every guide to running your own AI agent at home, from first install to family automations.
The AI world has been set ablaze by OpenClaw (formerly known as Clawdbot), a self-hosted agent gateway that promises the “Jarvis fantasy”—a persistent, proactive assistant that handles your calendar, messages, and computer tasks 24/7. But this surge in popularity has birthed an expensive misconception: that you need a Mac mini to join in, and the cheapest Mac mini now starts at $899 with the M6 chip.
Don’t get us wrong—we like the Mac mini a lot. We’ve argued that the Mac mini is the definitive ‘Best Buy’ for anyone who wants to run big models locally. But there’s a big difference between “running a model” and “running an agent.” For a tool meant to stay on indefinitely, the goal isn’t raw local compute—it’s right-sized reliability. And as any dad knows, the gadget you actually keep using is the one that’s cheap enough to leave running in a cupboard and forget about.
The “Dadnology” thesis: Brain vs. Nervous system
To understand why you might be overspending, you need the architecture of an AI agent, which we split into the Brain and the Nervous System.
- The Brain: Where the heavy mathematical lifting happens—reasoning and logic.
- The Nervous System: The interface—the “hands” that type commands and the “memory” that stores logs.
If you’re using cloud-based intelligence (like Anthropic’s Claude) as your “Brain,” your local hardware only needs to be a competent Nervous System. The Raspberry Pi 5 is the world’s best nervous system. Shift your architecture this way and you get a persistent AI presence for a fraction of the entry price of a modern desktop.
One honest correction to how this guide first read: the “$80 Raspberry Pi” is gone. That was the 8GB board’s price at launch. After three memory-driven price rises (December 2025, February 2026 and April 2026), Raspberry Pi lists the 8GB Pi 5 at $175 in its April 2026 product brief, and the 16GB model at $305. The argument still holds, because $175 is about a fifth of the $899 Mac mini M6. It is just no longer a pocket-money gadget.
2. The hardware blueprint: Why the Pi 5 is the sweet spot
In the home-lab world, the Raspberry Pi 5 (8GB) is the professional’s choice for a stable gateway. The core OpenClaw software can technically squeeze onto less RAM, but the 8GB model is the “Architect’s Safety Margin”—enough headroom for the gateway, a browser skill, and logging at the same time.
Efficiency comparison
| Feature | Raspberry Pi 5 (8GB) | Standard Desktop / Mac Mini |
|---|---|---|
| RAM Overhead | 8GB (dedicated to agent) | 8–16GB (shared with OS) |
| Idle power | A few watts | 4W (Mac mini M6, Apple's figure) |
| Upfront cost (list price) | $175 board, more with case, SSD and power supply | $899 (Mac mini M6, 16GB) |
| Isolation | Physical 'air-gap' possible | Usually on your main network |
A correction on electricity, because older guides (this one included) got it wrong: a modern Mac mini is not a power hog. Apple measures the Mac mini M6 at 4W idle and 70W at most, measured at the wall. A Pi 5 idles at a few watts too, so on an agent that mostly waits, the power bill is not the reason to pick one over the other. The reasons are price and isolation.
The “SD card trap” & storage longevity
A common beginner mistake is running a persistent agent off a standard MicroSD card. Don’t. SD cards aren’t built for the high-frequency random writes a 24/7 agent generates—logs, session memory, temp files—and they fail, usually at the worst possible moment.
For a professional-grade assistant you need an NVMe SSD. We recommend the Argon ONE V5 case because it integrates an NVMe slot into a cooled chassis, and the Crucial P310 500GB as the drive itself. SSD prices climbed in 2026 for the same memory reasons as the Pi, so check the box below for today’s price before you assume the drive is the cheap part. Pair that with the official 27W USB-C supply—a phone charger will cause random reboots the moment the NVMe drive draws power, and a reboot mid-task is how your agent “forgets” what it was doing.
Want a local brain? The AI HAT+ option
If keeping data fully off the cloud matters to you, the Raspberry Pi AI HAT+ adds a dedicated accelerator (13 or 26 TOPS; Raspberry Pi lists it from $70, and the 26 TOPS version we link costs more) so the Pi can run small specialised models, mostly vision models, locally. It does not turn the Pi into a chatbot brain. For language models Raspberry Pi sells a separate AI HAT+ 2 with its own memory on the board. It’s optional—most people are happiest letting a cloud brain do the reasoning—but it’s there if you want a true offline agent.
3. Architecture deep-dive: Gateway vs. Brain
- The Nervous System (Gateway): Your Raspberry Pi manages session identity. It’s the “hands”—executing shell commands, browsing the web, reading the one folder you point it at.
- The Brain (Reasoning Engine): Instead of melting a local CPU, you call high-performance APIs for reasoning. This “cost-hack” gives you top-tier intelligence without the hardware bill, and you only pay tokens for what you actually use.
The beauty of this split is that you can upgrade the brain (swap models) without touching the hardware, and you can lock down the hands (the Pi) without limiting how smart the agent is.
4. Security strategy: The physical air-gap
Giving an AI agent shell access is “spicy.” The single greatest threat to a local agent is prompt injection—a malicious web page or document that tricks the model into running commands it shouldn’t. No amount of clever prompting fully eliminates it. The Raspberry Pi offers a defence no software can match: physical isolation.
The sandbox strategy
- Containment: If your bot is compromised, only the small sandbox board is at risk. Your primary machine stays physically separate.
- Network control: Put the Pi on a dedicated IoT VLAN. Even a “poisoned” agent then can’t scan your NAS or reach the family laptops.
- Least access: Only mount the specific folder the agent needs (e.g. a
research/share). It can’t leak what it can’t see.
This is exactly the kind of containment we go deep on in our dedicated OpenClaw security & sandboxing guide—worth reading before you give any agent the keys.
5. Deployment guide: The 10-minute headless setup
- OS selection: Flash Raspberry Pi OS Lite (64-bit) to your NVMe drive—no desktop needed.
- The scripted installer: SSH into the Pi and run the official one-liner:
curl -fsSL https://openclaw.ai/install.sh | bash - The Wi-Fi fix: Stop Wi-Fi from sleeping (a classic source of “my agent went unresponsive”):
echo -e "[connection]\nwifi.powersave = 2" | sudo tee /etc/NetworkManager/conf.d/wifi-powersave-off.conf && sudo systemctl restart NetworkManager - Connect your interface: Link the agent to Telegram or WhatsApp so you can “text your house” from the school run.
If you hit speed issues, remember the Pi is a gateway—heavy reasoning belongs in the cloud brain. Our troubleshooting guide covers the usual latency and memory culprits.
6. Pi or Mac mini? A 30-second decision
The two articles people bounce between are this one and the Mac mini Best Buy guide. Here’s the honest decision tree, no fence-sitting:
- Pick the Raspberry Pi 5 if you’re using a cloud brain (Claude, GPT, Gemini) for reasoning, you want the lowest possible running cost, and security-through-isolation matters more to you than raw local horsepower. This is the right call for most families and anyone testing the waters.
- Pick a Mac mini if you want to run models locally, you’ll also use the machine for other heavy tasks, and the upfront cost isn’t a barrier. Be realistic about size: the $899 M6 with 16GB runs small models well, while the stronger 27B to 35B models such as Qwen 3.6 (18 to 23GB) want 48GB of memory for comfortable headroom, which means a configured-up Mac mini at well over $1,000. This is the call for privacy purists and power users.
- Pick both, eventually, if you get hooked: a Pi as the always-on “hands” on its isolated VLAN, talking to a beefier brain elsewhere. That’s the home-lab endgame, but it’s overkill for a first build.
If you’re still unsure, start with the Pi. It’s the cheapest way to learn what you actually need, and a $175 mistake is a far better teacher than a $899 one. Worst case, you graduate to a Mac mini later having learned exactly which workloads you care about.
Don’t forget the cloud-brain bill
One number people miss: if your Pi calls a cloud API for reasoning, that is your real ongoing cost, not the 5 watts of electricity. For light family use it’s typically a few dollars a month, but an agent left to “research continuously” can surprise you. Set a spending cap on your API key from day one—we explain exactly how in the security guide. The Pi keeps the hardware cost near zero; capped keys keep the brain cost predictable.
7. Three mistakes that kill a Pi agent
Most “my Pi agent is unreliable” complaints trace back to the same three errors. Avoid them and you skip 90% of the pain:
- The SD-card boot. We said it above, but it’s the number-one killer: a 24/7 agent will shred a MicroSD card. Boot from NVMe, full stop. If your agent randomly “forgets everything” after a few weeks, a corrupted SD card is the prime suspect.
- The phone-charger power supply. The Pi 5 draws real current, especially with an NVMe drive attached. Use anything less than the official 27W supply and you’ll get random reboots under load—precisely when the agent is doing useful work. These reboots look like software bugs but are pure power starvation.
- No cooling. A bare board throttles hard during sustained tasks, making the agent feel sluggish and unpredictable. The Argon ONE V5’s active cooling keeps clock speeds stable so “fast on Monday, crawling by Friday” never happens.
Get the boot drive, power, and cooling right and the Pi becomes genuinely set-and-forget. Get them wrong and you’ll blame OpenClaw for what is really a hardware-hygiene problem.
8. What it really costs in late 2026
The Pi’s whole pitch was price, so here is the honest arithmetic after a year of price rises. Raspberry Pi’s own list prices for the Pi 5 moved like this for the 8GB model: $80 at launch, $95 from December 2025, $125 from February 2026 and $175 from April 2026. Raspberry Pi blamed memory each time; Eben Upton described a seven-fold rise in the price of the LPDDR4 memory the board uses. The October 2026 round raised only the 2GB models, so the 8GB board is still at $175.
What that means for a build:
- The board: $175 list for 8GB. The 4GB model is cheaper and runs the OpenClaw gateway, but leaves little room once a browser skill is running. The 16GB model at $305 is hard to justify for a gateway.
- The parts you cannot skip: a case with an NVMe slot and cooling, an NVMe drive and the official 27W power supply. Together they add a real share on top of the board, and the drive is the part whose price moves most. The product boxes on this page show today’s prices.
- The optional accelerator: the AI HAT+ (from $70 for the 13 TOPS version) only if you want vision models to run locally.
Add it up and a complete Pi agent box no longer costs a tenth of a Mac mini. Against the $899 Mac mini M6, the board alone is about a fifth, and the full kit lands closer to a third. That is still a big gap, but it changes the decision in one place: if you were going to buy a Mac mini anyway for the family desk, running the agent on a separate user account there is cheaper than a second box. If the agent is the only reason to buy hardware, the Pi still wins.
Two more costs people forget. First, the cloud brain: a Pi agent calls an API for its reasoning, and that bill depends entirely on how much you let the agent do. Set a spending cap on the API key before the first run. Second, your time: a headless Linux box needs updates, and an agent with shell access deserves the attention. Plan on a few minutes a month for sudo apt update && sudo apt full-upgrade and an OpenClaw update, which is the same chore a Mac mini needs.
If the price rises push the Pi out of your budget, look at what you already own before buying anything. An old laptop with its lid closed or a retired Mac mini on its own network segment gives you the same isolation for nothing, as long as it holds no family data. The point was never the Raspberry Pi logo. It was a separate, cheap, boring box that the agent can break without breaking anything else.
Pros
- Board at $175 list vs $899 for the cheapest Mac mini
- Idles at a few watts, silent with a cooled case
- Physical air-gap limits the blast radius of a compromised agent
- NVMe + Argon case gives genuine server-grade reliability
- Optional AI HAT+ adds local inference when you want it
Cons
- CPU alone can't run large models locally—needs a cloud brain or the AI HAT+
- Initial headless setup assumes basic terminal comfort
- You must buy the NVMe + proper PSU; the bare board alone isn't enough
- 2026 memory price rises more than doubled the 8GB board's price since launch
9. Final verdict: You don’t need a Mac mini to join in
The Raspberry Pi 5 (8GB) is still the budget pick for OpenClaw: a separate, isolated box for the agent, at about a fifth of a Mac mini M6 for the board. It loses a point for the 2026 price rises, which turned an $80 board into a $175 one and shrank the gap to a Mac mini, and because a true local brain still needs a cloud API or much bigger hardware. As a secure, always-on gateway on a budget, it remains the one we would point a first-time builder to.
Related guides
- The Power Move: Build your 24/7 AI hub on Mac mini M4
- Lock it down: OpenClaw security & sandboxing guide
- The Business Case: Earning passive income with an isolated AI agent
FAQ – Common questions
Is the Raspberry Pi 5 powerful enough to run a local AI model?
Is 8GB of RAM enough for OpenClaw?
Why can't I just use a MicroSD card?
How is a Pi 'safer' than running OpenClaw on my main computer?
Does OpenClaw work on the older Raspberry Pi 4?
Keep this in your inbox
One email a week: what we actually watched, built and reviewed — the stuff worth a dad's time. No hype, no daily spam.
Dadnology Weekly
One email a week: the LEGO, gaming and movie news worth a dad's time — plus what we actually reviewed. No hype, no daily spam.
Disclaimer: This review and its visuals were created with the help of AI. Some links may be affiliate links – we may earn a commission if you make a purchase, at no extra cost to you.
Current deals in Tech & gadgets
Verified live discounts tracked on Amazon



Tech & gadgets · Tested by Dadnology
Apple iPad Air (M4, 11-inch)
5/5“One of the best products Apple has ever made”Read our reviewYou might also like


Hermes Agent's Quicksilver release: What's new in v0.19.0
Hermes Agent shipped v0.19.0 (the Quicksilver Release) on July 20 — an 80% faster cold start, Bitwarden and 1Password integration, and a real security hardening pass.


Hermes Agent hardware requirements: The 24GB sweet spot explained
The real Hermes Agent hardware requirements for running Qwen 3.6 27B locally: why agents need more memory than chatbots, the 24GB sweet spot, and what to buy.


OpenClaw 2.0 is out: Team features, and a real security warning
OpenClaw 2.0 just shipped with team collaboration and a new browser UI - but sandboxing is disabled by default, and that matters if you're running it at home.