HardwareAgent on a machine

OpenClaw on a Raspberry Pi 5: which model, what to add, what breaks

OpenClaw's own Raspberry Pi page rates the Pi 5 "Best" of the boards it lists. The board is not the question; the memory size, the storage and the sandbox are. This page puts the project's requirements next to what a Pi 5 offers, and says what to buy.

In short: Buy the 8 GB Raspberry Pi 5, the 27 W supply and an NVMe SSD, run a 64-bit Raspberry Pi OS, and point OpenClaw at a cloud model. The 4 GB board runs the gateway, but leaves little room once the Docker sandbox is on. Do not plan a local model on it: OpenClaw's docs advise against it.

For OpenClaw with a cloud model: the Raspberry Pi 5, 8 GB.
Buy the Raspberry Pi 5 on Amazon
At a glance
OpenClaw minimum (its Pi page)1 GB RAM, 1 core, 500 MB free disk, 64-bit OS
OpenClaw recommends2 GB or more, a 16 GB SD card or a USB SSD, Ethernet
Pi 5 in its table4 GB and 8 GB: "Best", "Fastest, recommended"
RuntimeNode 24.16.0 or later on 24.x, or 26.1.0 or later; no 32-bit ARM builds
Our sizing (estimate)8 GB with the Docker sandbox; 16 GB with the browser image
Local modelNot on a Pi, per OpenClaw's docs: use a cloud model

Which Pi 5: 4, 8 or 16 GB

The Pi 5 is sold with 1, 2, 4, 8 or 16 GB, and the memory cannot be changed later. OpenClaw's minimum is 1 GB, but its own service installer reserves a heap of about half the machine's memory with a nominal floor of 2048 MiB, and users report the gateway settling around 1.3 GiB of resident memory on a 4 GB ARM board (issue #157791). The project has an open issue for a lean profile for machines of 2 GiB or less (#202373); until it ships, small boards run close to the edge.

Pi 5 memoryOpenClaw with a cloud model
2 GBRuns with swap; the gateway alone fills it
4 GBRuns; tight once a Docker sandbox runs beside it
8 GBThe one to buy: gateway, sandbox and headroom
16 GBFor the browser image (Chromium) or several sandboxes

The right column is our estimate from the project's figures and user reports, not a measurement. Per-agent figures: how much RAM an agent needs.

Storage: an SSD, not the SD card

OpenClaw's Pi page is blunt: "Use a USB SSD, SD cards are slow and wear out." On a Pi 5 the better option is NVMe through the PCIe connector: the M.2 HAT+ on Amazon takes 2230 and 2242 drives, such as the Raspberry Pi SSD. Which HAT and drive, and how to boot from it, are on Raspberry Pi 5 NVMe. If you stay on USB, note that a Pi 5 on a 3 A supply disables USB boot by default: one more reason for the 5 A supply.

Power: the 27 W supply

The Pi 5 boots on 3 A, but then limits USB peripherals to 600 mA in total; with a 5 A USB-PD supply it raises that to 1.6 A. An SSD and a busy agent need the higher budget, and an undervolted Pi can corrupt its storage. Buy the official 27 W supply (5.1 V, 5 A). What the warning messages mean: Pi 5 power supply warning.

Install, as OpenClaw documents it

On 64-bit Raspberry Pi OS (the docs say "required, do not use 32-bit"), the project's Pi page installs Node 24 from NodeSource, adds a 2 GB swap file ("important for 2 GB or less"), then runs its installer without the onboarding and starts onboarding with the service:

curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard
openclaw onboard --install-daemon
sudo loginctl enable-linger "$(whoami)"

The last line keeps the user service running after you log out of a headless Pi. Most features work on ARM64 unchanged; the docs warn that some optional command-line tools shipped by skills lack ARM builds.

Turn on the sandbox

OpenClaw's sandboxing is off by default: tools run on the Pi itself, with your files and your network. Configure a Docker or Podman backend from the first day; the official images (ghcr.io/openclaw/openclaw) are published for linux/arm64. Keep the gateway on loopback and reach it over SSH or Tailscale, as its VPS guide advises. The sandbox is what moves the comfortable size from 4 GB to 8 GB. Current OpenClaw vulnerabilities are listed on OpenClaw CVEs.

Heat and uptime

The Pi 5 slows its cores from 80 °C. An agent mostly waits on the network, so heat is rarely the limit, but a sandboxed build or a browser session can push it there; the Active Cooler keeps it below. How to check: Pi 5 throttling. The whole parts list, with a UPS, is on the Pi 5 kit page.

What to buy

The machine for this setup: the Raspberry Pi 5.
Buy the Raspberry Pi 5 on Amazon

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 5?
Yes. OpenClaw's Raspberry Pi page lists the Pi 5 with 4 or 8 GB as the best of the boards it covers, on a 64-bit Raspberry Pi OS, with a cloud model.
Is 4 GB enough for OpenClaw on a Pi 5?
For the gateway with a cloud model, yes. With the Docker sandbox that its docs recommend, 8 GB leaves headroom; that is our estimate, not a measurement.
Can I run a local model with OpenClaw on the Pi 5?
OpenClaw's docs say not to: even small models are too slow on a Pi to be useful. Use a cloud model, or run the model on another machine on your network.
Does OpenClaw need Docker on a Raspberry Pi?
No, Docker is optional to run it. It is the usual sandbox backend, though, and the sandbox is off by default, so plan for it.
SD card or SSD?
An SSD. OpenClaw's Pi page says SD cards are slow and wear out; on a Pi 5, NVMe through the M.2 HAT+ is the fast option.

Sources