The promise of self-hosting
OpenClaw is open-source (Apache 2.0) and free to download. You can run it on any Linux machine with Docker. The pitch is compelling: your own AI agent, fully under your control, for the price of a VPS.
But "free software" doesn't mean free hosting. Here's what the pitch leaves out:
- A VPS or server to run it on
- Docker and container management
- A reverse proxy (Caddy, Nginx, Traefik) with TLS certificates
- A domain name and DNS configuration
- Channel setup (Telegram bot tokens, WhatsApp QR pairing)
- Security hardening (firewall rules, container isolation, encrypted storage)
- Updates, monitoring, and debugging when things break
- Backups
None of this is hard if you're comfortable with Linux. All of it takes time.
Self-hosting: the real costs
Infrastructure
Here's what you'll actually spend on a VPS:
| Provider | Plan | Specs | Price |
|---|---|---|---|
| Hetzner | CX22 | 2 vCPU, 4 GB RAM, 40 GB SSD | ~$4/mo |
| Hetzner | CX32 | 4 vCPU, 8 GB RAM, 80 GB SSD | ~$7/mo |
| DigitalOcean | Basic | 1 vCPU, 1 GB RAM, 25 GB SSD | $6/mo |
| DigitalOcean | Basic | 2 vCPU, 2 GB RAM, 50 GB SSD | $12/mo |
| Oracle Cloud | Free tier | 1 core, 1 GB RAM (ARM) | Free |
| Contabo | VPS S | 4 vCPU, 8 GB RAM, 200 GB SSD | ~$7/mo |
OpenClaw (Node.js) needs at least 1-2 GB RAM. ZeroClaw (Rust) runs on 256 MB. A Hetzner CX22 at ~$4/mo is the sweet spot for a single agent.
Add a domain (~$10/year) and you're looking at $4-12/mo in infrastructure costs for a single agent.
Time: the hidden expense
This is where self-hosting gets expensive if you value your time.
Initial setup: 4-10 hours
If you've done this before, it's closer to 4 hours. If it's your first time with Docker and reverse proxies, budget 8-10 hours and some frustration.
Ongoing maintenance: 2-4 hours/month
- Checking for OpenClaw updates and restarting containers
- Debugging failed WhatsApp connections (they break more than you'd expect)
- Monitoring disk space, memory, and CPU
- Renewing certificates (usually automatic, until it isn't)
- Security patches for the host OS
- Dealing with the occasional "it was working yesterday" surprise
API costs (same either way)
Whether you self-host or use managed hosting with BYOK, you pay your AI provider directly:
| Model | Light use (10-30 msg/day) | Moderate (50-100 msg/day) |
|---|---|---|
| Claude Sonnet 4.6 | $3-8/mo | $15-40/mo |
| GPT-4o | $5-12/mo | $20-50/mo |
| DeepSeek V3 | $1-3/mo | $5-12/mo |
| Gemini 2.5 Flash | $1-4/mo | $5-15/mo |
These costs don't change between self-hosted and managed BYOK platforms. On non-BYOK platforms (ClawNest, ClawAgora), AI credits are bundled, potentially cheaper if you use a lot, but you lose model choice.
Managed hosting: what you're paying for
When you pay $9-30/mo for managed OpenClaw hosting, you're paying for someone else to handle the infrastructure:
| What you get | Self-hosted | Managed |
|---|---|---|
| Server provisioning | You do it | Done |
| Docker setup | You do it | Done |
| Reverse proxy + TLS | You do it | Done |
| Channel connections | Terminal + config files | Dashboard UI |
| Security hardening | You do it (most people skip this) | Done |
| Updates | You pull + restart | Automatic |
| Monitoring | You set up Grafana/UptimeRobot | Built-in |
| Debugging | Stack Overflow + trial and error | Provider support |
| Backups | You configure | Handled |
| Time to first message | 4-10 hours | 5-15 minutes |
What managed platforms charge
Based on our comparison of every major provider:
| Platform | Price | Model |
|---|---|---|
| KiloClaw | $9/mo | BYOK + 500 models |
| Chelar | $9-19/mo | BYOK, EU-hosted |
| xCloud | $24/mo | BYOK, 30+ locations |
| RunMyClaw | $30/mo | BYOK |
| OpenClaw Cloud | $9.99-39.99/mo | GLM models included |
| ClawNest | $49-199/mo | AI credits included |
The cheapest managed BYOK options (KiloClaw, Chelar) cost $9/mo, roughly the same as a Hetzner CX32 VPS, but with zero setup and zero maintenance.
The middle ground: VPS templates
Hostinger, Contabo, and others offer "one-click" OpenClaw installation on their VPS plans. This sounds like managed hosting but it's not:
- You still manage the server OS, updates, and security
- Docker is pre-installed but you manage containers
- SSL might be configured initially but you handle renewals
- No dashboard, you use the terminal for everything
- If something breaks, you debug it
VPS templates save you 1-2 hours of initial setup. After that, you're self-hosting with all the same ongoing maintenance costs.
Hostinger's "1-click OpenClaw" product (~$6.99/mo) is closer to managed, it includes a visual management interface and preconnected AI credits. But it's still a VPS under the hood, and renewal pricing jumps to ~$15/mo.
When self-hosting makes sense
When managed hosting makes sense
The real comparison
Here's the honest total cost for running a single AI agent for a year:
| Self-hosted (Hetzner) | VPS template (Hostinger) | Managed BYOK (Chelar Starter) | |
|---|---|---|---|
| Hosting | $48/yr ($4/mo) | $84/yr ($7/mo) | $108/yr ($9/mo) |
| Setup time | 4-10 hours | 2-3 hours | ~5 minutes |
| Monthly maintenance | 2-4 hrs/mo | 2-4 hrs/mo | 0 |
| Security hardening | Manual | Manual | Included |
| Updates | Manual | Manual | Automatic |
| Dashboard | None | Basic VPS panel | Full agent management |
| API costs | $36-180/yr | $36-180/yr | $36-180/yr |
| Total (year 1) | $84-228 + 28-58 hrs | $120-264 + 26-51 hrs | $144-288 + 0 hrs |
The dollar difference is small, $60-84/yr more for managed hosting. The time difference is massive: 28-58 hours per year of maintenance vs zero.
FAQ
Is OpenClaw really free?
The software is free and open-source (Apache 2.0). You can download, modify, and redistribute it. But running it requires infrastructure, a server, domain, and AI API keys. Infrastructure costs $4-50/mo depending on your choice.
Can I start self-hosted and move to managed later?
Yes. Your AI agent configuration is portable. Sign up for a managed platform, reconnect your channels (Telegram bot token, etc.), and you're running. Message history doesn't transfer, but your agent setup does.
Can I start managed and move to self-hosting later?
Yes. If you outgrow managed hosting or want more control, you can self-host the same software. Export your config, set up a VPS, and you're independent.
What about Oracle Cloud free tier?
Oracle Cloud offers a free-forever ARM instance (1 core, 1 GB RAM) that can run ZeroClaw. It's genuinely free, no trial. The catch: limited availability (free instances are often "out of capacity"), ARM architecture (not all Docker images support it), and 1 GB RAM is tight for OpenClaw (fine for ZeroClaw). It's a great option if you can get an instance provisioned.
Is self-hosting more secure?
Not automatically. Most self-hosters skip security hardening, no container isolation, no encrypted storage, no firewall rules, root-running Docker containers. A well-configured managed platform is often more secure than a default self-hosted setup. But a properly hardened self-hosted setup with your own firewall, container security, and encrypted storage can be more secure than any managed platform, you just have to do the work.