VPS for Claude Code

Claude Code works in the terminal and runs builds and tests itself, so it needs a Linux server with at least 4 GB of RAM, 2 cores and 40 GB on SSD or NVMe. Here: KVM plans with their own IPv4 and hourly billing, so you can create a server for an agent's task and delete it once the task is done.

Filters 6
Processor
Disk
Disk type
Size, GB
RAM
Traffic per month
at least
Operating system
Country
Payment method
Virtualization
Terms
Found 127 plans — showing , first:
Host and plan ProcessorRAM Disk Traffic Where Payment Price
CServers CServersExtraVPS-4096
Money-back No ID required DDoS protection
3 cores3.1 GHz 4 GBRAM 60 GBNVMe 25 TB1 Gbit/s Finland CryptocurrencyBank card (Visa/Mastercard)PayPal
2.16 $ total when paying for 3 mo Open
Phylex Platforms Phylex PlatformsAXV 1
DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 50 GBNVMe 1 Gbit/sport Netherlands Payment methods are not listed on the host’s website
3.26 $ Open
HostUp HostUpVPSXS
DDoS protection IPv6
2 coresCPU 4 GBRAM 50 GBNVMe 2 TBtraffic Sweden Payment methods are not listed on the host’s website
4.45 $ Open
Voyar Cloud Voyar CloudCV-20
DDoS protection Ready in minutes
4 coresCPU 4 GBRAM 60 GBNVMe —traffic Turkey Invoice for companies
4.88 $ Open
OVHcloud OVHcloudVPS 2027 VPS-1
DDoS protection IPv6
2 coresCPU 4 GBRAM 40 GBNVMe unlimited500 Mbit/s Bank card (Visa/Mastercard)PayPal
4.94 $ when paying for year: 4.18 $/⁠mo Open
Priente Cloud Priente Cloude.medium
Ready in minutes
2 coresCPU 4 GBRAM 40 GBSSD —traffic Turkey Bank card (Visa/Mastercard)
5.10 $ when paying for year: 4.60 $/⁠mo Open
OVHcloud US OVHcloud USVPS-1 (2027)
DDoS protection
2 coresCPU 4 GBRAM 40 GBNVMe unlimited500 Mbit/s USA Payment methods are not listed on the host’s website
5.35 $ when paying for year: 4.54 $/⁠mo Open
RackGenius RackGenius4GB LTO VPS
DDoS protection Ready in minutes IPv6
2 coresCPU 4 GBRAM 50 GBSSD 3 TBtraffic USA Payment methods are not listed on the host’s website
6.00 $ Open
A Aruba CloudVPS Hosting H.2-4
IPv6
2 coresCPU 4 GBRAM 40 GBSSD 25 TB1 Gbit/s Italy Payment methods are not listed on the host’s website
6.03 $ Open
Sive Host Sive HostuMsunduzi River
Money-back DDoS protection Ready in minutes
4 coresCPU 8 GBRAM 200 GBSSD 4 TB100 Mbit/s South Africa CryptocurrencyBank card (Visa/Mastercard)PayPal
6.03 $ when paying for 2 years: 4.27 $/⁠mo Open
Hexabyte AB Hexabyte ABe3.medium
IPv6
2 coresCPU 4 GBRAM 40 GBNVMe 20 TBtraffic Sweden Invoice for companies
6.35 $ Open
HostVDS HostVDSHostVDS 4
2 coresCPU 4 GBRAM 40 GBNVMe 2 TB10 Gbit/s CryptocurrencyBank card (Visa/Mastercard)
6.58 $ Open
ServersCamp ServersCampSimple VPS vps-std-4g
Trial Ready in minutes IPv6
2 coresCPU 4 GBRAM 80 GBSSD 3 TB1 Gbit/s Romania Bank card (Visa/Mastercard)Invoice for companies
6.59 $ Open
DataPasa DataPasaVPS-3
Ready in minutes
2 coresCPU 4 GBRAM 64 GBNVMe 32 TB900 Mbit/s Germany CryptocurrencyBank card (Visa/Mastercard)PayPal
7.09 $ Open
Biznetgio BiznetgioNEO Lite MS 4.2
DDoS protection
2 coresCPU 4 GBRAM 60 GBSSD unlimitedtraffic Indonesia Bank card (Visa/Mastercard)Invoice for companies
7.61 $ yearly: 7.61 $/⁠mo Open
CloudCone CloudConeSSD VPS 4
DDoS protection IPv6
8 coresCPU 4 GBRAM 120 GBSSD 10 TB1 Gbit/s USA Bank card (Visa/Mastercard)PayPal
7.66 $ total when paying for year Open
Cloudblast.io Cloudblast.ioVMA31
DDoS protection Ready in minutes IPv6
3 coresCPU 6 GBRAM 40 GBNVMe 5 TB10 Gbit/s CryptocurrencyBank card (Visa/Mastercard)
7.92 $ Open
IDCloudHost.com IDCloudHost.comRocket VPS 2
DDoS protection Ready in minutes
4 cores2.9 GHz 4 GBRAM 80 GBNVMe —traffic Indonesia Bank card (Visa/Mastercard)PayPalInvoice for companies
7.94 $ when paying for year: 7.54 $/⁠mo Open
Sharktech.net Sharktech.netSmartVPS
DDoS protection Ready in minutes IPv6
2 coresCPU 4 GBRAM 40 GBNVMe 4 TBtraffic Payment methods are not listed on the host’s website
7.95 $ when paying for year: 3.98 $/⁠mo Open
Pulsar67, LLC Pulsar67, LLCgc.small
Money-back DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 60 GBNVMe 5 TB2500 Mbit/s USA CryptocurrencyBank card (Visa/Mastercard)PayPal
8.00 $ Open
PHP-Friends PHP-FriendsEntry M
DDoS protection
2 coresCPU 4 GBRAM 40 GBSSD 10 TB1 Gbit/s Germany Bank card (Visa/Mastercard)PayPalInvoice for companies
8.01 $ Open
Dataforest DataforestSeed Entry M
DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 40 GBSSD 10 TB1 Gbit/s Germany PayPalInvoice for companies
8.01 $ Open
Hostmarket HostmarketCLH12
Money-back DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 40 GBSSD 20 TBtraffic CryptocurrencyBank card (Visa/Mastercard)PayPal
8.23 $ Open
Hostnic  ID Hostnic IDCloud VPS 50GB SSD
DDoS protection Ready in minutes
3 coresCPU 4 GBRAM 50 GBSSD unlimitedtraffic Indonesia Bank card (Visa/Mastercard)PayPalInvoice for companies
8.49 $ yearly: 8.49 $/⁠mo Open
Hostnetindia.com Hostnetindia.comG2-HNI-4G
DDoS protection
2 coresCPU 4 GBRAM 60 GBSSD 1 TBtraffic India Payment methods are not listed on the host’s website
9.10 $ yearly: 9.09 $/⁠mo Open
CubePath Inc. CubePath Inc.gp.micro
Money-back DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 80 GBNVMe 5 TBtraffic CryptocurrencyBank card (Visa/Mastercard)PayPal
9.61 $ Open
Onidel OnidelONI-2
Ready in minutes IPv6
2 coresCPU 4 GBRAM 40 GBNVMe 2 TBtraffic CryptocurrencyBank card (Visa/Mastercard)PayPal
9.72 $ when paying for 3 years: 6.80 $/⁠mo Open
Gcorelabs GcorelabsKVM-SSD-3-DRF
DDoS protection Ready in minutes
4 coresCPU 4 GBRAM 50 GBSSD unlimited200 Mbit/s Germany Bank card (Visa/Mastercard)PayPalInvoice for companies
9.87 $ when paying for year: 7.90 $/⁠mo Open
Cherry Servers Cherry ServersCLOUD VPS 4 (GEN 2)
Money-back DDoS protection Ready in minutes
4 coresCPU 4 GBRAM 80 GBSSD 1 TB1 Gbit/s CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
9.89 $ Open
SprintCDN SprintCDNStandard Mini
DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 75 GBNVMe unlimited10 Gbit/s CryptocurrencyBank card (Visa/Mastercard)
10.00 $ Open
Dewabiz.com Dewabiz.comDewaCloud Hemat 2 vCPU/4 GB
Ready in minutes IPv6
2 coresCPU 4 GBRAM 60 GBSSD 2 TB300 Mbit/s Indonesia Bank card (Visa/Mastercard)PayPalInvoice for companies
10.40 $ Open
Rack Forest Rack ForestLINUX SSD VPS 4
Trial DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 40 GBSSD 90 TBtraffic Hungary PayPal
10.60 $ yearly: 10.60 $/⁠mo Open
HOSTOFF.NET HOSTOFF.NETCore-2
DDoS protection Ready in minutes IPv6
2 coresCPU 4 GBRAM 60 GBNVMe unlimited10 Gbit/s CryptocurrencyBank card (Visa/Mastercard)Invoice for companies
10.98 $ yearly: 10.98 $/⁠mo Open
Hostman HostmanCloud Server Fixed 2 vCPU / 4 GB
DDoS protection
2 cores3.3 GHz 4 GBRAM 80 GBNVMe 200 Mbit/sport Germany Payment methods are not listed on the host’s website
10.99 $ Open
MivoCloud MivoCloudSSD KVM VPS S2
Money-back DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 60 GBSSD 3 TB1 Gbit/s CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
10.99 $ Open
Server Plan Server PlanVPS 2
Money-back DDoS protection
2 coresCPU 4 GBRAM 100 GBNVMe unlimited500 Mbit/s not specified Bank card (Visa/Mastercard)PayPalInvoice for companies
10.99 $ Open
FFxF FFxFStarter
DDoS protection Ready in minutes IPv6
2 coresCPU 4 GBRAM 40 GBSSD 1 TB1 Gbit/s Canada Payment methods are not listed on the host’s website
11.20 $ Open
Scaleway ScalewayDedibox VPS-PRO-2-S
Ready in minutes IPv6
2 coresCPU 4 GBRAM 75 GBNVMe unlimited400 Mbit/s Payment methods are not listed on the host’s website
11.53 $ Open
QuickHostUK QuickHostUKVPS2
Money-back DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 80 GBNVMe unlimited1 Gbit/s United Kingdom Bank card (Visa/Mastercard)PayPalInvoice for companies
11.87 $ yearly: 11.87 $/⁠mo Open
Partvps PartvpsGL2-4
2 coresCPU 4 GBRAM 40 GBSSD —traffic CryptocurrencyBank card (Visa/Mastercard)
11.91 $ Open
GBNetwork.my GBNetwork.myn8n VPS Lite
Ready in minutes
2 coresCPU 4 GBRAM 60 GBNVMe 8 TB1 Gbit/s Malaysia CryptocurrencyBank card (Visa/Mastercard)PayPalInvoice for companies
11.97 $ when paying for year: 9.57 $/⁠mo Open
FOXCLOUD FOXCLOUDVPS hosting 1 (ispmanager/Hestia)
DDoS protection Ready in minutes
2 coresCPU 4 GBRAM 50 GBSSD 5 TBtraffic Bank card (Visa/Mastercard)PayPalInvoice for companies
12.50 $ Open
ML CLOUD ML CLOUDML100
DDoS protection Ready in minutes IPv6
4 coresCPU 4 GBRAM 100 GBNVMe unlimited1 Gbit/s Payment methods are not listed on the host’s website
12.99 $ Open
Aeza AezaCLTs-2
DDoS protection Ready in minutes IPv6
2 cores4.3 GHz 4 GBRAM 60 GBNVMe unlimited25 Gbit/s USA Bank card (Visa/Mastercard)
13.05 $ when paying for year: 11.48 $/⁠mo Open
Tropic Host Tropic HostMain
DDoS protection Ready in minutes
4 coresCPU 8 GBRAM 50 GBNVMe —traffic Germany CryptocurrencyBank card (Visa/Mastercard)
13.13 $ when paying for year: 12.21 $/⁠mo Open
Binary Lane Binary LaneLinux Standard 4 GB
Ready in minutes IPv6
2 coresCPU 4 GBRAM 60 GBNVMe 3 TBtraffic Bank card (Visa/Mastercard)PayPal
13.17 $ Open
Locaweb.com.br Locaweb.com.brVPS 4 GB Linux
Money-back Ready in minutes
2 coresCPU 4 GBRAM 70 GBSSD unlimitedtraffic Brazil Bank card (Visa/Mastercard)
13.82 $ when paying for 2 years: 11.05 $/⁠mo Open
Xenyth Cloud Xenyth Clouds1.medium
Ready in minutes IPv6
2 coresCPU 4 GBRAM 50 GBSSD 60 TBtraffic Canada Bank card (Visa/Mastercard)PayPal
14.00 $ Open
LightNode LightNodeAgency
Ready in minutes
2 coresCPU 4 GBRAM 50 GBNVMe 2 TBtraffic not specified Bank card (Visa/Mastercard)PayPal
14.70 $ Open
Karvl KarvlBasic 2vCPU/4GB
Trial Ready in minutes
2 coresCPU 4 GBRAM 80 GBSSD 15 TBtraffic Bank card (Visa/Mastercard)
14.99 $ Open

VPS for Claude Code: prices, hosting providers and payment methods

The selection has 1,756 plans from 127 hosts. Prices start at 2.16 $ per month, a quarter of plans are cheaper than 37.91 $, half are cheaper than 96.00 $. NVMe: 45% of plans, unlimited traffic: 24%, hourly billing: 100%.

Cheapest hosting providers

  1. CServersExtraVPS-4096 · 3 cores · 4 GB2.16 $
  2. Phylex PlatformsAXV 1 · 2 cores · 4 GB3.26 $
  3. HostUpVPSXS · 2 cores · 4 GB4.45 $
  4. Voyar CloudCV-20 · 4 cores · 4 GB4.88 $
  5. OVHcloudVPS 2027 VPS-1 · 2 cores · 4 GB4.94 $

Price by RAM size

RAMPlansPrice from
from 1 GB1,7562.16 $
from 2 GB1,7562.16 $
from 4 GB1,7562.16 $
from 8 GB1,4626.03 $
from 16 GB1,08010.50 $

Payment methods

  • Bank card92 72%
  • Cryptocurrency36 28%

How many hosting providers in the selection accept each payment method.

Where most plans are

Provider comparisons VPS price index VPS price calculator VPS guide

What kind of server Claude Code needs

Claude Code is a coding agent that works in the terminal: it reads the repository, edits files, runs builds and tests. On a laptop it stops when you close the lid. On a server the session lives as long as you need: the agent finishes a long task overnight, and you connect over SSH to see what it has done.

Why keep the agent on a server

  • The session survives. Start claude inside tmux, disconnect, and come back to the same session from another computer or your phone.
  • Automation. claude -p "…" runs without a dialogue, so you can call the agent from cron, Git hooks or a CI runner (see VPS for CI/CD).
  • Isolation. The agent runs commands on its own. On a separate server it only sees the repositories and keys you put there, not your whole work laptop.
  • Several agents at once. Give each one its own git worktree and tmux window, and builds run in parallel on the server's cores.

What matters in the plan

According to Anthropic's documentation, Claude Code needs an x64 or ARM64 processor and at least 4 GB of RAM; supported Linux systems are Ubuntu 20.04+, Debian 10+ and Alpine 3.19+. The agent itself is light — memory and cores go to the builds, tests and Docker containers it starts. For one agent on a small project 2 cores and 4 GB are enough; for two or three agents or a heavy build, take 4 cores and 8 GB. Disk: 40 GB or more on SSD or NVMe, because repository copies, node_modules and build caches grow fast.

Virtualisation should be KVM, so Docker and containerised tests run without restrictions. An IPv4 address of its own lets you SSH in directly. Hourly billing is handy when the server is needed for one task: create it, let the agent do the work, delete it.

How to set it up safely

  • Work as a separate non-root user: the agent only needs rights to its own home directory.
  • Keep the API key in the ANTHROPIC_API_KEY environment variable or in a file with 600 permissions, and never commit it.
  • Close everything except SSH with a firewall and log in with a key, not a password.
  • For Git, give the agent a deploy key for one repository rather than your personal key to every project.
  • Turn on snapshots or backups: the agent can make mistakes, and rolling the server back is easier than untangling the changes by hand.

FAQ

9 questions with answers

How much memory does Claude Code need on a server?

The documentation says 4 GB or more. That covers the agent and small builds; if it runs Docker, tests with a database or works alongside other agents, take 8 GB.

Do I need Node.js to install it?

No. The main method is the installer «curl -fsSL https://claude.ai/install.sh | bash»: it installs a ready-made program and keeps it updated. Node.js 22+ is only needed if you install through npm.

How do I keep the session when SSH drops?

Run Claude Code inside tmux or screen. After reconnecting, run «tmux attach» and the agent's session continues where it was.

Can Claude Code run without confirmations?

The «--dangerously-skip-permissions» flag turns confirmations off, but Claude Code refuses it when started as root. Use it only in an isolated environment — a container or a separate server without spare keys and data.

Will an OpenVZ or ARM server do?

ARM64 is officially supported. OpenVZ and LXC can cause problems with Docker, so for an agent that starts containers KVM is the better choice.

How much does VPS for Claude Code cost?

From 2.16 $ per month. A quarter of plans are cheaper than 37.91 $, half are cheaper than 96.00 $. In total 1,756 plans from 127 hosts.

Can I pay for VPS for Claude Code by bank card or cryptocurrency?

By bank card at 92 hosts of 127 (72%), by cryptocurrency at 36 (28%). Payment methods for each plan are in the Payment column.

How much does VPS for Claude Code with 2 GB of RAM cost?

From 2.16 $ per month; with 4 GB from 2.16 $, with 8 GB from 6.03 $.

Which countries have the most plans?

Most plans are in in the USA, in the Netherlands and in Germany. You can pick a country in the filter, and prices and payment methods will update.

Related

Guide
A Server for n8n and Automations: Memory, Database, Webhooks and BackupsHourly VPS Billing: When It Saves Money and When You Overpay
Comparisons
DigitalOcean vs HetznerVultr vs Akamai (Linode)Amazon Lightsail vs Scaleway
Similar collections
VPS for a test environmentVPS for WordPressVPS for an online store

VPS/VDS collections

all 546 →

Prices and specs are taken from hosting providers' websites; check them on the website before paying, as hosts change plans without notice. About the catalog and methodology