A $4.85/month Hetzner CPX21 or a $29.89/year RackNerd KVM can run a 24/7 OpenClaw or Claude Code agent for a fraction of a $30–$99/month managed sandbox. The saving is real, but the work is not the same: the VPS gives you a root shell and a datacenter IP, while the managed products include the desktop, persistence rules, and support.
What the $30–$99 Sandboxes Include
Manus and Boxes.dev are not raw virtual machines. They package a desktop or browser, a persistence policy, and a support layer into a monthly price. Manus lists a $30/month cloud computer with 2 vCPU, 4GB RAM, and 70GB SSD. Boxes.dev Pro lists 4 vCPU, 8GB RAM, and 100GB SSD for $99/month, with 300 box-hours included and $0.40/hour after that. Our Manus comparison and Boxes.dev review cover those products in detail.
The useful comparison is cash outlay and scope, not a markup percentage. A $30 managed sandbox and a $5 VPS do not include the same work. The sandbox removes the Linux setup; the VPS leaves it to you. If you need a desktop GUI, snapshot branching, or a support channel, the managed price can be the cheaper decision once your time is counted.
The 24/7 VPS Options and What They Cost
All three VPS rows below run continuously, with no awake-hour cap. The two managed rows are included as cost anchors, not as like-for-like hardware.
Route | Specs | Monthly cost | 36-month cash | Main catch | Official page |
|---|---|---|---|---|---|
RackNerd 4GB KVM | 3 vCPU / 4GB / 60GB NVMe | $29.89/yr, about $2.49/mo | $89.67 at three annual payments | Annual promo and stock; datacenter IP reputation | |
Hetzner CPX21 | 3 vCPU AMD / 4GB / 80GB | €4.50/mo before tax and add-ons, about $4.85 | About $174.60 at $4.85/mo | KYC review; EUR/USD and IPv4 add-ons move the USD total | |
Hostinger KVM 2 | 2 vCPU / 8GB / 100GB NVMe | $6.49/mo current promo | $390.84 on the $8.79/24-month plus $14.99 renewal basis | Promo term, prepay, and renewal price | |
Manus Cloud Computer | 2 vCPU / 4GB / 70GB SSD | $30/mo | $1,080 | Managed sandbox; different scope from a VPS | |
Boxes.dev Pro | 4 vCPU / 8GB / 100GB SSD | $99/mo | $3,564 before overage | 300 box-hours/mo; 12.5 days if left awake 24/7 |
The Hostinger row keeps the $6.49 promo in the monthly column but uses the $390.84 total from the $8.79/24-month plus $14.99 renewal basis in our Hostinger article. The two numbers belong to different terms, so do not multiply $6.49 by 36 and expect $390.84. Hetzner's USD total is an estimate at $4.85/mo; the EUR list price is €4.50 before tax, and the IPv4 add-on changes the final bill. RackNerd's $89.67 assumes three annual payments at the current promo price, not a guaranteed renewal rate.
How Much VPS an Agent Stack Actually Needs
The agent runtime is small. The browser is what eats memory. These are planning estimates, not benchmark results.
Workload | Minimum safe spec | Bottleneck | Example route |
|---|---|---|---|
Text and API orchestration: Telegram bots, webhooks, cron jobs | 1 vCPU / 2GB / 20GB | API latency | RackNerd 2GB or 3GB KVM |
Headless browser: Playwright, Puppeteer, web reading | 2+ vCPU / 4GB / 40GB NVMe | RAM pressure and Chromium CPU spikes | Hetzner CPX21 |
Autonomous coding and builds: Claude Code, Docker, test suites | 4 vCPU / 8GB / 80GB NVMe | Single-core speed and disk IOPS | Hetzner CPX31 |
A 1GB plan can run a small API bot, but it is a poor fit for a browser worker. Once Chromium opens a few tabs, the agent and the browser can push past 2GB. On a 4GB instance, add zram and a swapfile and set vm.swappiness=10; that absorbs short spikes, but it does not replace RAM. If the agent builds containers or runs test suites, 8GB is the safer floor.
The model itself does not need a GPU on the VPS. Claude, GPT, DeepSeek, and OpenRouter calls run over HTTPS on the provider's hardware. A CPU-only KVM with NVMe is enough for orchestration, file work, and browser tools. Local weights are a different project with different hardware.
IP Reputation, Proxies, and Browser Work
A cheap VPS usually comes with a datacenter IP. That is fine for API calls and SSH, but it is more likely to hit Cloudflare, Akamai, or Google challenges when a browser tool visits a protected site. The agent then burns tokens clicking a checkbox it cannot solve. This is not a reason to avoid every budget host; it is a reason to test the IP before you build a scraping workflow around it.
The practical split is to keep LLM API traffic on the VPS's native network and route only browser traffic through a residential SOCKS5 proxy or a browser rendering API. Residential proxies typically cost $1–$3 per GB, so a browser-heavy agent can add a real monthly cost. Put that line in the budget before you compare it with a managed browser sandbox.
Hardening a Self-Hosted Agent Host
An agent with shell access and live API keys is a higher-risk tenant than a static site. Bind the dashboard to 127.0.0.1, not 0.0.0.0, and reach it through Tailscale or an SSH tunnel. Put the agent under systemd with MemoryMax=3200M, Restart=always, and RestartSec=10 so a hung process recovers without you. Set a hard daily or monthly spend cap in the Anthropic, OpenAI, or OpenRouter dashboard; a tool-call retry loop can burn through a balance overnight.
Keep the host patched, run the agent as a non-root user, and open only the ports you need. The official OpenClaw and Claude Code docs are the place to check install and configuration details; the VPS only supplies the Linux layer.
FAQ
What is the minimum VPS spec for a 24/7 OpenClaw or Claude Code agent?
For API orchestration, 2GB RAM and 1–2 vCPU are enough. For headless Chromium or Playwright, use 4GB RAM and 2+ vCPU. For Docker builds and test suites, use 8GB and 4 vCPU.
Why do agents get blocked when browsing from a cheap VPS?
Budget providers often use datacenter IP ranges with a poor reputation. Route browser traffic through a residential proxy or a browser API, and keep direct LLM API calls on the VPS network.
Is a GPU VPS required to run autonomous AI agents?
No. The reasoning happens on the model provider's servers. A CPU-only KVM VPS with NVMe storage handles the local runtime, files, and browser tools.
How much cheaper is a self-hosted VPS than Manus or Boxes.dev?
At the prices above, RackNerd is $89.67 over 36 months and Hetzner is about $174.60, against $1,080 for Manus and $3,564 for Boxes.dev Pro before overage. Those are cash totals, not like-for-like service comparisons; the managed products include a desktop, persistence rules, and support that the VPS does not.
0 comments
No comments yet
Leave a comment