The Ultimate 2026 Guide to Hosting OpenClaw
OpenClaw is the most powerful open-source AI agent framework available today. It gives you a persistent, memory-equipped AI assistant that runs 24/7, executes real workflows, spawns sub-agents, and connects to everything from your smart home to your GitHub repos.
There's just one problem: you have to host it somewhere.
And if you've ever tried to self-host anything more complex than a static website, you know that "somewhere" is where weekends go to die. This guide breaks down every option — with real costs, real setup times, and real gotchas — so you can pick the right path for your situation.
Table of Contents
1. What OpenClaw Actually Needs to Run
Before we compare hosting options, let's get clear on the technical requirements. OpenClaw isn't a simple Docker container you spin up and forget. It's a stateful application with specific needs:
- Node.js v22+ — OpenClaw runs on Node. Not Python, not Go. You need a recent LTS version.
- Persistent storage — Memory files (MEMORY.md, daily notes, user profiles) need to survive restarts. This isn't stateless.
- Network access — Outbound HTTPS to AI providers (Anthropic, OpenAI, Google), and inbound webhooks if you want Telegram/WhatsApp.
- SSL/TLS — Telegram's Bot API requires HTTPS webhooks. Self-signed certs won't work.
- Always-on uptime — The whole point of an AI agent is that it's available 24/7. If your laptop sleeps, your agent sleeps.
- 1-2 GB RAM minimum — Node process + skills + browser automation (if used) add up fast.
- AI API access — You need at least one LLM provider key (Anthropic, OpenAI, Google, etc.).
With that in mind, let's look at your three options.
2. Option 1: The Mac Mini (Home Server)
The Mac Mini is the darling of the self-hosting community. It's quiet, low-power, and sits neatly on a shelf. But running OpenClaw on one is more work than you'd think.
Hardware Costs
- Mac Mini M4 (2025) — starts at €699 for the base model (16GB RAM, 256GB storage)
- Mac Mini M4 Pro — €1,399+ if you want more headroom
- Electricity — ~€3-5/month (Mac Mini draws 5-15W idle)
- UPS battery backup — €80-150 (optional, but your agent dies on power outages without one)
Setup Process
- Unbox Mac Mini, connect to network
- Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Install Node.js:
brew install node@22 - Install OpenClaw:
npm install -g openclaw - Configure your AI provider keys in
config.yaml - Set up a Telegram bot via BotFather
- Configure SSL — this is where it gets painful. Your home IP is dynamic, you need a domain, you need Let's Encrypt or Cloudflare Tunnel...
- Set up port forwarding on your router (or use a tunnel service)
- Configure launchd or pm2 to keep OpenClaw running after reboots
- Set up Time Machine or manual backups for your memory files
Realistic setup time: 4-8 hours for someone comfortable with the terminal. Longer if you've never configured SSL or port forwarding.
The Gotchas
- Dynamic IP — Your home IP changes. Telegram webhooks break every time it does. You need a DDNS service or Cloudflare Tunnel.
- ISP blocking — Some ISPs block inbound connections on residential plans. Check before you buy.
- Power outages — No UPS = no agent. And when it comes back, you need to make sure OpenClaw auto-restarts.
- macOS updates — Apple loves to reboot your machine. Hope you set up auto-restart.
- Security — You're exposing a port on your home network. One misconfigured firewall rule and you're in trouble.
- No redundancy — If the Mac Mini dies, your agent is gone until you replace it.
Bottom line: Great for tinkerers who already have a home server setup. Terrible first option if you just want an AI agent working in Telegram.
3. Option 2: The VPS (Cloud Server)
A Virtual Private Server from providers like Hetzner, DigitalOcean, Linode, or Vultr. This is the most common self-hosting path.
Monthly Costs
- Hetzner CX22 (2 vCPU, 4GB RAM) — €5.29/mo — best value in Europe
- DigitalOcean Basic (2 vCPU, 2GB RAM) — $12/mo
- Vultr Cloud Compute (2 vCPU, 4GB RAM) — $24/mo
- AI tokens — €10-25/mo depending on usage and model
Setup Process
# 1. Create a VPS (via provider dashboard — 5 min)
# 2. SSH in
ssh root@your-server-ip
# 3. Update system
apt update && apt upgrade -y
# 4. Install Node.js
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs
# 5. Install OpenClaw
npm install -g openclaw
# 6. Create a non-root user (security)
adduser openclaw
usermod -aG sudo openclaw
# 7. Set up firewall
ufw allow 22/tcp
ufw allow 443/tcp
ufw enable
# 8. Install Nginx + Certbot for SSL
apt install -y nginx certbot python3-certbot-nginx
# 9. Point your domain to the server IP (DNS A record)
# 10. Get SSL certificate
certbot --nginx -d yourdomain.com
# 11. Configure Nginx as reverse proxy to OpenClaw
# 12. Set up Telegram bot via BotFather
# 13. Configure OpenClaw config.yaml with:
# - AI provider keys
# - Telegram bot token
# - Webhook URL
# 14. Set up systemd service for auto-restart
# 15. Set up automated backups (cron + rsync or rclone)
# 16. Set up unattended-upgrades for security patches
Realistic setup time: 3-6 hours for someone who's done this before. A full weekend for beginners — and that's assuming nothing goes wrong with DNS propagation or SSL.
The Gotchas
- You are the sysadmin — Security patches, firewall rules, log rotation, disk space monitoring. It's all on you.
- SSL renewal — Certbot usually auto-renews, but when it doesn't... your Telegram webhooks silently break.
- Node.js version management — OpenClaw updates may require newer Node versions. You're managing this manually.
- Memory file backups — If you don't set up backups and the VPS dies, your agent's entire memory is gone.
- OpenClaw updates —
npm update -g openclawsounds simple until a breaking change drops and your agent is down at 3am. - Telegram webhook debugging — When messages stop arriving, is it DNS? SSL? Nginx? OpenClaw? The Telegram API? Good luck.
Bottom line: The most flexible option. Also the most time-consuming. You'll spend more time maintaining the server than using the agent.
4. Option 3: Managed Hosting (ClawHatch)
Full disclosure: this is our product. But we built it specifically because we got tired of the two options above.
ClawHatch is a fully-managed OpenClaw instance connected to Telegram. We handle the server, the SSL, the updates, the backups, and the Telegram bridge. You bring your API key and start chatting.
Costs
- ClawHatch — €9/mo (after 7-day free trial)
- AI tokens — €5-25/mo (you pay your provider directly, we don't mark up)
- Total — €14-34/mo
Setup Process
- Open Telegram
- Message @ClawHatchBot
- Paste your API key when prompted
- Done
Realistic setup time: under 60 seconds.
What's Included
- Dedicated, isolated server instance
- 50+ skills pre-installed and configured
- Telegram bot bridge (one-click)
- Daily automated backups
- Auto-updates with zero downtime
- SSL, firewall, security hardening — all managed
- Long-term memory (MEMORY.md) — editable, exportable
- Fallback model routing (30+ models)
- Sub-agent architecture
The Gotchas
- You don't own the server — If ClawHatch goes down, your agent goes down. (We mitigate this with an export-everything policy.)
- Less customization — You can't SSH in and install arbitrary packages. You work within the OpenClaw skill system.
- BYOK only — We don't bundle AI tokens. You need your own API key from Anthropic, OpenAI, or similar.
Bottom line: The fastest path from zero to a working AI agent in Telegram. Best for people who want to use OpenClaw, not maintain it.
5. Full Cost & Feature Comparison
| Mac Mini | VPS (Hetzner) | ClawHatch | |
|---|---|---|---|
| Upfront cost | €699-1,399 | €0 | €0 |
| Monthly cost | €3-5 (power) | €5-20 | €9 |
| AI token cost | €10-25 | €10-25 | €5-25 |
| Setup time | 4-8 hours | 3-6 hours | 60 seconds |
| Maintenance | You | You | Managed |
| SSL/HTTPS | Manual | Manual | Automatic |
| Backups | Manual | Manual | Daily, automatic |
| Updates | Manual | Manual | Auto, zero-downtime |
| Telegram bridge | Manual config | Manual config | One-click |
| Skills pre-loaded | Manual install | Manual install | 50+ ready |
| Customization | Full access | Full access | Skill system only |
| Best for | Tinkerers | Sysadmins | Everyone else |
6. Setting Up the Telegram Bot API Bridge
Regardless of which hosting option you choose, connecting OpenClaw to Telegram follows the same basic steps:
Step 1: Create a Bot with BotFather
- Open Telegram and message @BotFather
- Send
/newbot - Choose a name (e.g., "My OpenClaw Bot")
- Choose a username (must end in "bot", e.g.,
my_openclaw_bot) - Copy the API token BotFather gives you
Step 2: Configure OpenClaw
Add the bot token to your OpenClaw config:
channels:
telegram:
enabled: true
token: "YOUR_BOT_TOKEN_HERE"
allowedUsers:
- YOUR_TELEGRAM_USER_ID
Step 3: Set Up Webhooks (Self-Hosted Only)
If you're self-hosting, you need to configure the webhook URL. This requires a valid SSL certificate and a public-facing domain:
curl -F "url=https://yourdomain.com/telegram/webhook" \
https://api.telegram.org/botYOUR_TOKEN/setWebhook
This is the step where most self-hosters get stuck. DNS propagation, SSL cert issues, Nginx proxy misconfiguration — any one of these will silently break your bot.
With ClawHatch, this entire section doesn't exist. The Telegram bridge is pre-configured.
7. How to Use OpenClaw on Your Phone
One of the most common questions: "Can I run OpenClaw on my phone?"
The short answer: OpenClaw runs on a server, not on your phone. It needs Node.js, persistent storage, and always-on connectivity — things phones don't provide reliably.
But here's the thing: you don't need it on your phone. You need it in your pocket.
That's exactly what the Telegram integration does. Once OpenClaw is connected to a Telegram bot, you can:
- Chat with your agent from any device — phone, tablet, desktop
- Send photos (prescriptions, receipts, documents) and the agent reads them
- Receive proactive messages — reminders, alerts, briefings
- Control your smart home, check your calendar, draft emails — all from Telegram
- Use voice messages — the agent transcribes and responds
Your phone is the interface. The server is the brain. Telegram is the bridge between them.
8. The Verdict
Here's how to decide:
- You're a sysadmin who enjoys server maintenance → VPS on Hetzner. You'll spend €5-20/mo and a weekend setting it up.
- You already have a home server → Mac Mini or your existing box. Just be ready for the SSL/Telegram webhook headaches.
- You want to use OpenClaw, not maintain it → Read on.
Or, skip this entire article.
Deploy OpenClaw directly to your Telegram in 60 seconds. 7-day free trial, no credit card required.
Start free trial€9/mo after trial · Bring your own API key · Cancel anytime
Have questions? Email us at [email protected] or message @ClawHatchBot on Telegram.