Want us to handle everything? Get fully managed hosting, free to start.
Raspberry Pi 5
Ultra low-power AI server
Build a dedicated AI assistant for under $100. Perfect for tinkerers who want an always-on, low-power solution.
Why Raspberry Pi 5?
Affordable
Complete setup under $100. No monthly server costs.
Low Power
Uses only 5-15W. Run 24/7 for pennies per month.
Silent
No fans in passive cases. Perfect for any room.
Educational
Great learning project for Linux and Docker.
Pros and Cons
Advantages
- ✓Lowest cost - Complete setup under $100
- ✓Ultra low power - Only 5-15W, runs for pennies/month
- ✓Completely silent - No fans in passive cooling cases
- ✓Tiny footprint - Credit card sized, hides anywhere
- ✓Flexible messaging setup - Web chat and your preferred messaging flow can be configured on self-hosted installs
- ✓Complete privacy - Data stays on your hardware
- ✓Great learning project - Learn Linux, Docker, networking
- ✓GPIO for IoT - Can integrate with home automation
Disadvantages
- ✗Limited performance - ARM CPU is slower than x86 servers
- ✗8GB RAM maximum - Can be limiting for heavy workloads
- ✗SD card reliability - microSD cards can fail; NVMe recommended
- ✗Heat management - Pi 5 runs hot; needs good cooling
- ✗Slower Docker pulls - Initial setup takes longer on ARM
- ✗Some assembly required - Need to buy/assemble components
Things to Consider
Pi 5 vs Pi 4
Pi 5 (Recommended): 2-3x faster CPU, native PCIe for NVMe, better thermals.
Pi 4: Works but noticeably slower. Good if you already have one.
Pi 3 and older: Not recommended - too slow for Docker workloads.
Storage: SD Card vs NVMe
microSD ($15-30):Cheaper, simpler, but slower and less reliable long-term. SD cards can wear out from Docker's frequent writes.
NVMe via HAT ($40-80 total): 5-10x faster, much more reliable, recommended for serious use. Requires a Pi 5 M.2 HAT ($15-20) plus an NVMe drive ($25-50).
Cooling Requirements
Pi 5 runs hot under load. Minimum: Heatsink and passive case with good airflow.Recommended: Official active cooler or case with fan. Without proper cooling, the Pi will thermal throttle and slow down significantly.
4GB vs 8GB RAM
4GB ($60): Works for OpenClaw alone, but tight. Leave little headroom.
8GB ($80): Recommended. Comfortable for Docker + OpenClaw + room to grow. Only $20 more for double the RAM - worth it.
Power Supply
Pi 5 requires a proper 27W USB-C power supply. Underpowered supplies cause instability and "undervoltage" warnings. The official Pi 5 power supply is recommended - cheap alternatives often don't deliver enough current.
Expected Performance
OpenClaw will work well on Pi 5. Initial Docker image pull takes 5-10 minutes. After that, response times are good for personal use. Not suitable for high-traffic production deployments, but perfect for individual or small family use.
What You Need
Raspberry Pi 5 (8GB recommended)
4GB model works but 8GB is better for Docker
~$80
microSD card (32GB+) or NVMe SSD
NVMe via HAT recommended for speed and reliability
~$15-50
USB-C Power Supply (27W)
Official Raspberry Pi power supply recommended
~$12
Case with cooling
Active cooler or good passive case
~$10-20
Ethernet cable (recommended)
WiFi works but wired is more reliable
~$5
Total estimated cost: $95-170
Recommended Kits
Step 1: Install Raspberry Pi OS
Download Raspberry Pi Imager
Download and install the official Raspberry Pi Imager on your computer:
Download Raspberry Pi Imager →Flash the OS
- 1. Insert your microSD card into your computer
- 2. Open Raspberry Pi Imager
- 3. Choose Raspberry Pi 5 as device
- 4. Choose Raspberry Pi OS (64-bit) - Lite version recommended
- 5. Click the gear icon to configure:
Configure these settings:
- • Set hostname:
openclaw - • Enable SSH (use password or key)
- • Set username and password
- • Configure WiFi (if not using ethernet)
- • Set timezone
6. Click Write and wait for completion
Step 2: Boot and Connect
First boot
- 1. Insert the microSD card into your Raspberry Pi
- 2. Connect ethernet (if using)
- 3. Connect power - it will boot automatically
- 4. Wait 1-2 minutes for first boot to complete
Connect via SSH
ssh [email protected]If openclaw.localdoesn't work, find the IP in your router's admin page.
Step 3: Install Docker
Run these commands on your Raspberry Pi:
# Update system
sudo apt update && sudo apt upgrade -y
# Install Docker
curl -fsSL https://get.docker.com | sh
# Add your user to docker group
sudo usermod -aG docker $USER
# Apply changes (or reboot)
newgrp docker
# Verify installation
docker run hello-worldStep 4: Deploy OpenClaw
Create directory and compose file
# Create directory
mkdir -p ~/openclaw && cd ~/openclaw
# Create docker-compose.yml
cat > docker-compose.yml << 'EOF'
version: '3.8'
services:
openclaw:
image: openclaw/openclaw:latest
container_name: openclaw
restart: unless-stopped
ports:
- "8080:8080"
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- GATEWAY_TOKEN=${GATEWAY_TOKEN}
volumes:
- ./data:/app/data
EOFCreate .env file
cat > .env << EOF
OPENROUTER_API_KEY=sk-or-your-key-here
GATEWAY_TOKEN=$(openssl rand -hex 32)
EOFReplace sk-or-your-key-here with your actual BYOK provider API key.
Start OpenClaw
docker compose up -dFirst pull may be slow on SD card. NVMe is much faster.
Step 5: Enable Auto-Start
Create a systemd service so OpenClaw starts automatically on boot:
sudo cat > /etc/systemd/system/openclaw.service << EOF
[Unit]
Description=OpenClaw AI Assistant
After=docker.service
Requires=docker.service
[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/home/$USER/openclaw
ExecStart=/usr/bin/docker compose up -d
ExecStop=/usr/bin/docker compose down
User=$USER
Group=docker
[Install]
WantedBy=multi-user.target
EOF
# Enable the service
sudo systemctl daemon-reload
sudo systemctl enable openclawAccessing OpenClaw
Local Network
Access from any device on your network:
http://openclaw.local:8080Or use the IP address: http://RASPBERRY_PI_IP:8080
Remote Access (Optional)
Access your Pi from anywhere with Cloudflare Tunnel. No port forwarding needed.
Follow our Cloudflare Tunnel guide →Performance Tips
Use NVMe storage
An NVMe SSD via a HAT is 5-10x faster than microSD. Highly recommended for Docker.
Enable zram
Raspberry Pi OS has zram enabled by default, which helps with the limited RAM.
Good cooling
Pi 5 runs hot. Use the official active cooler or a case with good airflow.
Wired ethernet
Gigabit ethernet is faster and more reliable than WiFi for an always-on server.
Need Help?
Don't want to set it up yourself? We can help.