This site contains affiliate links. If you purchase through them I may earn a commission at no extra cost to you. Full disclosure.
The short answer: Hostinger's KVM 1 plan (1 vCPU / 4 GB RAM / 50 GB SSD) at ~$5.99/month is the cheapest sensible starting point. Anything less either lacks enough RAM for comfort or cuts corners on storage/performance that will bite you later.
"OpenClaw is lightweight, but the supporting cast (reverse proxy, SSL, logs, backups) adds up. Pick a VPS with headroom, not just bare minimum specs."
OpenClaw is a Node.js-based AI agent gateway. It is not heavy, but it does need consistent performance. Here is what a typical production deployment actually runs:
| Component | Idle RAM | Under load | Notes |
|---|---|---|---|
| OS (Ubuntu/Debian) | 80–150 MB | 150–200 MB | Base system, SSH, syslog |
| OpenClaw process | 150–300 MB | 300–600 MB | Depends on active agents & context load |
| Reverse proxy (Caddy) | 20–50 MB | 50–100 MB | Handles TLS, serves static assets |
| Docker (optional) | 30–50 MB | 50–100 MB | Only if you containerize |
| Logs & tmp files | 50–100 MB | 100–200 MB | Grows over time; rotate regularly |
Realistic total: 350–600 MB idle, 600 MB–1.2 GB under sustained load. That leaves you needing at least 1.5 GB free for comfort and spikes — hence the 4 GB RAM minimum.
Let's be clear about what "budget" means in 2026 for a self-hosted OpenClaw:
Anything cheaper than ~$6/month either reduces one of these (1 GB RAM, 25 GB disk, weak CPU) or uses OpenVZ virtualization (less isolation). For OpenClaw, avoid OpenVZ — the memory overcommit can cause OOM kills under load.
Hostinger's KVM line is solid budget VPS with dedicated resources and full root access. Here is how they stack for OpenClaw:
| Plan | Price (mo) | vCPU | RAM | Storage | Fit for OpenClaw? |
|---|---|---|---|---|---|
| KVM 1 | $5.99 | 1 | 4 GB | 50 GB SSD | Yes — minimum sensible choice |
| KVM 2 | $8.99 | 2 | 8 GB | 100 GB SSD | Yes — comfortable, room to grow |
| KVM 3 | $12.99 | 2 | 16 GB | 200 GB SSD | Overkill unless you run many services |
| KVM 4 | $19.99 | 4 | 32 GB | 400 GB SSD | Unnecessary for single OpenClaw instance |
Recommendation: Start with KVM 1 if you are just deploying one OpenClaw instance. Upgrade to KVM 2 if you plan to run additional services (PostgreSQL, Redis, multiple Docker containers) or expect higher agent traffic.
If you are a new customer, use this link to get the best available price — Hostinger frequently runs promos that drop the first term by 50% or more.
The VPS price is not the whole story. Here are the other things you might need:
| Item | Cost | Notes |
|---|---|---|
| Domain name | $10–15/year | Required for HTTPS; use any registrar, point to VPS IP |
| SSL certificate | $0 | Caddy auto-obtains from Let's Encrypt; Nginx can too with certbot |
| Backup storage | $1–3/month | Optional: off-site backups to S3/Backblaze; Hostinger has managed backups for extra fee |
| Monitoring | $0–10/month | UptimeRobot (free tier) or healthchecks.io ($5/mo) for process monitoring |
| Support time | ? | If you get stuck, expect to spend 2–4 hours learning sysadmin basics |
Total first-year cost estimate: ~$80–100 if you include domain and basic monitoring. That is still cheaper than managed SaaS alternatives that charge $30–50/month for a fraction of the control.
These commands assume you just provisioned a fresh Ubuntu 22.04 VPS with root SSH access.
apt update && apt upgrade -y
apt install -y curl wget gnupg2 ca-certificates lsb-release
Ubuntu 22.04's default Node is too old. Use NodeSource:
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install -y nodejs
Never run OpenClaw as root:
useradd --system --shell /usr/sbin/nologin --create-home --home-dir /home/openclaw openclaw
mkdir -p /home/openclaw/.openclaw
chown -R openclaw:openclaw /home/openclaw/.openclaw
As the openclaw user:
sudo -u openclaw -i
cd ~
npm install -g @openclaw/cli
openclaw init
Follow the init prompts to set up your gateway token and API keys. The workspace is now in /home/openclaw/.openclaw/workspace.
Caddy is the easiest reverse proxy with auto-TLS. One command:
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main" | sudo tee /etc/apt/sources.list.d/caddy-stable.list
apt update
apt install caddy
Edit /etc/caddy/Caddyfile to proxy to OpenClaw:
your-domain.com {
reverse_proxy localhost:8080
file_server
}
Reload Caddy:
systemctl reload caddy
Caddy will automatically obtain and renew an SSL certificate from Let's Encrypt.
Save /etc/systemd/system/openclaw.service:
[Unit]
Description=OpenClaw AI Agent Gateway
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=openclaw
Group=openclaw
WorkingDirectory=/home/openclaw/.openclaw/workspace
# If you have a .env file with secrets
EnvironmentFile=/etc/openclaw/openclaw.env
ExecStart=/usr/local/bin/openclaw gateway start
TimeoutStopSec=15
Restart=on-failure
RestartSec=5s
StartLimitIntervalSec=60
StartLimitBurst=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=openclaw
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=full
ProtectHome=read-only
ReadWritePaths=/home/openclaw/.openclaw
[Install]
WantedBy=multi-user.target
Then enable and start:
systemctl daemon-reload
systemctl enable --now openclaw
systemctl status openclaw
UFW is installed by default on Ubuntu. You need to allow HTTP/HTTPS (ports 80, 443) for Let's Encrypt and for Caddy to serve traffic:
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable
If you skip this, Caddy cannot get SSL certs (it needs port 80) and your site stays inaccessible.
If you stubbornly try to run on a 2 GB VPS, you will hit swap and everything will slow to a crawl. The numbers above are not theoretical — OpenClaw + Caddy + OS + Docker (if used) add up fast.
Fix: either upgrade to 4 GB or aggressively prune services. Disable Docker if you are not using it. Shrink PostgreSQL buffers. But honestly, just get the 4 GB plan — it costs ~$3/month more and saves hours of headdesk.
Journald and Docker can consume gigabytes if left unchecked. Set up log rotation:
For journald, limit to 100 MB:
echo "SystemMaxUse=100M" | sudo tee -a /etc/systemd/journald.conf
systemctl restart systemd-journald
For Docker (if used), add to /etc/docker/daemon.json:
{
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "3"
}
}
Then restart Docker: systemctl restart docker.
On a headless VPS, you are the sysadmin. Enable unattended upgrades:
apt install -y unattended-upgrades
dpkg-reconfigure -f noninteractive unattended-upgradesCheck that it is active: systemctl status unattended-upgrades. This keeps your OS patched without manual SSH sessions every week.
Upgrade to KVM 2 or higher when you see these signs:
free -h)swapon --show)The jump from 4 GB to 8 GB is not just double the RAM — it is the difference between anxiously watching memory and forgetting it exists. For an extra ~$3/month on Hostinger, that peace of mind is worth it.
Ready to deploy? Get Hostinger KVM 1 starting at $5.99/month — it is the cheapest VPS that gives OpenClaw the room it needs without constant swap thrashing. Use the link above for the best promotional pricing.
If you expect growth, consider KVM 2 (2 vCPU / 8 GB RAM) from the start — the upgrade is painless but migrating later always takes longer than you think.
Hostinger is solid, but here are other providers in the same price bracket that work for OpenClaw:
Why stick with Hostinger? For a first VPS, the control panel is beginner-friendly, IPv6 is enabled, and the KVM virtualization is reliable. If you already have a Hostinger account for domain registration, keeping everything in one place simplifies billing and support.