In short: A Pi 4 with 4 GB or 8 GB runs OpenClaw with a cloud model, on a 64-bit OS and a USB SSD. A 2 GB board runs it with swap and little else. A 1 GB Pi 4 or a Pi 3 sits below the heap the gateway reserves for itself: do not build on one. Buying new? Get a Pi 5 instead.
| Pi 4 memory options | 1, 2, 4 or 8 GB LPDDR4-3200 |
|---|---|
| CPU | Broadcom BCM2711, 4× Cortex-A72 at 1.8 GHz |
| Power | 5 V over USB-C, 3 A minimum |
| Fast storage | USB 3.0 (two ports); no PCIe connector, unlike the Pi 5 |
| OpenClaw's rating | 4 GB "Good", 2 GB "OK, add swap", 1 GB "Tight" |
| Pi 3B+ | 1 GB: "Slow, works but sluggish" per OpenClaw's table |
OpenClaw's table, board by board
OpenClaw's Raspberry Pi page rates each board in these words:
| Board | Memory | OpenClaw's rating | Our reading |
|---|---|---|---|
| Pi 5 | 4 or 8 GB | Best: fastest, recommended | The one to buy new |
| Pi 4 | 8 GB | (not listed separately) | Room for the Docker sandbox |
| Pi 4 | 4 GB | Good: sweet spot for most users | Fine with a cloud model |
| Pi 4 | 2 GB | OK: add swap | The gateway alone, nothing beside it |
| Pi 4 | 1 GB | Tight: possible with swap, minimal config | Below the default heap floor |
| Pi 3B+ | 1 GB | Slow: works but sluggish | Not worth building on |
| Pi Zero 2 W | 512 MB | No: not recommended | Try ZeroClaw instead |
The last column is our reading of the project's figures and user reports, not a test.
Why the small boards struggle
When OpenClaw installs itself as a service, it sets Node's heap limit to about half the machine's memory, with a nominal floor of 2048 MiB. On a 1 GB Pi 4, a user report (issue #200671) found the gateway restart-looping under systemd: "the 1 GB host is below the gateway's own 2048 MiB heap floor". On a 2 GB Pi 4, an earlier release ran out of heap after an upgrade (issue #45440); the reported workaround was a manual heap setting, which a contributor called a workaround, not a fix. The project has an open issue for a lean profile for machines of about 2 GiB or less (#202373). The fix and the settings are on JavaScript heap out of memory.
A 64-bit OS, and Node 24
OpenClaw needs Node 24.16.0 or later (or 26.1.0 or later), and supported Node lines have no 32-bit ARM builds. Its Pi page says "64-bit Raspberry Pi OS (required, do not use 32-bit)". Many Pi 4 and Pi 3 cards still carry a 32-bit image from years ago: reflash with the 64-bit Lite image before anything else. The install steps are the same as on a Pi 5 (NodeSource Node 24, a 2 GB swap file, the installer, then openclaw onboard --install-daemon); they are listed on OpenClaw on a Raspberry Pi 5.
Storage: boot from a USB SSD
The Pi 4 has no PCIe connector, so NVMe HATs do not apply; its fast path is USB 3.0. Raspberry Pi says the Pi 4 boots from USB by default once USB is in the boot order, though early boards may need a bootloader update first. A small USB 3 SSD in one of the two blue ports replaces the SD card, of which OpenClaw's docs say "SD cards are slow and wear out"; it also gives the swap file a place that will not destroy the card (SD card corruption).
Power and heat
The Pi 4 asks for 5 V at 3 A over USB-C; an SSD on USB draws from the same budget, so use the official 15 W supply rather than a phone charger. Raspberry Pi defines no soft thermal limit for the Pi 4, only the 85 °C ceiling that applies to every model; a case with a fan keeps it away from that during installs and updates.
Keep it, or buy a Pi 5?
If you own a 4 GB or 8 GB Pi 4, use it: with a cloud model the agent waits on the network most of the time, and the Pi 4 does that fine. If you are buying, the Pi 5 is the better board: it has the PCIe connector for NVMe, a faster CPU, and is the board OpenClaw recommends. The comparison is on Raspberry Pi 4 vs Pi 5.
What to buy
- USB 3 SSD: boot and swap off the SD card, in a blue USB 3.0 port.
- Raspberry Pi 15 W USB-C supply: the 3 A the board and the SSD share.
- Raspberry Pi 5: if you are buying a board today.
Shop links go through /go/ and open Amazon (amazon.fr in the EU and Switzerland, amazon.com elsewhere). As an Amazon Associate we earn from qualifying purchases. Your price does not change and no brand pays for a place on this page (disclosure). We write no price down: it moves, the shop shows today's.
Questions
Can OpenClaw run on a Raspberry Pi 4?
Does OpenClaw run on a 1 GB Raspberry Pi 4?
Can OpenClaw run on a Raspberry Pi 3?
Does OpenClaw work on 32-bit Raspberry Pi OS?
Can I use an NVMe SSD on a Pi 4?
Sources
- OpenClaw docs, Raspberry Pi (compatibility table, install steps), read on 21 November 2026.
- OpenClaw docs, Node compatibility (no ARMv7 builds), read on 21 November 2026.
- OpenClaw docs, gateway service (managed heap sizing), read on 21 November 2026.
- OpenClaw issue #200671, restart loop on a 1 GB Raspberry Pi, read on 21 November 2026.
- OpenClaw issue #45440, memory growth and OOM on a Raspberry Pi 4, read on 21 November 2026.
- Raspberry Pi, Raspberry Pi 4 Model B specifications, read on 21 November 2026.
- Raspberry Pi documentation, boot modes, power and frequency management, read on 21 November 2026.