Some links are affiliate links: if you buy through them we may earn a commission, at no cost to you. It never changes our numbers or rankings — how we make money.

Coding agents

Run Claude Code on a VPS (safely)

A coding agent on a server keeps working when your laptop is closed and builds on hardware you don’t mind it breaking. It needs more memory than a chat agent, and much more care.

Plans (8 GB and up)

Provider / planSpecsIntro / moRenews / moPaid upfront36-month totalThe catch
Hostinger KVM 2VPS2 vCPU · 8 GB · 100 GB$8.79 (24-mo term)$14.99 +71%$210.96$390.84~$210.96 upfront for 24 months; renews 71% higher. Promo moved between $8.79 and $8.99 in 2026.source, checked 2026-11-04
MC-Node Premium VPS 8 GBVPS4 vCPU · 8 GB · 80 GB€15.30€15.30monthly€550.80Monthly price is higher than a 24-month promo — but it never jumps.source, checked 2026-11-08
Hostinger KVM 4VPS4 vCPU · 16 GB · 200 GB$12.99 (24-mo term)$28.99 +123%$311.76$659.64~$311.76 upfront; renews 123% higher — the steepest jump in the range.source, checked 2026-11-04
Hetzner Cloud (cost-optimised)VPSnot publishedcheck current pricecheck current pricemonthlycheck current priceRaised cloud prices twice in 2026 (some plans >170%). KYC at signup. Pays no cash commission — listed because it's often the right pick.source, checked 2026-11-08
DigitalOcean DropletVPSnot publishedcheck current pricecheck current pricemonthlycheck current price1 GB is the documented floor, not a comfortable size.source, checked 2026-11-08

EUR prices are shown in EUR and not converted. "Total" includes the renewal price once the promo term ends.

Setup

# as a dedicated non-root user (Claude Code won't skip permission prompts as root)
curl -fsSL https://claude.ai/install.sh | bash

# keep sessions alive across SSH drops
tmux new -s agent
claude
# detach: Ctrl+B then D     reattach: tmux attach -t agent

Logging in on a headless server: Claude Code prints a login URL; open it on your own computer and paste the code back. tmux survives a dropped connection but not a reboot.

Sandboxing

Prices and specs last reviewed 2026-11-08. Hosting promos change often — confirm on the provider's page before you buy.