# Cheapest VPS for Claude Code: 8G RAM plans in supported regions, by price (2026-10)

Last price check: 2026-10-28

On an always-on VPS, Claude Code keeps working when your laptop is closed, and you can check on it from your phone. The machine has two hard requirements: enough RAM, and a data centre in a region Anthropic supports. Past that, it is a price comparison. Below are the 8G plans in stock now by monthly price, checked by hand on each provider's site; yearly prices are divided by 12.

## How much RAM Claude Code needs

Anthropic's minimum for Claude Code is 4GB of RAM on Debian 10 or Ubuntu 20.04 and later. Claude Code does more than call an API: it clones repositories, installs dependencies, runs builds and tests, and sometimes a headless browser, so 4G runs out fast. This site picks 8G, enough for Claude Code, a browser and a build at the same time. For a light agent only, 4G will do.

## Where the server should be

Claude Code sends its requests from the machine it runs on, so the server must sit in a country or region Anthropic supports, such as the US, Europe, Japan or Singapore; mainland China and Hong Kong are not among them. The tables list only data centres marked as supported in the Claude column. A data centre close to you makes SSH smoother; for use from mainland China, see [using Claude Code from China (in Chinese)](https://vps.appsail.dev/guide/claude-code-china/).

## The cheapest 8G plans right now

All regions together, cheapest first, top 12. The full list with filters is on the [home page](https://vps.appsail.dev/en/).

| Vendor | Plan | Specs | Data centre | Monthly price | Test IP |
| --- | --- | --- | --- | --- | --- |
| [Hostinger](https://vps.appsail.dev/en/hostinger/) | [KVM 2](https://vps.appsail.dev/go/hostinger/KVM%202) | 2 vCPU / 8G / 100GB NVMe | Same price in every data centre | $8.79 | — |
| [RackNerd](https://vps.appsail.dev/en/racknerd/) | [8 GB KVM VPS yearly deal](https://vps.appsail.dev/go/racknerd/8%20GB%20KVM%20VPS%20%E5%B9%B4%E4%BB%98%E7%89%B9%E4%BB%B7) | 7 vCPU / 8G / 150GB SSD | Same price in every data centre | $10.00 | [107.174.51.158](https://www.itdog.cn/ping/107.174.51.158) Telecom 170 · Unicom 229 · Mobile 193 ms |
| [Jtti](https://vps.appsail.dev/en/jtti/) | [USA CLOUD 4C8G 20M yearly deal (limit 1 per customer)](https://vps.appsail.dev/go/jtti/USA%20CLOUD%204C8G%2020M%20%E5%B9%B4%E4%BB%98%E7%89%B9%E6%83%A0%EF%BC%88%E6%AF%8F%E4%BA%BA%E9%99%90%201%20%E5%8F%B0%EF%BC%89) | 4 vCPU / 8G / 50GB | Los Angeles | $13.00 | [177.3.40.254](https://www.itdog.cn/ping/177.3.40.254) Telecom 158 · Unicom 175 · Mobile 167 ms |
| [HostKvm](https://vps.appsail.dev/en/hostkvm/) | [Japan Japan-Gold (overseas IP, Tokyo)](https://vps.appsail.dev/go/hostkvm/%E6%97%A5%E6%9C%AC%20Japan-Gold%EF%BC%88%E6%B5%B7%E5%A4%96%20IP%EF%BC%8C%E4%B8%9C%E4%BA%AC%EF%BC%89) | 4 vCPU / 8G / 80GB | Tokyo | $15.00 | [103.85.24.141](https://www.itdog.cn/ping/103.85.24.141) Telecom 102 · Unicom 97 · Mobile 87 ms |
| [HostKvm](https://vps.appsail.dev/en/hostkvm/) | [South Korea KR-Gold (overseas IP, includes mainland optimisation)](https://vps.appsail.dev/go/hostkvm/%E9%9F%A9%E5%9B%BD%20KR-Gold%EF%BC%88%E6%B5%B7%E5%A4%96%20IP%EF%BC%8C%E5%90%AB%E5%86%85%E5%9C%B0%E4%BC%98%E5%8C%96%EF%BC%89) | 4 vCPU / 8G / 80GB | South Korea | $15.00 | [45.154.14.14](https://www.itdog.cn/ping/45.154.14.14) Telecom 61 · Unicom 80 · Mobile 76 ms |
| [Lcayun](https://vps.appsail.dev/en/lcayun/) | [US CN2 Elastic 2 vCPU 8G](https://vps.appsail.dev/go/lcayun/%E7%BE%8E%E5%9B%BD%20CN2%20%E5%BC%B9%E6%80%A7%202%20%E6%A0%B8%208G) | 2 vCPU / 8G / 30GB | US West (city not stated by vendor) | $15.28 | [154.201.77.197](https://www.itdog.cn/ping/154.201.77.197) Telecom 149 · Unicom 174 · Mobile 160 ms |
| [Lcayun](https://vps.appsail.dev/en/lcayun/) | [Japan BGP Elastic 2 vCPU 8G](https://vps.appsail.dev/go/lcayun/%E6%97%A5%E6%9C%AC%20BGP%20%E5%BC%B9%E6%80%A7%202%20%E6%A0%B8%208G) | 2 vCPU / 8G / 30GB | Japan | $16.34 | [64.83.35.136](https://www.itdog.cn/ping/64.83.35.136) Telecom 57 · Unicom 54 · Mobile 74 ms |
| [Lcayun](https://vps.appsail.dev/en/lcayun/) | [South Korea CN2 Elastic 2 vCPU 8G](https://vps.appsail.dev/go/lcayun/%E9%9F%A9%E5%9B%BD%20CN2%20%E5%BC%B9%E6%80%A7%202%20%E6%A0%B8%208G) | 2 vCPU / 8G / 20GB | South Korea | $17.66 | [61.111.252.20](https://www.itdog.cn/ping/61.111.252.20) Telecom 48 · Unicom 89 · Mobile 62 ms |
| [Jtti](https://vps.appsail.dev/en/jtti/) | [JP CLOUD 4C8G yearly deal](https://vps.appsail.dev/go/jtti/JP%20CLOUD%204C8G%20%E5%B9%B4%E4%BB%98%E7%89%B9%E6%83%A0) | 4 vCPU / 8G / 50GB | Tokyo | $22.41 | [103.110.221.254](https://www.itdog.cn/ping/103.110.221.254) Telecom 80 · Unicom 77 · Mobile 60 ms |
| [Lcayun](https://vps.appsail.dev/en/lcayun/) | [Singapore Elastic 2 vCPU 8G](https://vps.appsail.dev/go/lcayun/%E6%96%B0%E5%8A%A0%E5%9D%A1%20%E5%BC%B9%E6%80%A7%202%20%E6%A0%B8%208G) | 2 vCPU / 8G / 30GB | Singapore | $25.45 | [162.4.172.38](https://www.itdog.cn/ping/162.4.172.38) Telecom 105 · Unicom 111 · Mobile 82 ms |
| [TmhHost](https://vps.appsail.dev/en/tmhhost/) | [US 9929 #6](https://vps.appsail.dev/go/tmhhost/%E7%BE%8E%E5%9B%BD%209929%20%236) | 4 vCPU / 8G / 60GB SSD | Los Angeles | $25.90 | [154.40.38.1](https://www.itdog.cn/ping/154.40.38.1) Telecom 163 · Unicom 170 · Mobile 156 ms |
| [TmhHost](https://vps.appsail.dev/en/tmhhost/) | [US 4837 #6](https://vps.appsail.dev/go/tmhhost/%E7%BE%8E%E5%9B%BD%204837%20%236) | 4 vCPU / 8G / 60GB SSD | Los Angeles | $25.90 | [154.12.37.90](https://www.itdog.cn/ping/154.12.37.90) Telecom 168 · Unicom 182 · Mobile 209 ms |

## By region: the three cheapest

### United States

| Vendor | Plan | Specs | Data centre | Monthly price | Test IP |
| --- | --- | --- | --- | --- | --- |
| [Hostinger](https://vps.appsail.dev/en/hostinger/) | [KVM 2](https://vps.appsail.dev/go/hostinger/KVM%202) | 2 vCPU / 8G / 100GB NVMe | Same price in every location; pick the US | $8.79 | — |
| [RackNerd](https://vps.appsail.dev/en/racknerd/) | [8 GB KVM VPS yearly deal](https://vps.appsail.dev/go/racknerd/8%20GB%20KVM%20VPS%20%E5%B9%B4%E4%BB%98%E7%89%B9%E4%BB%B7) | 7 vCPU / 8G / 150GB SSD | Same price in every data centre | $10.00 | [107.174.51.158](https://www.itdog.cn/ping/107.174.51.158) Telecom 170 · Unicom 229 · Mobile 193 ms |
| [Jtti](https://vps.appsail.dev/en/jtti/) | [USA CLOUD 4C8G 20M yearly deal (limit 1 per customer)](https://vps.appsail.dev/go/jtti/USA%20CLOUD%204C8G%2020M%20%E5%B9%B4%E4%BB%98%E7%89%B9%E6%83%A0%EF%BC%88%E6%AF%8F%E4%BA%BA%E9%99%90%201%20%E5%8F%B0%EF%BC%89) | 4 vCPU / 8G / 50GB | Los Angeles | $13.00 | [177.3.40.254](https://www.itdog.cn/ping/177.3.40.254) Telecom 158 · Unicom 175 · Mobile 167 ms |

### Europe

| Vendor | Plan | Specs | Data centre | Monthly price | Test IP |
| --- | --- | --- | --- | --- | --- |
| [Hostinger](https://vps.appsail.dev/en/hostinger/) | [KVM 2](https://vps.appsail.dev/go/hostinger/KVM%202) | 2 vCPU / 8G / 100GB NVMe | Same price in every location; pick Europe | $8.79 | — |
| [BandwagonHost](https://vps.appsail.dev/en/bandwagonhost/) | [160G KVM PROMO](https://vps.appsail.dev/go/bandwagonhost/160G%20KVM%20PROMO) | 5 vCPU / 8G / 160GB SSD | Same price in every location; pick Europe | $33.33 | — |
| [V.PS](https://vps.appsail.dev/en/vpshosting/) | [FRA EPYC Grand (Performance, CTGNet)](https://vps.appsail.dev/go/vpshosting/FRA%20EPYC%20Grand%EF%BC%88Performance%EF%BC%8CCTGNet%EF%BC%89) | 4 vCPU / 8G / 120GB NVMe | Frankfurt | $44.75 | [45.80.188.66](https://www.itdog.cn/ping/45.80.188.66) Telecom 176 · Unicom 149 · Mobile 161 ms |

### Japan

| Vendor | Plan | Specs | Data centre | Monthly price | Test IP |
| --- | --- | --- | --- | --- | --- |
| [HostKvm](https://vps.appsail.dev/en/hostkvm/) | [Japan Japan-Gold (overseas IP, Tokyo)](https://vps.appsail.dev/go/hostkvm/%E6%97%A5%E6%9C%AC%20Japan-Gold%EF%BC%88%E6%B5%B7%E5%A4%96%20IP%EF%BC%8C%E4%B8%9C%E4%BA%AC%EF%BC%89) | 4 vCPU / 8G / 80GB | Tokyo | $15.00 | [103.85.24.141](https://www.itdog.cn/ping/103.85.24.141) Telecom 102 · Unicom 97 · Mobile 87 ms |
| [Lcayun](https://vps.appsail.dev/en/lcayun/) | [Japan BGP Elastic 2 vCPU 8G](https://vps.appsail.dev/go/lcayun/%E6%97%A5%E6%9C%AC%20BGP%20%E5%BC%B9%E6%80%A7%202%20%E6%A0%B8%208G) | 2 vCPU / 8G / 30GB | Japan | $16.34 | [64.83.35.136](https://www.itdog.cn/ping/64.83.35.136) Telecom 57 · Unicom 54 · Mobile 74 ms |
| [Jtti](https://vps.appsail.dev/en/jtti/) | [JP CLOUD 4C8G yearly deal](https://vps.appsail.dev/go/jtti/JP%20CLOUD%204C8G%20%E5%B9%B4%E4%BB%98%E7%89%B9%E6%83%A0) | 4 vCPU / 8G / 50GB | Tokyo | $22.41 | [103.110.221.254](https://www.itdog.cn/ping/103.110.221.254) Telecom 80 · Unicom 77 · Mobile 60 ms |

### Singapore

| Vendor | Plan | Specs | Data centre | Monthly price | Test IP |
| --- | --- | --- | --- | --- | --- |
| [Lcayun](https://vps.appsail.dev/en/lcayun/) | [Singapore Elastic 2 vCPU 8G](https://vps.appsail.dev/go/lcayun/%E6%96%B0%E5%8A%A0%E5%9D%A1%20%E5%BC%B9%E6%80%A7%202%20%E6%A0%B8%208G) | 2 vCPU / 8G / 30GB | Singapore | $25.45 | [162.4.172.38](https://www.itdog.cn/ping/162.4.172.38) Telecom 105 · Unicom 111 · Mobile 82 ms |
| [Jtti](https://vps.appsail.dev/en/jtti/) | [SG CLOUD 4C8G yearly deal](https://vps.appsail.dev/go/jtti/SG%20CLOUD%204C8G%20%E5%B9%B4%E4%BB%98%E7%89%B9%E6%83%A0) | 4 vCPU / 8G / 50GB | Singapore | $29.20 | [177.5.76.254](https://www.itdog.cn/ping/177.5.76.254) Telecom 71 · Unicom 69 · Mobile 80 ms |
| [DigitalOcean](https://vps.appsail.dev/en/digitalocean/) | [Basic Droplet 8GiB](https://vps.appsail.dev/go/digitalocean/Basic%20Droplet%208GiB) | 4 vCPU / 8G / 160GiB SSD | Same price in every location; pick Singapore | $48.00 | — |

## Monthly or yearly

Yearly billing is usually much cheaper, but it is safer to start monthly, or use the refund window, to try the network and speed before paying for a year. Where a yearly price exists the table divides it by 12; each provider page lists the monthly and renewal prices under Price and deals.

### Where the test IPs and latency figures come from

A test IP is a machine the vendor publishes for this data centre and this route. Before buying you can ping it to see how fast your own network reaches it. Clicking an IP opens a multi-node ping across China on itdog, which you can break down by province and carrier.

- **Where the IPs come from**: The vendor's website or Looking Glass page, or the vendor's reply to a support ticket; a few come from third-party reviews. When an IP published by the vendor no longer answers, we replace it with the reachable address with the lowest latency in the same subnet.
- **Who measures the latency**: Probes in mainland China from two public measurement networks. Each hour one vendor takes its turn, so each vendor is measured in two or three time slots a day, by day and at night, and the day's runs are averaged. Each run uses up to 12 probes on each of Telecom, Unicom and Mobile (6 per network; when a network has fewer that day, we use what it has), and each probe pings 4 times.
- **How to read it**: “Telecom 18 · Unicom 22 · Mobile 37 ms” is the latency on each of the three carriers; hover to see the probe cities and loss rate. When a carrier shows 20% loss or more, it is spelt out, e.g. “Telecom 99 (loss 55%)”. That latency figure is only the average of the packets that came back, and in real use the connection will lag; the “My network” filter and sorting do not count it as reachable. We have cross-checked such loss over TCP ports: the handshake time grows several-fold, so it is the path from that carrier to the data centre that drops packets, not the server rate-limiting ping. Sorting by the column uses the fastest of the three carriers.
- **No reply and unreachable**: “no reply” on one carrier means that probe could not reach the IP. “Test IP unreachable” means probes both inside and outside China could not reach it, usually because the IP has been retired; it does not mean the route or the server is unavailable. IPs that block ping are tested on TCP port 80/443 instead.
- **How accurate is it**: For reference only. Each run uses at most 12 probes per carrier, pinging 4 times each; the probes change every run, most sit in data centres rather than on home broadband, and bandwidth and the evening peak are not measured.

### What the route names mean

The route is which carrier's network, and which of its networks, carries traffic between mainland China and the data centre. The closer to China and the better the route, the smoother SSH and web pages feel, and the steadier things are at the evening peak.

- **CN2 GIA**: China Telecom's premium network (AS4809), with CN2 both ways. Low latency, stable at the evening peak, the most expensive. The first choice for Telecom users.
- **CN2 GT**: The standard version of Telecom CN2: the international leg uses CN2, the domestic leg uses the ordinary 163 backbone. Cheaper than GIA, a little less stable at the evening peak.
- **CN2**: The vendor only says CN2, without stating GIA or GT; it is safer to expect GT-level performance.
- **9929**: China Unicom's premium network (AS9929, also called Unicom A network or CUII). Works best for Unicom users.
- **4837**: China Unicom's standard backbone (AS4837). Cheap, plentiful bandwidth; may be congested at the evening peak.
- **CMIN2**: China Mobile's premium network (AS58807). Works best for Mobile users.
- **CMI**: China Mobile International's standard outbound route (AS58453): better than a standard route for Mobile users, worse than CMIN2.
- **All 3 carriers optimised**: The vendor states that return traffic for all of Telecom, Unicom and Mobile goes over optimised routes, so it will not be too bad whichever broadband you use.
- **Standard route**: A regular international route, not optimised for mainland China; it can slow down noticeably at the evening peak. As a Main server it may lag from China; if it does, add a Relay in front of it.

This site labels routes as each vendor states them and does not run route tests. Real-world results depend on your broadband carrier; test with the test IP before buying.

Guides: [VPS for self-hosted AI agents](https://vps.appsail.dev/en/guide/ai-agent/) · [Hetzner alternatives](https://vps.appsail.dev/en/guide/hetzner-alternative/) · [Serving users in mainland China: Hong Kong and Japan](https://vps.appsail.dev/en/guide/hk-japan-vps-china/) · [VPS for Australia and New Zealand](https://vps.appsail.dev/en/guide/australia-vps/) · [undefined](https://vps.appsail.dev/en/guide/claude-code-vps/) · [Stock changes (RSS)](https://vps.appsail.dev/feed.xml)

About the data: prices, data centres and ports are as stated on each vendor's website. Each row is one plan: “Main server (8G)” is the cheapest 8G RAM plan we have verified for that vendor and route, for running Claude Code; “Relay (China-optimised route)” is the cheapest plan of any RAM size for that vendor and route, used as a proxy or relay. All prices are converted to a US dollar monthly price (¥6.68 = $1, mid-rate on 2026-10-27); where a yearly price exists we divide it by 12, and the monthly price is shown under “Price and discounts”. Route labels follow the vendor's own product names or descriptions; this site does not run route tests. The green tag “Native / Residential / Dual-ISP” after the route marks the IP type (of interest for cross-border e-commerce and overseas social media work), also as the vendor's product name or description states it; this site does not verify each IP. “CN2” means the vendor only says CN2, without stating GIA or GT; “All 3 carriers optimised” means the vendor states that return traffic for Telecom, Unicom and Mobile goes over optimised routes. The “Telecom xx · Unicom xx · Mobile xx ms” under the test IP is the average latency of pings from up to 12 public measurement probes on each of mainland China's three carriers; each hour one vendor takes its turn, each vendor gets two or three time slots a day, and the day's runs are averaged. The probes differ every run, so the figures are for reference only; hover to see the probe cities and loss rate. When one network shows 20% loss or more it is marked “Telecom 99 (loss 55%)”; such a route will lag in real use, and filters and sorting do not count it as reachable. IPs that block ping are tested on a TCP port instead. “no reply” on one network means that probe could not reach the IP; “Test IP unreachable” means probes both inside and outside China could not reach it, usually because the test IP has been retired; it does not mean the route or the server is unavailable. Hong Kong data centres are not in Anthropic's supported regions; other data centres are judged by the official list of supported countries, which does not mean every IP has been tested to work.

Some buy links carry an affiliate commission; commissions do not affect the ranking or the data in the table. Some vendors' affiliate links can only land on the home page; in that case the “Product page” link next to the plan goes straight to the plan's page, without commission. Where a vendor has a public coupon code, it is shown in the “Price and discounts” column; enter it yourself at checkout.
