Hosting
Servers
Web Development Pricing
Resources
Get started → Log in
Home/Blog/OpenClaw VPS hosting

OpenClaw VPS hosting:
your AI assistant, online 24/7.

27 November 20268 min readBy the RapidServer team

How do you host OpenClaw on a VPS?

Rent a Linux KVM VPS, create a non-root user, run OpenClaw's official installer and let onboarding install the Gateway as a systemd service. Keep the Gateway on loopback and open its Control UI through an SSH tunnel or Tailscale. A RapidServer VPS starts at ₹581/mo plus 18% GST in Mumbai (BOM1) or Delhi NCR (DEL1), ready a few minutes after payment.

What is OpenClaw?

OpenClaw is an open-source AI assistant that you talk to through chat apps such as WhatsApp, Telegram, Slack and Discord. Its docs call it a self-hosted gateway: one Gateway process runs on your own machine or a server and sends your requests to the model provider you choose.

The code is on GitHub under the MIT licence, and the project says there is no paid version. The assistant answers only while the Gateway runs, so a laptop that sleeps leaves it silent; a VPS keeps it online. RapidServer isn't affiliated with OpenClaw; we rent the server.

OpenClaw VPS requirements

From the install guide and the Linux page:

  • Linux. The docs say the Gateway is fully supported on Linux.
  • Node.js 24.16+ or 26.1+, with 24.22.1+ or 26.12.1+ strongly recommended for security and Node 26 recommended. If Node is missing, the installer sets up Node 24 LTS on Linux.
  • An API key from your chosen model provider.
  • No GPU listed. The docs list no GPU requirement; the model runs at your provider.
  • Fast disks. The VPS guide recommends SSD-backed disks for state and cache. Every RapidServer VPS uses NVMe.

The docs publish no minimum RAM. They do say a 4 GiB machine can't meet the default memory budget for a build from source, and recommend the npm installer on smaller hosts.

OpenClaw VPS setup, step by step

  1. Deploy Ubuntu 24.04 LTS on a KVM VPS with your SSH key added at deploy, so password login is off. New to SSH? Read SSH kya hai.
  2. Create a non-root user with sudo and close root login, as in our developer setup steps. The Gateway runbook calls running it as root unsafe and unsupported.
  3. Run the official installer as that user. It installs Node.js if needed, then starts onboarding.
shell
curl -fsSL https://openclaw.ai/install.sh | bash

Onboarding finds an existing API key or opens provider setup. When it asks whether to keep OpenClaw running in the background, say yes: that installs openclaw-gateway.service as a systemd user unit. If you manage Node.js yourself, use npm instead (drop the --allow-scripts flag on npm 11.15 or earlier):

shell
npm install -g openclaw@latest --allow-scripts=openclaw
openclaw onboard --install-daemon

Enable lingering so the service keeps running after you log out, as the Gateway runbook shows, then check its health:

shell
sudo loginctl enable-linger $(whoami)
openclaw doctor
openclaw gateway status

If you write your own system unit, set User=: the docs warn that a system unit without it runs as root. Settings live in ~/.openclaw/openclaw.json; change them with openclaw configure or openclaw config set, and the Gateway applies them automatically (configuration docs).

Reach the Gateway safely

The Gateway listens on port 18789 and binds to loopback by default, so only the server itself can reach it. Leave it that way: the VPS guide's secure default is loopback plus an SSH tunnel or Tailscale Serve. Your firewall needs SSH open, not 18789. From your laptop:

your laptop
ssh -N -L 18789:127.0.0.1:18789 user@your-vps-ip

Then open http://127.0.0.1:18789/ and sign in with the Gateway's shared secret. For always-on setups, the remote access page suggests keeping loopback and using Tailscale Serve for the Control UI.

  • Other binds need a secret. If you bind to lan or tailnet, the Gateway requires a shared secret.
  • On most channels, strangers get a pairing code instead of having their message processed (security docs).
  • Audit it with openclaw security audit, which shows drift from safe defaults.
  • Keep it separate. Don't sign the runtime into personal Apple or Google accounts, as the VPS guide warns.

OpenClaw VPS size: which plan?

OpenClaw sets no RAM minimum; these are our starting points, not official figures:

UseStarting planPer month
One personal assistant, installed with the installer or npmStardust: 2 vCPU, 4 GB RAM, 20 GB NVMe₹581
The same, with more room for files and logsNew Moon: 2 vCPU, 4 GB RAM, 40 GB NVMe₹674
A build from source, a shared assistant or other services alongsideFull Moon: 4 vCPU, 8 GB RAM, 160 GB NVMe₹1,723

On a 4 GB plan, use the installer or npm, not a source build. Our VPS plans have no GPU, so local models would run slowly on CPU; a hosted model API fits better. Resize later from the client area. Prices exclude 18% GST.

A server your assistant can live on.

KVM with dedicated vCPU, NVMe and full root in Mumbai or Delhi NCR, ready a few minutes after payment, from ₹581/mo.

See VPS hosting plans

OpenClaw on a VPS vs a Mac mini at home

The other way to keep an assistant always on is a small computer at home, such as a Mac mini. The difference is what keeps it online.

VPS in a data centerComputer at home
Power cutsDual power feeds, UPS and on-site generatorsGoes offline unless you add an inverter or UPS
InternetSeveral upstream carriers with failoverOne broadband line; an outage drops it
SeparationIts own machine, away from personal accountsOften shares accounts with your personal life
BackupsDaily, kept for 7 daysWhatever you set up
CostA monthly rentHardware up front, plus electricity

A home machine makes sense if you already own one or want local apps on the same desk. If the assistant must answer through power cuts and broadband outages, a VPS is simpler.

Mumbai or Delhi NCR?

Mumbai (BOM1) and Delhi NCR (DEL1) cost the same, so pick the city nearest you. They are about 22 ms apart, and our team moves a VPS between them for free. See latency from each city.

Backups and updates

Every RapidServer VPS gets daily backups kept for 7 days, plus snapshots on demand (VPS backup guide). Take a snapshot before you update: the update docs warn that reinstalling an older package doesn't undo a newer version's schema migration. To update, run openclaw update, which restarts the Gateway once, then openclaw update status.

What it costs

  • OpenClaw: free and MIT-licensed.
  • The server: from ₹581/mo plus 18% GST, billed monthly in rupees with a GST invoice.
  • The model: billed separately by your provider. RapidServer doesn't sell model plans or API credits.

Running coding agents or bots too? See VPS for AI agents and bot hosting.

Questions

Can I host OpenClaw on a VPS?+
Yes. The docs cover deploying OpenClaw on a cloud server or VPS, and the Gateway is fully supported on Linux. Run the installer as a non-root user, install the service during onboarding and enable lingering.
What are the OpenClaw VPS requirements?+
Linux, Node.js 24.16+ or 26.1+ (24.22.1+ or 26.12.1+ recommended for security; the installer adds Node if missing), and a model provider API key, with SSD storage recommended. The docs publish no minimum RAM and list no GPU requirement.
Does OpenClaw need a GPU?+
The docs list no GPU requirement, because your model provider runs the model. RapidServer VPS plans have no GPU, so use a hosted model API.
What VPS size do I need for OpenClaw?+
For one personal assistant, start with Stardust: 2 vCPU and 4 GB RAM at ₹581/mo. To build from source or share it, start with Full Moon: 8 GB RAM. These are our suggestions, not official minimums.
Is it safe to open the OpenClaw dashboard on the internet?+
Keep the Gateway on loopback, as the docs advise, and reach it through an SSH tunnel or Tailscale Serve. Binding it beyond loopback requires Gateway auth. Run openclaw security audit after changes.
OpenClaw VPS vs Mac mini: which is better?+
A VPS stays online through home power cuts and broadband outages and comes with daily backups. A Mac mini suits you if you already own one and want local apps nearby.
OpenClaw ko VPS par 24/7 kaise chalayein?+
Linux VPS lijiye, alag non-root user banaiye aur official installer chalaiye. Onboarding mein background service on kijiye, phir sudo loginctl enable-linger $(whoami) chalaiye taaki logout ke baad bhi chalta rahe. Gateway loopback par rakhiye aur SSH tunnel se kholiye. Stardust plan ₹581/mo plus GST se shuru hai.

Give your assistant a server that never sleeps.

KVM VPS with dedicated vCPU, NVMe and full root in Mumbai or Delhi NCR, billed monthly in rupees with a GST invoice.