For a single always-on agent with a bring-your-own API key, the realistic all-in cost in October 2026 is about $4 to $7 a month on a bare VPS if you do the hardening and patching yourself, $6 to $40 a month on a managed plan, and roughly $900 up front plus a few dollars of electricity for a Mac mini at home. The model tokens are a separate line item in every case and usually dwarf the hosting. The right choice depends less on the sticker price than on who is responsible when the gateway is left open to the internet, which has happened to tens of thousands of instances this year.
This is the breakdown we give customers before they pick a plan on our AI-agent hosting page, with the numbers and where each one comes from.
What the agent actually needs
OpenClaw is the reference point because it is the most widely deployed self-hosted agent. The project's own install docs (read 3 Oct 2026) list macOS, Linux and Windows as supported, require Node 24.16+ or 26.1+, and recommend the one-line installer curl -fsSL https://openclaw.ai/install.sh | bash, with npm, Docker/Podman and source installs as alternatives. The gateway runs as a daemon that the installer sets up during onboarding.
The docs do not publish a hardware minimum. The most-cited practical guidance is Hostinger's hosting roundup (14 Aug 2026): "at least 4 GB of RAM" for basic use, "8 GB is recommended if you plan to use browser automation", with CPU rarely the constraint because "AI processing usually runs on external LLM provider servers". That matches our experience: a gateway idling between messages uses little CPU, and the spikes come from headless Chromium when a skill opens a page.
Two defaults matter for cost because they decide how much work hosting really is. The gateway "binds to loopback" on a regular host install, on ws://127.0.0.1:18789, and container images "default to an exposed bind" that must be paired with auth (OpenClaw security and FAQ docs, read 3 Oct 2026). Remote access is meant to go through Tailscale, Cloudflare Tunnel, an SSH tunnel or a trusted reverse proxy, and openclaw security audit reports whether a setup has drifted from safe defaults.
Option 1: a bare VPS
The sticker price
| Provider and plan | vCPU | RAM | Storage | Monthly price | Source |
|---|---|---|---|---|---|
| Hetzner CX23 | 2 | 4 GB | 40 GB NVMe | $4.09 | Hostinger roundup, 14 Aug 2026 |
| Hetzner CX33 | 4 | 8 GB | 80 GB NVMe | $6.59 | Hostinger roundup, 14 Aug 2026 |
| Contabo Cloud VPS 10 | 4 | 8 GB | 75 GB NVMe | $3.96 | Hostinger roundup, 14 Aug 2026 |
| LumaDock Starter 4GB | 4 | 4 GB | 50 GB NVMe | $5.99 | Hostinger roundup, 14 Aug 2026 |
| OVHcloud VPS-2 | 6 | 12 GB | 100 GB NVMe | $9.99 | Hostinger roundup, 14 Aug 2026 |
| DigitalOcean entry | 1 | 2 GB | 50 GB SSD | $12.00 | Hostinger roundup, 14 Aug 2026 |
| DigitalOcean recommended | 2 | 4 GB | ~85 GB | $24.00 | Hostinger roundup, 14 Aug 2026 |
Prices are as listed in the Hostinger article on 14 August 2026 and may exclude VAT or vary by region; Hetzner's own cost-optimized page (read 3 Oct 2026) confirms the CX23 is 2 vCPU, 4 GB, 40 GB and the CX33 is 4 vCPU, 8 GB, 80 GB, with "at least 20 TB of included traffic" in EU locations, but showed the plans as temporarily unavailable without a price at the time of reading.
So the floor for a machine that meets the 4 GB guideline is about $4 a month, and about $6.59 for the 8 GB that browser automation wants.
The hidden costs
The sticker price buys an empty Ubuntu box. What it does not include:
- Hardening. Firewall, SSH keys only, fail2ban or equivalent, unattended security updates, and either Tailscale or a reverse proxy with authentication in front of port 18789. Two hours the first time if you have done it before, an afternoon if you have not.
- Patching the agent. OpenClaw ships often (v2026.8.1 landed 30 Aug 2026 per Wikipedia). Each update is a
npmor installer run plus a daemon restart, plus reading the changelog for breaking changes to skills. - Backups. Most VPS providers charge about 20% of the instance price for snapshots. Hetzner's rate is listed on its site; budget roughly $1 a month on a $4 plan.
- Monitoring. An agent that silently died at 3 a.m. is the most common support ticket we see. A free uptime pinger covers it if you set one up.
- Your time. If an hour of your time is worth $25, the two hours of setup and roughly an hour a month of patching make the "free" option cost more than a managed plan in month one and about the same thereafter.
What goes wrong
The headline number from early 2026 analysis: 63% of 42,000-plus internet-exposed OpenClaw instances had no authentication on the default gateway port, and around 824 malicious skills, about 20% of the marketplace at the time, were found; CVE-2026-25253 was a zero-click WebSocket hijacking flaw (Medium, "OpenClaw in 2026", secondary source). A later statistics compilation puts exposed instances at 155,000+ and prompt injections in 36% of ClawHub skills (gradually.ai, 22 Sep 2026; unverified secondary data). Treat the exact figures with caution; the direction is not in doubt. Most of those exposures are people who ran the Docker image, which binds publicly by default, on a VPS without reading the security page.
Option 2: managed hosting
The sticker price
| Provider | Plan | Monthly price | What is included | Source |
|---|---|---|---|---|
| Agent 37 | Four tiers | $3.99, $9.99, $29.99, $99.99 | Always-on instance, channels, updates; BYOK | Agent37 blog, 7 Aug 2026 |
| OpenHosst | Entry | about $2.99 | Managed instance | Agent37 blog, 7 Aug 2026 |
| Hostinger | AI Automation App | $5.99 promotional, $11.99 renewal | Managed app with AI credits | Hostinger, 14 Aug 2026 |
| xCloud | Managed | $24.00 | Managed, no contracts | Hostinger, 14 Aug 2026 |
| MartCC | Starter | $9.99 | 2 vCPU, 4 GB, hardened image, updates, BYOK | our pricing |
| MartCC | Pro | $19.99 | 4 vCPU, 8 GB, browser automation ready | our pricing |
| MartCC | Business | $39.99 | Larger instance, priority support | our pricing |
Agent37's own writeup of the managed market says a serious managed service should include an always-on instance, per-client isolation, Telegram, Discord, Slack, WhatsApp and email channels, updates and BYOK, and that "most serious managed hosts expect BYOK" (Agent37, 7 Aug 2026). Hostinger's phrasing is blunter: "Hosting and tokens are separate line items" (14 Aug 2026).
What you are paying for
The gap between a $4 VPS and a $10 managed plan is about $6 a month, or $72 a year. For that you get the hardening done before you log in, the gateway behind authentication and not on a public port, updates applied with a rollback path, and a human to ask when a skill breaks after an upgrade. Our Starter image, for example, ships with the gateway bound to loopback, access through a per-customer tunnel, openclaw security audit run on every provisioning, and skills from the marketplace disabled until you turn them on.
Whether that is worth $72 a year is a question about your time and your tolerance for being one of the 42,000. For a hobby agent that only talks to you on Telegram, maybe not. For an agent that holds an API key with a $200 a month budget on it, an exposed gateway is a way to spend that budget for someone else, and the managed premium is cheap insurance.
Where managed hosting is a bad deal
If a provider bundles "AI credits" instead of BYOK, check whose account those tokens come from and what happens when the provider's upstream key is rate-limited or revoked. BYOK keeps the key in your name, under your provider's terms, and that is the model we use for exactly that reason. The other trap is tiers priced by "agents" rather than by resources; two agents on one 4 GB box is the same cost as one, so a per-agent tier is pure margin.
Option 3: a Mac mini at home
The sticker price
Apple's current Mac mini starts at $899 with the M6 chip and 16 GB of unified memory, released 22 September 2026 (Apple Newsroom). The previous generation started at $599, and the price increase was widely reported (Yahoo Tech and Six Colors, September 2026). Education pricing is $799.
The running cost
A Mac mini idles at a few watts and works in the tens of watts. Apple publishes per-model power figures, and the right number depends on how much browser automation you run; for a worked example we assume 10 W average, which is our estimate rather than a measurement. At 10 W for 730 hours that is 7.3 kWh a month, which at an illustrative $0.15 per kWh is about $1.10. Your tariff and your measured draw will differ; a $15 plug-in meter settles it.
What the Mac mini does not give you is a public IP, a static address, redundant power, or a network that stays up when your ISP has an outage. For an agent that only needs outbound connections to an LLM API and a chat platform, none of that matters, and a Mac mini behind Tailscale is a perfectly good host. For an agent that must answer webhooks or serve a dashboard, you are back to a tunnel or a VPS in front of it.
The break-even
$899 against a $9.99 managed plan is 90 months, or seven and a half years. Against a $4.09 VPS it is 220 months. The Mac mini only wins on cost if you were going to buy one anyway, or if you plan to run local models on it, which is a different workload: the M6 Mac mini "targets local AI" per coverage of the launch, and a 16 GB machine running a 7B-parameter model locally does have a cost story, because it replaces the token bill rather than the hosting bill.
The comparison, all-in
The table below adds the hidden costs to the sticker prices. Time is valued at $25 an hour; swap in your own rate.
| Cost line | Bare VPS (Hetzner CX23) | Managed (MartCC Starter) | Mac mini M6 |
|---|---|---|---|
| Hardware or plan | $4.09 | $9.99 | $899 once (about $25/mo over 36 months) |
| Backups and snapshots | about $1 | included | Time Machine disk, about $100 once |
| Electricity | included | included | about $1.10 (10 W at $0.15/kWh, assumed) |
| Setup time (first month only) | 2 h = $50 | 0 | 1 h = $25 |
| Patching and monitoring | 1 h/mo = $25 | 0 | 1 h/mo = $25 |
| Month 1 total | about $80 | $9.99 | about $1,050 |
| Months 2 and later | about $30 | $9.99 | about $51 (amortized) |
| Who holds the risk of an exposed gateway | you | the host | you |
Sources for sticker prices: Hostinger (14 Aug 2026), Apple Newsroom (22 Sep 2026), MartCC pricing. Time and electricity lines are assumptions, labeled as such, so you can replace them.
The token bill is the real cost
Every option above assumes you bring your own API key. The hosting is $4 to $40; the tokens are whatever your agent does. A chatty assistant that summarizes your inbox and answers a few dozen messages a day on a mid-tier model can run from a few dollars to a few tens of dollars a month; an agent that browses and reasons in long loops can burn that in a day. We do not resell tokens, partly because the provider terms around resale are unsettled and partly because you should see that bill directly, with your own usage dashboard and your own hard limit. The OpenClaw hosting page explains how to plug in keys from the major providers.
Where the agent's traffic goes
Our recommendation
Run a bare VPS if you enjoy the sysadmin work, will actually do the patching, and keep the gateway off the public internet. Run a Mac mini if you already own one or want local models. Otherwise take a managed plan, and judge it on three things: BYOK, the gateway not reachable from the internet, and an update process you can see.
Our Starter plan is $9.99 a month for 2 vCPU and 4 GB, the Pro is $19.99 for 4 vCPU and 8 GB (the size you want for browser automation), and the Business tier is $39.99. All three are BYOK, all three run openclaw security audit at provisioning, and our checkout takes BTC, USDT on TRON, Monero and seven other coins with no card and no account beyond an email. If you outgrow it, or want a plain machine instead, the same checkout sells Windows RDP and VPS.
FAQ
Can I run OpenClaw on a $3 VPS with 2 GB of RAM? It will start. It will also swap the moment a skill opens a browser, and the Node process can be killed by the kernel's out-of-memory handler mid-task. The 4 GB guideline exists for a reason; 8 GB if you use browser automation (Hostinger, 14 Aug 2026).
Is managed hosting just a VPS with a markup? Partly. The markup pays for a hardened image, a tunnel instead of an open port, updates and someone to answer tickets. Whether that is worth it depends on whether you would do those things yourself. The exposure statistics from early 2026 suggest most people did not.
Why not just use the Docker image on any host? You can. The docs note container images "default to an exposed bind", so you must configure auth and a firewall yourself. The Docker route is where many of the open instances came from.
Do I need a static IP or a domain? Not for an agent that only reaches out to APIs and chat platforms. You need one only if the agent must receive webhooks or serve a web UI, and even then a tunnel service avoids exposing the box.
What about the model tokens? Separate line item, paid to the model provider with your own key. Hosting at $10 a month is often a fraction of the token bill; set a hard spending limit on the key before you point an agent at it.
Can the host see my API key? On any host that provisions the agent for you, the key is on their machine. Ask how it is stored and who can read it; on our plans it lives in the agent's config inside your instance, and support access is logged. If that is not acceptable, the bare VPS or Mac mini route keeps the key entirely in your hands.
Is the Mac mini ever cheaper? Only if you already own it, or if local inference replaces a meaningful part of your token bill. On hosting cost alone it takes years to pay back against a $4 to $10 plan.
Sources
- OpenClaw documentation, Install, https://docs.openclaw.ai/install (read 3 Oct 2026)
- OpenClaw documentation, Security, https://docs.openclaw.ai/gateway/security (read 3 Oct 2026)
- OpenClaw documentation, FAQ: gateway ports and remote mode, https://docs.openclaw.ai/help/faq/gateway-ports-and-remote-mode (read 3 Oct 2026)
- Hostinger, "Best OpenClaw hosting", https://www.hostinger.com/tutorials/best-openclaw-hosting/ (14 Aug 2026; read 3 Oct 2026)
- Agent 37, "Best managed OpenClaw hosting in 2026", https://www.agent37.com/blog/best-managed-openclaw-hosting-in-2026 (7 Aug 2026; cited from research notes dated 30 Sep 2026)
- Hetzner, Cloud cost-optimized plans, https://www.hetzner.com/cloud/cost-optimized/ (read 3 Oct 2026)
- Apple Newsroom, "The new Mac mini and Mac Studio are available today", https://www.apple.com/newsroom/2026/09/the-new-mac-mini-and-mac-studio-are-available-today/ (22 Sep 2026; read 3 Oct 2026)
- Six Colors, "M6 Mac mini review", https://sixcolors.com/post/2026/09/m6-mac-mini-review-tiny-pricey-and-powerful/ (Sep 2026; title and price from search results, 3 Oct 2026)
- Wikipedia, "OpenClaw", https://en.wikipedia.org/wiki/OpenClaw (cited from research notes dated 30 Sep 2026)
- Medium, "OpenClaw in 2026: what's changed since the chaos started", https://medium.com/@ezraclintoc/openclaw-in-2026-whats-changed-since-the-chaos-started-4da3ecf1df0f (secondary; cited from research notes dated 30 Sep 2026)
- gradually.ai, "OpenClaw statistics", https://www.gradually.ai/en/openclaw-statistics/ (22 Sep 2026; unverified secondary data)