OpenClaw · May 20, 2026 · Last updated 2026-05-21 · 14 min read
OpenClaw Hosting: Costs, Models, VPS, and Mac Options

Questions this page answers
- Where should I host OpenClaw?
- What does OpenClaw hosting actually cost?
- When is a VPS enough for OpenClaw?
- What is the best model for OpenClaw background tasks?
- How do I keep OpenClaw running after I close my laptop?
Start here
Quick Recommendation: Where Should You Host OpenClaw?
| Use case | Best host | Why |
|---|---|---|
| Chat-first assistant with API models | Small Linux VPS | The gateway needs uptime, logs, storage, and a private network. It does not need macOS. |
| OpenClaw with desktop apps, browser profiles, Messages, Mail, Xcode, or GUI automation | Hyperbox or another persistent Mac | The workflow depends on macOS state, permissions, app sessions, and recovery. |
| Fast deploy with managed logs and HTTPS | PaaS or container platform | Good for simple gateway deployments if state is on a durable volume and the plan does not sleep. |
| Local tinkering | Laptop, Raspberry Pi, or home server | Fine for experiments, but you own sleep, network, power, security, and recovery. |
The practical rule
OpenClaw Cost: Hosting Plus Model Tokens
OpenClaw itself is open source. OpenClaw hosting is not free unless you already own the host and are comfortable operating it. Budget for two bills: the machine that stays awake and the model tokens the agent spends while doing work.
monthly OpenClaw cost =
host runtime
+ persistent disk and backups
+ model input/output/cache tokens
+ optional channel/provider costs
+ logs, monitoring, and operator time| Scenario | Host cost | Model cost pattern | Good fit |
|---|---|---|---|
| Light VPS gateway | $5-20/mo host range | Low to medium token usage, mostly chat and scheduled checks. | Telegram, Discord, Slack, webhooks, reminders, summaries. |
| Persistent Mac runtime | Hyperbox agent Mac starts around $75/mo | Depends on how often agents call models and tools. | macOS apps, browser sessions, local files, GUI workflows, OpenClaw on Mac mini. |
| Heavy always-on agent | Host plus monitoring and backups | Model usage can exceed the server bill. | Long sessions, tool-heavy jobs, multiple channels, or background automation. |
VPS For OpenClaw: When A Cheap Linux Server Works
A VPS for OpenClaw is the right default when OpenClaw is mostly a gateway: messages come in, the model calls happen through API providers, tools run server-side, and no task needs a real macOS desktop.
- Start with a small Linux VM and API-hosted models.
- Keep the gateway private with SSH, VPN, Tailscale, or a carefully configured reverse proxy.
- Put `~/.openclaw`, cron jobs, auth profiles, sessions, and logs on persistent storage.
- Use systemd user services, Docker, or the platform's process manager.
- Add backups before you connect real channels or credentials.
npm install -g openclaw@latest
openclaw onboard --install-daemon
openclaw doctor
openclaw gateway status
openclaw logs --followOpenClaw On Mac Mini Or Persistent Mac Hosting
The VPS answer breaks down when OpenClaw needs macOS. Messages, Mail, Xcode, iOS Simulator, app automation, browser profiles, Screen Recording, Accessibility, and desktop state all live on the host. If that host is your personal MacBook, closing the lid becomes an infrastructure event.
| Mac option | Choose it when | Operational burden |
|---|---|---|
| Home Mac mini | You own the hardware and can handle power, network, recovery, and security. | Sleep settings, VNC, SSH, physical access, updates, and backups are yours. |
| Hyperbox | You want OpenClaw on Mac mini-style hardware without home-lab babysitting. | You still own app setup and credentials, but the Mac is built to stay online. |
| Generic remote Mac provider | You need remote macOS access but not an agent-shaped product. | Check admin rights, storage, bandwidth, remote desktop, region, and support. |
Best Model For OpenClaw: Primary, Fallback, And Cheap Background Tasks
The best model for OpenClaw depends on what the agent can touch. Tool use, files, browsers, email, and real accounts deserve your strongest current model. Cheap fallbacks are useful for low-risk summaries and background checks.
| Task type | Model tier | Cost rule |
|---|---|---|
| Tool-enabled work with files, browser sessions, or real accounts | Strongest current reasoning/coding model you trust | Do not save pennies on the task that can click the wrong thing. |
| Daily summaries, FYI triage, reminders, or status checks | Cheaper fallback model | Use lower-cost models only when the action boundary is narrow. |
| Long recurring jobs | Primary model plus caching and fallback policy | Track input, output, cache reads, context size, and run duration. |
{
agent: {
model: {
primary: "best-current-tool-use-model",
fallbacks: ["cheaper-summary-model", "backup-provider-model"]
}
}
}Setup Checklist For Always-On OpenClaw
- Pick the host based on workflow: VPS for message-first, persistent Mac for macOS state.
- Decide network posture before install: loopback, SSH tunnel, Tailscale, private bind, or carefully firewalled HTTPS.
- Install Node 24 or a supported Node 22.19+ runtime.
- Run OpenClaw onboarding and install the daemon or service.
- Configure model auth. Prefer API keys for unattended always-on hosts.
- Protect the Control UI with a gateway token, password, and narrow allowed origins.
- Connect one channel first, then add additional channels after logs and allowlists are clean.
- Persist state, sessions, cron jobs, logs, provider config, and backups.
openclaw --version
openclaw doctor
openclaw gateway status
openclaw models status
openclaw backup createSecurity, Logs, Backups, And Spend Controls
| Control | Why it matters | What to do |
|---|---|---|
| Logs | Agents fail in boring ways: auth errors, model errors, channel retries, missing permissions. | Follow logs during the first week and store them somewhere durable. |
| Backups | OpenClaw state, channels, cron jobs, and sessions are the product. | Back up before updates, host moves, and auth changes. |
| Spend limits | Model tokens can outgrow the host bill. | Set provider alerts and log model, provider, duration, context size, and cost. |
| Network exposure | The gateway may connect to real accounts. | Prefer private reachability before public URLs. Avoid wildcard origins in production. |
| Account separation | Inbound messages are untrusted input. | Separate personal and business agents by host, gateway, OS user, or credential set. |
openclaw logs --follow --local-time
openclaw channels logs --channel telegram
openclaw cron list
openclaw cron runs --id <jobId> --limit 20Migration Example: Laptop To Hosted Runtime
A good migration should feel boring. Freeze the laptop setup, back up state, restore onto the host, reconnect one channel, run one low-risk task, and only then move the real workflow.
- Back up
~/.openclaw, workspace folders, launchd or systemd config, and channel credentials. - Install OpenClaw on the new host and confirm `openclaw doctor` passes.
- Restore state and file permissions.
- Start the gateway and reconnect the least risky channel first.
- Run a test prompt that reads status and takes no external action.
- Cut over cron jobs and background tasks after logs are clean.
Frequently asked questions
Can I host OpenClaw on a normal VPS?
Yes, if the workload only needs server-side services. Use a persistent Mac runtime when OpenClaw needs macOS apps, full desktop access, Messages, Mail, Xcode, iOS Simulator, or a real GUI.
What is the cheapest reliable OpenClaw hosting option?
For message-first OpenClaw workflows, a small VPS is usually the cheapest reliable option. For Mac apps, browser state, Messages, Mail, Xcode, or GUI automation, use a persistent Mac runtime instead.
What should I monitor for OpenClaw hosting?
Monitor process uptime, task logs, model/API errors, token spend, disk usage, restart count, network reachability, and whether cron or launchd jobs continue after logout.
Related reading
Always-on Mac runtime
Give your agent a Mac that stays online after your laptop closes.
Hyperbox gives Codex, Claude Code, OpenClaw, and remote dev workflows a persistent macOS machine with SSH, VNC, and full desktop access.