Someone tweeted last month that they spent 80 hours and $800 trying to get OpenClaw running on a VPS.
Eighty hours. That is two full work weeks. Spent not using AI, but installing it.
That tweet went viral because it hit a nerve. Thousands of people saw OpenClaw on Lex Fridman's podcast, got excited, googled "how to set up OpenClaw," and ran straight into a wall of VPS configuration, Docker networking, SSL certificates, and headless server debugging.
OpenClaw is a genuinely powerful AI assistant. But the gap between wanting OpenClaw and having OpenClaw is absurdly wide -- unless you pick the right hosting approach for your situation.
This guide breaks down the three ways to run OpenClaw, with honest numbers on what each costs in time, money, and ongoing effort. No sales pitch. Just the tradeoffs.
The Three Ways to Run OpenClaw
- Self-host on a VPS (DigitalOcean, AWS, Hetzner, etc.)
- Self-host on a Mac (your own machine at home or office)
- Managed hosting (a service that handles everything)
Each approach gives you the same OpenClaw. The difference is who handles the infrastructure.
Option 1: Self-Host on a VPS
This is the most common path people attempt, and the one that generates the most frustration.
How It Works
You rent a virtual server from a cloud provider (DigitalOcean, AWS, Hetzner, Linode, etc.), install Node.js 22+, clone or install OpenClaw, configure everything, and keep it running.
What You Need
- A VPS with at least 2GB RAM (4GB recommended)
- Node.js 22 or later
- A domain name (for SSL/HTTPS)
- SSH access and comfort with the Linux command line
- Docker (optional but makes life easier)
- Time. A lot of it.
The Real Setup Process
Here is what the setup actually looks like, step by step:
- Choose a VPS provider and plan. DigitalOcean ($12-24/mo), Hetzner ($4-10/mo), AWS EC2 ($10-50/mo depending on instance). This decision alone takes an hour if you are comparing specs and pricing.
- Provision the server. Create the instance, set up SSH keys, configure the firewall (UFW or iptables), update packages. 30-60 minutes.
- Install Node.js 22. Not all VPS images ship with Node 22. You need to add the NodeSource repo or use nvm. 15-30 minutes.
- Install OpenClaw.
npm install -g openclaw@latestand run the onboarding wizard. 30-60 minutes, more if you hit dependency issues.
- Configure channels. Connect WhatsApp (QR code pairing via terminal -- tricky on a headless server), Telegram (Bot API token), or other channels. 30-120 minutes depending on channels and issues.
- Set up the browser. OpenClaw needs a real Chrome/Chromium instance for web browsing. On a headless VPS, this means installing Chrome, setting up virtual display servers (Xvfb), and configuring Puppeteer. Many people get stuck here. 1-4 hours.
- Configure persistence. Set up systemd or PM2 so OpenClaw survives reboots and crashes. Configure volumes or data directories. 30-60 minutes.
- Security hardening. SSH key-only access, fail2ban, firewall rules, Tailscale or reverse proxy for the dashboard. 1-2 hours if you know what you are doing.
- SSL/HTTPS. Certbot for Let's Encrypt, or Tailscale Funnel. 30-60 minutes.
- Testing and debugging. Something will not work the first time. Channel pairing issues, browser crashes, networking problems. 2-10 hours.
Realistic total: 10-40 hours for first-time setup. Experienced sysadmins land on the lower end. Everyone else lands on the higher end.
The "80 hours and $800" viral tweet? That person tried multiple VPS providers before getting it working. It happens more than people admit.
Ongoing Costs
Item | Monthly Cost |
|---|---|
VPS (2-4GB RAM) | $10-24 |
Domain name | ~$1 (amortized) |
AI model subscription | $20 (Claude/GPT) |
Total | $31-45/month |
Ongoing Maintenance
This is the part people forget. Self-hosting is not "set it and forget it."
- Updates -- OpenClaw releases updates frequently. You need to apply them, test that nothing broke, and restart the service. 15-30 minutes per update.
- Server maintenance -- OS patches, disk space monitoring, log rotation. 1-2 hours per month.
- Debugging -- When it breaks at 2am (channels disconnect, browser crashes, memory leaks), you fix it. Varies wildly.
- Security -- Keeping dependencies patched, monitoring for unauthorized access, reviewing skill permissions. Ongoing.
Pros
- Full control -- you own the server, the data, and the configuration
- Cheapest monthly cost -- as low as $31/month
- Maximum flexibility -- install any skill, run any configuration, access everything
- Learning experience -- you understand exactly how OpenClaw works
Cons
- Massive time investment -- 10-40 hours initial setup, ongoing maintenance
- Headless limitations -- most VPS setups have no GUI. Getting a real browser working is painful.
- Security is your responsibility -- misconfigure the firewall and your AI is exposed to the internet
- Skill supply chain risk -- you can install any community skill, including malicious ones. There is a documented post on r/hacking about skills designed to steal data.
- No support -- when something breaks, it is Stack Overflow and Discord
Best For
People who enjoy infrastructure work, want maximum control, and value the learning experience over their time.
Option 2: Self-Host on a Mac
This is the smoothest self-hosting path, but it has a hard constraint: the Mac needs to stay on and connected.
How It Works
You install OpenClaw on a Mac (MacBook, Mac Mini, Mac Studio, etc.) and run it natively. The macOS app provides a menu bar interface, Voice Wake, and full device integration.
What You Need
- A Mac running macOS (any recent version)
- Node.js 22 or later
- The machine to be online 24/7 (or at least during the hours you want your AI available)
The Real Setup Process
- Install Node.js and OpenClaw.
npm install -g openclaw@latest, thenopenclaw onboard --install-daemon. 15-30 minutes.
- Connect channels. WhatsApp QR code works normally (you have a display). Telegram bot setup. 15-30 minutes.
- Configure the macOS app. Install the companion app for menu bar controls, Voice Wake, and Talk Mode. 10-15 minutes.
Realistic total: 30-90 minutes. This is dramatically faster because you have a real display, a real browser, and no headless server issues to fight.
Ongoing Costs
Item | Monthly Cost |
|---|---|
Mac (amortized) | $0-30 (you already own it) |
Electricity | $5-15 |
AI model subscription | $20 |
Total | $25-65/month |
Pros
- Fast setup -- 30-90 minutes, not 10-40 hours
- Real browser -- Chrome works natively, no Xvfb hacks
- Full device integration -- Voice Wake, camera, screen recording, notifications
- Best development experience -- if you want to write custom skills or modify OpenClaw
Cons
- Machine must stay on -- if your Mac sleeps, reboots, or loses internet, your AI goes offline
- Tied to your home network -- remote access requires Tailscale or SSH tunneling
- Not isolated -- OpenClaw has access to your Mac's file system and applications
- Power costs -- running a Mac 24/7 adds to your electricity bill
- Portability -- if it is a laptop, you cannot close the lid without disconnecting your AI
Best For
People who have a dedicated Mac (especially a Mac Mini) that can stay online, and who want the best native experience with the least setup friction.
Option 3: Managed Hosting
Managed hosting means a service handles the server, security, updates, and infrastructure. You sign up, connect your channels, and use OpenClaw.
How It Works
You create an account on a hosting service. The service provisions a dedicated OpenClaw instance -- a real server running OpenClaw, configured and maintained by the provider. You connect your messaging channels through the dashboard and start using your AI.
The Real Setup Process
- Sign up and pay. Create an account, enter payment info. 2 minutes.
- Click deploy. The service provisions your instance. 1-2 minutes.
- Connect channels. Pair WhatsApp (QR code), connect Telegram, etc. 5-10 minutes.
Realistic total: 2-15 minutes. The contrast with Option 1 is stark.
Ongoing Costs
Item | Monthly Cost |
|---|---|
Hosting service | $25-100 (varies by provider) |
AI model subscription | $20 |
Total | $45-120/month |
Ongoing Maintenance
None. The hosting service handles updates, security patches, monitoring, and uptime.
Pros
- Fast -- minutes, not hours or days
- No maintenance -- updates, security, uptime managed for you
- Isolated infrastructure -- your instance is separate from other users (on good providers)
- Support -- someone to ask when things go wrong
Cons
- Monthly cost -- $25-100/month more than a basic VPS
- Less control -- you cannot install arbitrary skills or modify the OpenClaw configuration as freely
- Vendor dependency -- if the service shuts down, you need to migrate (though OpenClaw is open-source, so your data is portable)
- Feature variance -- not all managed services are equal. Some are headless (no browser), some have limited channel support, some run shared infrastructure
Best For
People who value their time more than the cost difference, want security handled properly, and prefer to use OpenClaw rather than administrate it.
The Full Comparison
Factor | VPS Self-Host | Mac Self-Host | Managed Hosting |
|---|---|---|---|
Setup time | 10-40 hours | 30-90 minutes | 2-15 minutes |
Monthly cost | $31-45 | $25-65 | $45-120 |
Real browser | Difficult (Xvfb) | Native | Depends on provider |
Maintenance | You | You | Provider |
Security responsibility | You | You | Provider |
Skill curation | None (install anything) | None (install anything) | Varies (some curate) |
Always online | Yes | Only if Mac stays on | Yes |
Control level | Maximum | Maximum | Limited |
Technical skill required | High | Medium | Low |
The Time vs Money Calculation
This is where most people make the wrong decision.
If your time is worth $50/hour (conservative for a founder, operator, or senior professional), the math looks like this:
VPS Self-Host:
- Setup: 20 hours x $50 = $1,000 in time
- Monthly maintenance: 3 hours x $50 = $150 in time
- Monthly infrastructure: $35
- Real cost month 1: $1,185
- Real cost months 2-12: $185/month
Managed Hosting (e.g., $49/month):
- Setup: 0.1 hours x $50 = $5 in time
- Monthly maintenance: 0 hours = $0 in time
- Monthly service: $49
- Real cost month 1: $54
- Real cost months 2-12: $49/month
Over the first year, self-hosting costs roughly $3,220 when you count your time. Managed hosting costs roughly $593. The "cheap" option is more expensive by a factor of 5.
This math changes if your time is worth less, if you enjoy infrastructure work, or if you need maximum configurability. But for most people, managed hosting is not the expensive option. It is the cheap one.
Security: The Factor Nobody Talks About
There are 54 startups offering hosted OpenClaw right now. Almost none of them talk about security in any meaningful way.
Here are the three security dimensions that actually matter:
1. Skill Supply Chain
When you self-host, you can install any community skill. That includes skills written by anonymous developers whose code you have not reviewed. A malicious skill can access your files, your browser cookies, your email -- anything OpenClaw can access.
Some managed hosting services solve this with curation. ClawBox, for example, reviews and vets every skill before making it available -- similar to how Apple's App Store reviews apps. You cannot install unvetted skills. That is a deliberate restriction, and for most users, it is a feature.
2. Credential Handling
When your AI needs to log into a website (say, your airline account to check a flight status), how does it handle your password?
On a headless VPS, there is no browser window. Credentials either go through the AI model or are stored in environment variables. Neither is great.
The best approach is what ClawBox calls browser takeover: you take control of the AI's browser, log in yourself, and hand it back. Your credentials never touch the AI. They stay in the browser's session storage, exactly like they would on your own laptop.
3. Instance Isolation
Some hosting services run multiple users on the same server. Shared infrastructure means shared risk -- if another user's instance is compromised, yours may be exposed.
The better approach is full isolation: each user gets their own dedicated machine with their own data volume. No shared resources. No noisy-neighbor problems.
The Recommendation
Here is the honest recommendation based on who you are:
Choose VPS self-hosting if:
- You are a developer or sysadmin who genuinely enjoys this kind of work
- You need maximum configurability (custom skills, unusual channels, modified source code)
- You want to learn how OpenClaw works at a deep level
- Your time is either not scarce or you consider the learning experience valuable
Choose Mac self-hosting if:
- You have a dedicated Mac that can stay online
- You want Voice Wake, Talk Mode, and device integration
- You are comfortable with the command line but not with VPS administration
- You want the fastest self-hosting setup
Choose managed hosting if:
- You want OpenClaw running today, not next weekend
- You value your time at more than $15/hour
- Security matters to you (skill curation, credential handling, instance isolation)
- You prefer using tools to administrating them
For most people reading this article -- people who heard about OpenClaw and want it working on their phone -- managed hosting is the right call. The time savings alone justify the cost.
What to Look For in a Managed Host
If you go the managed route, here is what to evaluate:
- Dedicated vs shared infrastructure -- Is your instance isolated? Or are you on a shared server?
- Real browser vs headless -- Can your AI actually browse the web? Can you take over the browser for credential entry?
- Skill curation -- Does the service vet skills? Or can any community skill run on your instance?
- Channel support -- Which messaging platforms are supported today? Which are coming?
- Pricing transparency -- What does the monthly cost include? Are there usage limits?
- Data portability -- If the service shuts down, can you export your data and self-host?
For a detailed comparison of the current managed hosting providers, read our Best OpenClaw Hosting in 2026 guide.
Getting Started
If you want to self-host: Follow our step-by-step deployment tutorial. It is the most thorough OpenClaw deployment guide available and covers VPS setup, channel configuration, browser setup, and security hardening.
If you want managed hosting: ClawBox gives you a dedicated OpenClaw instance with a real browser, curated skills, and zero-trust security in about 2 minutes. $49/month.
The setup should take minutes, not months. Whichever path you choose, the goal is the same: an AI assistant that works for you, not a sysadmin job that works against you.