Cloud VPS · Linux
A VPS for Claude Code
A Linux VPS with 4 GB of memory or more, Anthropic's stated minimum for Claude Code, on Ubuntu or Debian, from $11.90 a month or $0.0218 an hour, in 72 cities. Install Claude Code with one command, sign in with your own Claude plan, and it works on the server, not on your laptop.
- from $11.90/mo
- or $0.0218/hr
- 72 cities
- Ubuntu or Debian
- full root
- dedicated IPv4
Prices and cities are read from the catalogue the cart charges from. Claude Code's requirements checked against Anthropic's documentation on 21 October 2026.
Step 01
Choose the city
Close to you for a snappy terminal, or close to the services your code talks to. Each card shows that city's lowest price for a size with 4 GB or more.
Main cities
- FrankfurtGermanyFrom$13.90 a monthor $0.0218 an hourOrder in Frankfurt
- AmsterdamNetherlandsFrom$37.90 a monthor $0.0520 an hourOrder in Amsterdam
- LondonUnited KingdomFrom$30.90 a monthor $0.0520 an hourOrder in London
- New YorkUnited StatesFrom$16.90 a monthor $0.0520 an hourOrder in New York
- SingaporeSingaporeFrom$18.90 a monthor $0.0520 an hourOrder in Singapore
- TokyoJapanFrom$18.90 a monthor $0.0520 an hourOrder in Tokyo
- DubaiUAEFrom$30.90 a monthor $0.0529 an hourOrder in Dubai
- LauterbourgFranceFrom$12.90 a monthmonthly onlyOrder in Lauterbourg
Show 64 more citiesHide the other cities
Europe
- HelsinkiFinlandFrom$13.90 a monthor $0.0218 an hourOrder in Helsinki
- ParisFranceFrom$37.90 a monthor $0.0520 an hourOrder in Paris
- NurembergGermanyFrom$13.90 a monthor $0.0218 an hourOrder in Nuremberg
- WarsawPolandFrom$37.90 a monthor $0.0520 an hourOrder in Warsaw
- SinesPortugalFrom$103.90 a monthor $0.1424 an hourOrder in Sines
- MadridSpainFrom$37.90 a monthor $0.0520 an hourOrder in Madrid
- StockholmSwedenFrom$37.90 a monthor $0.0520 an hourSelected
- CopenhagenDenmarkFrom$30.90 a monthor $0.0450 an hourOrder in Copenhagen
- StavangerNorwayFrom$30.90 a monthor $0.0450 an hourOrder in Stavanger
- ManchesterUnited KingdomFrom$37.90 a monthor $0.0520 an hourOrder in Manchester
- MilanItalyFrom$45.90 a monthor $0.0681 an hourOrder in Milan
- MarseilleFranceFrom$30.90 a monthor $0.0529 an hourOrder in Marseille
- AthensGreeceFrom$30.90 a monthor $0.0529 an hourOrder in Athens
- SofiaBulgariaFrom$30.90 a monthor $0.0529 an hourOrder in Sofia
- BucharestRomaniaFrom$30.90 a monthor $0.0529 an hourOrder in Bucharest
Middle East
- IstanbulTürkiyeFrom$14.90 a monthor $0.0529 an hourOrder in Istanbul
- Tel AvivIsraelFrom$37.90 a monthor $0.0520 an hourOrder in Tel Aviv
- RiyadhSaudi ArabiaFrom$101.90 a monthmonthly onlyOrder in Riyadh
- DohaQatarFrom$30.90 a monthor $0.0529 an hourOrder in Doha
- BahrainBahrainFrom$30.90 a monthor $0.0529 an hourOrder in Bahrain
- BaghdadIraqFrom$30.90 a monthor $0.0529 an hourOrder in Baghdad
- CairoEgyptFrom$73.90 a monthor $0.1277 an hourOrder in Cairo
Americas
- AshburnUnited StatesFrom$73.90 a monthor $0.1182 an hourOrder in Ashburn
- Silicon ValleyUnited StatesFrom$37.90 a monthor $0.0520 an hourOrder in Silicon Valley
- TorontoCanadaFrom$37.90 a monthor $0.0520 an hourOrder in Toronto
- Vint Hill (VA)United StatesFrom$11.90 a monthmonthly onlyOrder in Vint Hill (VA)
- Hillsboro (OR)United StatesFrom$73.90 a monthor $0.1182 an hourOrder in Hillsboro (OR)
- Sao PauloBrazilFrom$30.90 a monthor $0.0529 an hourOrder in Sao Paulo
- SantiagoChileFrom$30.90 a monthor $0.0520 an hourOrder in Santiago
- ChicagoUnited StatesFrom$37.90 a monthor $0.0520 an hourOrder in Chicago
- AtlantaUnited StatesFrom$37.90 a monthor $0.0520 an hourOrder in Atlanta
- Los AngelesUnited StatesFrom$37.90 a monthor $0.0520 an hourOrder in Los Angeles
- MiamiUnited StatesFrom$37.90 a monthor $0.0520 an hourOrder in Miami
- SeattleUnited StatesFrom$15.90 a monthor $0.0520 an hourOrder in Seattle
- DallasUnited StatesFrom$37.90 a monthor $0.0520 an hourOrder in Dallas
- WashingtonUnited StatesFrom$30.90 a monthor $0.0529 an hourOrder in Washington
- Mexico CityMexicoFrom$37.90 a monthor $0.0520 an hourOrder in Mexico City
- BeauharnoisCanadaFrom$11.90 a monthmonthly onlyOrder in Beauharnois
- HonoluluUnited StatesFrom$45.90 a monthor $0.0629 an hourOrder in Honolulu
- BogotaColombiaFrom$30.90 a monthor $0.0529 an hourOrder in Bogota
- Buenos AiresArgentinaFrom$30.90 a monthor $0.0529 an hourOrder in Buenos Aires
- QuitoEcuadorFrom$30.90 a monthor $0.0529 an hourOrder in Quito
Asia-Pacific
- MumbaiIndiaFrom$37.90 a monthor $0.0520 an hourOrder in Mumbai
- SydneyAustraliaFrom$17.90 a monthor $0.0520 an hourOrder in Sydney
- BangaloreIndiaFrom$37.90 a monthor $0.0520 an hourOrder in Bangalore
- OsakaJapanFrom$37.90 a monthor $0.0520 an hourOrder in Osaka
- Hong KongHong KongFrom$40.90 a monthor $0.0707 an hourOrder in Hong Kong
- MelbourneAustraliaFrom$37.90 a monthor $0.0520 an hourOrder in Melbourne
- TashkentUzbekistanFrom$87.90 a monthor $0.1205 an hourOrder in Tashkent
- SeoulSouth KoreaFrom$37.90 a monthor $0.0520 an hourOrder in Seoul
- Delhi NCRIndiaFrom$45.90 a monthor $0.0629 an hourOrder in Delhi NCR
- JakartaIndonesiaFrom$30.90 a monthor $0.0529 an hourOrder in Jakarta
- ChennaiIndiaFrom$45.90 a monthor $0.0681 an hourOrder in Chennai
- AlmatyKazakhstanFrom$40.90 a monthor $0.0561 an hourOrder in Almaty
- BakuAzerbaijanFrom$87.90 a monthor $0.1205 an hourOrder in Baku
- DhakaBangladeshFrom$30.90 a monthor $0.0529 an hourOrder in Dhaka
- Phnom PenhCambodiaFrom$30.90 a monthor $0.0529 an hourOrder in Phnom Penh
- HanoiVietnamFrom$30.90 a monthor $0.0529 an hourOrder in Hanoi
- Ho Chi Minh CityVietnamFrom$30.90 a monthor $0.0529 an hourOrder in Ho Chi Minh City
- Kuala LumpurMalaysiaFrom$30.90 a monthor $0.0529 an hourOrder in Kuala Lumpur
- ManilaPhilippinesFrom$30.90 a monthor $0.0529 an hourOrder in Manila
- BangkokThailandFrom$30.90 a monthor $0.0529 an hourOrder in Bangkok
- TaipeiTaiwanFrom$73.90 a monthor $0.1277 an hourOrder in Taipei
Steps 02 to 05
Build your server in Stockholm.
The line and the size first, then Ubuntu or Debian, then the add-ons. Every size here has at least 4 GB of memory, and the summary shows the price the cart charges.
Ordering in Stockholm, SwedenChange city
Pick a line
Every shape we can build, priced at what the machine costs us plus our margin, across more cities than any other line reaches. The list is long because it is the supplier catalogues themselves — sizes here are named for their shape, not chosen by us. Come here knowing the cores, memory and disk you want; if you do not, Standard is the shorter answer to the same question.
Choose a size
Sizes are fixed shapes, not sliders. Changing size later is a support request, and a smaller size usually means a new server because a disk cannot shrink.
Choose an image
Clean vendor images, nothing preloaded that you did not ask for. You can rebuild onto any other image from the panel at any time.
Every image is the vendor's own, unmodified. If you want the machine configured before you log in, add a start-up script below.
Start-up script · optional
Runs once as root while the server is being built, before it is handed to you. A shell script starting #!/bin/bash, or a #cloud-config. It cannot be changed after the machine is created, and its output is left in /root/startup-script.log.
0 / 32,768 characters
Choose a term and add-ons
Terms are prepaid. Annual takes 10% off the same monthly rate — it is a discount for paying up front, not a different product.
Billing term
$37.90 charged every month. Switch to annual at any renewal.
How many
One machine. Each one you add is built separately, with its own address and root password.
A full disk image taken every night and kept for 7 days, stored off the host that runs your server. Adds 20% to the plan price ($7.58/mo on C2-4-80).
The form shows the smaller sizes of each line. Every size in Stockholm
Our suggestion: 8 GB when Claude also runs your builds, tests or containers on the server; Claude Code itself is the light part.
Setup
From a new server to Claude at work, in five steps.
The commands are Anthropic's, except where a step says it is our suggestion.
01Connect
Your service page shows the address and the exact ssh command once the server is online.
ssh root@YOUR_SERVER_IP02Add the tools and a normal userOur suggestion
As root (if your service page shows another user, run sudo -i first). Claude Code's flag for skipping permission prompts refuses to run as root, and a separate user keeps your projects apart from the system.
apt update && apt install -y curl tmux sudo adduser dev && usermod -aG sudo dev su - dev03Install Claude Code
Anthropic's installer, as the new user. It needs no Node.js and updates itself in the background; claude doctor checks the install.
curl -fsSL https://claude.ai/install.sh | bash claude --version04Keep the session when you disconnectOur suggestion
Start Claude inside tmux and it keeps working after SSH drops: leave with Ctrl-b then d, come back with tmux attach -t claude.
tmux new -s claude05Sign in
Run claude and choose your account. With no browser on the server, press c to copy the sign-in link, open it on your own computer and paste the code back.
claude
For scripts and jobs with nobody at the keyboard: claude setup-token makes a one-year sign-in token (Pro, Max, Team and Enterprise plans) that you set as CLAUDE_CODE_OAUTH_TOKEN, or set ANTHROPIC_API_KEY with a key from the Claude Console.
Requirements
What Claude Code needs, and what this server has.
The left column is Anthropic's documentation; the right is every server on this page.
| Item | Anthropic asks for | This server |
|---|---|---|
| System | Ubuntu 20.04 or newer, Debian 10 or newer | Ubuntu 26.04, 24.04 and 22.04 LTS; Debian 13 and 12 |
| Memory | 4 GB or more | 4 GB or more on every size on this page |
| Processor | x64 or ARM64 | x64, and ARM64 where the city sells it |
| Network | HTTPS to api.anthropic.com, claude.ai and downloads.claude.ai, among others | Outbound HTTPS open, a dedicated IPv4 address |
| Account | Claude Pro, Max, Team or Enterprise, or a Claude Console account | Yours: we sell the server, not the Claude plan |
Working alone
Leaving Claude to work on its own, safely.
- Run a job without a terminal.
claude -p "Run the test suite and fix any failures" --allowedTools "Bash,Read,Edit"prints the result and exits, with text, JSON or streamed JSON output. Without an allowed-tools list, a step that needs approval is refused instead of waiting. - Skipping the prompts is for isolated machines. Anthropic says bypassPermissions belongs in isolated containers and VMs only; it refuses to start as root. Our advice: a server of its own for this, holding no keys to your other servers.
- Your sign-in lives on the server. On Linux it is kept in
~/.claude/.credentials.jsonwith file mode 0600, readable by that user and by root. Rebuilding the server erases it with the disk. - Your transcripts stay on it too. Claude Code keeps session transcripts in plain text under
~/.claude/projects/for 30 days by default, so you can resume them; the cleanupPeriodDays setting changes that. - Training. Anthropic states that under commercial terms (Team and Enterprise plans and the API) it does not train models on code or prompts sent to Claude Code. On Free, Pro and Max plans your Claude privacy setting decides.
Questions
What people ask before they put Claude Code on a VPS.
Does the VPS come with Claude Code or a Claude plan?
How much memory does Claude Code need?
Which Linux does Claude Code support?
How do I sign in when the server has no browser?
Can it keep working when my computer is off?
Is it safe to skip the permission prompts on a VPS?
Does Anthropic train on the code I work on?
Can I use an API key instead of a subscription?
Can I pay with crypto?
Sources: Claude Code advanced setup, Authentication, Run Claude Code programmatically, Choose a permission mode, Network configuration, Data usage.
Claude and Claude Code belong to Anthropic. PartVPS is an independent hosting company and is not affiliated with or endorsed by Anthropic; you bring your own Claude plan.
C2-4-80
$37.90 due today