Tutorial

Run OpenClaw on a Raspberry Pi: The $50 AI Assistant

A $35 Raspberry Pi + free OpenClaw software + $10/month for AI = a full business assistant for under $50. Here's the complete setup guide.

February 16, 2026 · Espen · 10 min read

OpenClaw has 180,000+ GitHub stars and is used by thousands of developers and business owners worldwide. Learn more →

The $50 AI assistant

Raspberry Pi 4 ($35) + microSD card ($8) + power supply ($8) + OpenClaw (free) + MiniMax API (~$10/month) = a 24/7 AI assistant that handles email, messaging, scheduling, and customer support. First month total: ~$61. Every month after: ~$10.

A Redditor posted about running their entire AI assistant for $10/month — not on a cloud server, not on an expensive Mac, but on a Raspberry Pi sitting on their desk. The post went viral because it challenged the assumption that useful AI requires expensive infrastructure.

They were right. OpenClaw is lightweight enough to run on a $35 credit-card-sized computer while the heavy AI processing happens in the cloud. Here's how to build the same setup.

Why Raspberry Pi + OpenClaw

OpenClaw is a gateway, not an AI model. It receives messages from your channels (Telegram, Discord, WhatsApp), sends them to an AI API for processing, and delivers the response back. The Pi handles the easy part (routing messages). The cloud handles the hard part (thinking).

This architecture means OpenClaw runs beautifully on minimal hardware:

Compare that to keeping your laptop open 24/7 (noisy, power-hungry, ties up your machine) or paying $6/month for a VPS (adds up over time). The Pi pays for itself in hosting savings within six months.

Total Cost Breakdown

The Budget Build

~$45 first month

One-time hardware: ~$51 | Monthly: ~$10

The Recommended Build

~$75 first month

One-time hardware: ~$82 | Monthly: ~$12

For comparison, a cloud VPS that does the same thing costs $4-6/month — meaning the Pi pays for itself in about 12 months. After that, you're saving money every month forever. Plus you own the hardware and your data never leaves your network.

What You Need

You do not need: a case (nice to have, not required), a monitor, a keyboard, or a mouse. Headless setup via SSH is the way to go.

Step-by-Step Setup

Step 1: Flash the OS

Download Raspberry Pi Imager on your main computer. Flash Raspberry Pi OS Lite (64-bit) to your microSD card. In the imager settings, enable SSH, set a username/password, and configure your Wi-Fi.

Step 2: Boot and connect

Insert the SD card into the Pi, plug in power, and wait 60 seconds. Then SSH in from your main computer:

ssh pi@raspberrypi.local

If that doesn't work, find the Pi's IP address from your router's admin panel and use ssh pi@192.168.x.x.

Step 3: Update the system

sudo apt update && sudo apt upgrade -y

Step 4: Install Node.js

OpenClaw requires Node.js 20+:

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt install -y nodejs

Verify: node --version should show v22.x.

Step 5: Install OpenClaw

npm install -g openclaw

Then run the setup wizard:

openclaw init

This walks you through connecting your AI model and messaging channels. For detailed instructions, see our full installation guide.

Step 6: Configure your AI model

For the cheapest setup, use MiniMax or Claude Haiku 4.5:

# For Claude Haiku (best quality per dollar)
openclaw config set model.provider anthropic
openclaw config set model.name claude-haiku-4.5
openclaw config set model.apiKey sk-ant-your-key-here

# For MiniMax (cheapest option)
openclaw config set model.provider minimax
openclaw config set model.apiKey your-minimax-key

Step 7: Connect a channel

The fastest free channel is Telegram:

openclaw plugin add telegram
openclaw config set telegram.botToken YOUR_BOT_TOKEN

Get your bot token from @BotFather on Telegram. See our Telegram bot guide for details.

Step 8: Start OpenClaw and keep it running

# Start in the background
openclaw gateway start

# Or use systemd for auto-start on boot
sudo openclaw service install
sudo systemctl enable openclaw
sudo systemctl start openclaw

Your AI assistant is now running 24/7 on a $35 computer.

That's it! Open Telegram, message your bot, and watch it respond. The Pi handles the routing; the cloud AI handles the thinking. Total setup time: 20-30 minutes.

Choosing Your AI Model (Budget Options)

The AI model is your only ongoing cost. Here are the best budget options:

ProviderModel~Monthly CostQuality
MiniMaxMiniMax-Text-01$5-10Good
OpenAIGPT-4o mini$3-8Good
AnthropicClaude Haiku 4.5$5-12Very good
GoogleGemini Flash$2-5Good
Ollama (local)Llama 3.3 3B$0Basic

Best value: Claude Haiku 4.5 gives the best quality-per-dollar. For absolute minimum cost, GPT-4o mini or Gemini Flash are hard to beat.

Can you run local models on the Pi? Technically yes, via Ollama. A Pi 5 with 8GB RAM can run tiny models (1-3B parameters). But response times are 10-30 seconds and quality is noticeably worse. Cloud APIs are better in every way except privacy — and since OpenClaw is self-hosted, your data stays on your Pi anyway.

Cost control tip: Set a daily spend limit to avoid surprises: openclaw config set limits.maxDailySpend 1. At $1/day max, you'll never exceed $30/month even if something goes wrong. See our pricing guide for more cost tips.

Performance Benchmarks

Real-world performance on a Raspberry Pi 4 (4GB) with Claude Haiku 4.5:

MetricPi 4 (4GB)Pi 5 (4GB)VPS ($6/mo)
Message latency1.2-2.5s0.8-2.0s0.8-1.8s
CPU (idle)2-3%1-2%1-2%
CPU (active)8-15%5-10%5-10%
RAM usage~250MB~250MB~250MB
Messages/minute15-2020-3025-35
Uptime99.5%+99.5%+99.9%+

The bottleneck is the AI API response time (~0.5-1.5 seconds), not the Pi itself. For most use cases — personal assistant, small business bot, community management — a Pi is indistinguishable from a cloud server.

The $10/Month Reddit Story

A Reddit user posted in r/selfhosted about their OpenClaw setup:

"Running OpenClaw on a Pi 4 with MiniMax API. Total cost: $10/month. It handles my Telegram bot, manages my calendar, triages my email, and even responds to customer questions on WhatsApp. I used to pay $200/month for a virtual assistant who did less."

The post generated hundreds of comments, with many users sharing their own Pi-based setups. Common themes:

The key insight: you don't need expensive hardware to run a capable AI assistant. The intelligence comes from the cloud model; the Pi just needs to be a reliable messenger.

Free Blueprint: Get the step-by-step guide to installing your own Chief AI Officer.

Tips and Optimization

Keep it cool

A Pi running 24/7 benefits from a basic heatsink ($3-5). The Pi 5 especially benefits from active cooling under sustained load. For OpenClaw's lightweight workload, passive heatsinks are usually sufficient.

Use ethernet over Wi-Fi

For always-on reliability, plug in an ethernet cable. Wi-Fi can drop connections, especially on Pi 4. Ethernet is rock-solid and has lower latency.

Set up automatic backups

SD cards can fail. Set up a weekly backup of your OpenClaw config:

crontab -e
# Add this line for weekly backup
0 3 * * 0 tar -czf /home/pi/openclaw-backup-$(date +\%Y\%m\%d).tar.gz ~/.openclaw

Run alongside other services

A Pi 4 (4GB) can comfortably run OpenClaw alongside Pi-hole (ad blocking), Home Assistant (home automation), or a Wireguard VPN. OpenClaw's ~250MB RAM footprint leaves plenty of room.

Monitor remotely

Check on your Pi from anywhere:

# Check OpenClaw status
openclaw gateway status

# Check system resources
htop

# Check logs
openclaw logs --tail 50

What Can Your $50 AI Assistant Actually Do?

Running on a Pi doesn't limit OpenClaw's capabilities at all. Your $10/month assistant can:

For a full list, see our 15 best OpenClaw use cases — every single one works on a Pi.

Free: The AI Growth Breakdown

See how one business went from 0 to 600 daily visitors in 14 days using AI. The exact tools and results.

Get the Free Breakdown →