HardwareAgent on a machine

OpenClaw on a Raspberry Pi 4 (and Pi 3): does it run?

Plenty of Raspberry Pi 4 boards sit in drawers, and OpenClaw's own docs call the 4 GB model "the sweet spot for most users". Whether yours will do depends almost entirely on its memory. Here is the project's table, what users report on the smaller boards, and why a Pi 3 is not worth the trouble.

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.

At a glance
Pi 4 memory options1, 2, 4 or 8 GB LPDDR4-3200
CPUBroadcom BCM2711, 4× Cortex-A72 at 1.8 GHz
Power5 V over USB-C, 3 A minimum
Fast storageUSB 3.0 (two ports); no PCIe connector, unlike the Pi 5
OpenClaw's rating4 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:

BoardMemoryOpenClaw's ratingOur reading
Pi 54 or 8 GBBest: fastest, recommendedThe one to buy new
Pi 48 GB(not listed separately)Room for the Docker sandbox
Pi 44 GBGood: sweet spot for most usersFine with a cloud model
Pi 42 GBOK: add swapThe gateway alone, nothing beside it
Pi 41 GBTight: possible with swap, minimal configBelow the default heap floor
Pi 3B+1 GBSlow: works but sluggishNot worth building on
Pi Zero 2 W512 MBNo: not recommendedTry 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

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?
Yes, on a 64-bit OS. OpenClaw's Raspberry Pi page rates the 4 GB Pi 4 "Good" and calls it the sweet spot for most users; 2 GB is "OK" with swap.
Does OpenClaw run on a 1 GB Raspberry Pi 4?
Barely. OpenClaw's table says "Tight: possible with swap, minimal config", and a user report found the gateway restart-looping because 1 GB is below the 2048 MiB heap floor its service installer uses.
Can OpenClaw run on a Raspberry Pi 3?
The Pi 3B+ (1 GB) is rated "Slow: works but sluggish" by the project. It also needs a 64-bit OS. It is not a board to build a daily agent on.
Does OpenClaw work on 32-bit Raspberry Pi OS?
No. Supported Node versions have no official ARMv7 builds, and OpenClaw's Pi page says the 64-bit OS is required.
Can I use an NVMe SSD on a Pi 4?
Not through PCIe: the Pi 4 has no PCIe connector. Use an SSD over USB 3.0 instead.

Sources