Best VPS for n8n in 2026: Contabo vs Hetzner vs DigitalOcean vs Hostinger vs Railway

We compared Contabo, Hetzner, DigitalOcean, Hostinger and Railway for self-hosting n8n, using official October 2026 pricing. Honest pros, cons and the best pick for each need.

Best VPS for n8n in 2026: Contabo vs Hetzner vs DigitalOcean vs Hostinger vs Railway

Disclosure: some links in this article are affiliate links. If you buy through them, Sophrai may earn a commission at no extra cost to you. It never changes our rankings. Read our affiliate disclosure.

Short answer: Contabo has the lowest price per GB of RAM, Hetzner is the best value month-to-month in Europe, DigitalOcean and Vultr are the simplest premium choices with many regions, Hostinger is cheap if you prepay two years, and Railway is the easiest if you don’t want to manage a server at all. All prices below were read from each provider’s official pricing page on 26 October 2026.

What is the best VPS for n8n in 2026?

For most self-hosters, the best VPS for n8n is a 2 vCPU / 4 GB server. Hetzner’s CAX11 (€6.49/month) is the best balance of price, reliability and flexibility. Contabo is cheapest per GB if you accept a long term. DigitalOcean suits teams that want polish and support, and Railway suits people who don’t want a server.

“Best” depends on what you value. Here is the honest summary:

ProviderBest forPlan for a typical n8n boxPrice checked 26 Oct 2026
ContaboMost RAM for the moneyCloud VPS 4: 4 vCPU / 8 GB / 100 GB€4.40/mo on a 24-month term, excl. VAT
HetznerBest month-to-month value (EU)CAX11: 2 Arm vCPU / 4 GB / 40 GB€6.49/mo incl. IPv4, excl. VAT
HostingerCheap with long prepay, n8n templateKVM 1: 1 vCPU / 4 GB / 50 GB$6.49/mo promo (24-month prepay), renews $11.99
DigitalOceanPolish, docs, managed add-onsBasic 4 GiB: 2 vCPU / 80 GB$24/mo
RailwayNo server managementUsage-based~$12/mo for light use (our estimate)
Vultr (bonus)Many regions, hourly billingRegular 4 GB: 2 vCPU / 80 GB$20/mo

How much server does n8n actually need?

n8n itself is light: n8n’s docs say an n8n Cloud instance idles at about 100 MB and that memory, not CPU, is usually the limit. A 2 GB server covers most small setups; 4 GB gives room for AI agents, Postgres and file processing. That is why we compare 4 GB plans here.

For the full reasoning, read How Much RAM Does n8n Need?. To get a recommendation for your own workload, enter your runs and steps in the n8n Cost & Hosting Planner; it picks the cheapest plan that fits at each provider.

Price comparison: 2 GB, 4 GB and 8 GB plans

Contabo is cheapest at every size because its smallest plan already has 8 GB. Hetzner is next for 4–8 GB. Hostinger is competitive only on its promotional, prepaid price. DigitalOcean and Vultr cost more but bill monthly or hourly with no long commitment.

Provider~2 GB~4 GB~8 GBBilling notes
Contabo– (smallest is 8 GB)–€4.40 (Cloud VPS 4)Effective rate on 24-month term, excl. VAT
Hetzner (Arm CAX)–€6.49 (CAX11)€10.99 (CAX21, 4 vCPU)Hourly with monthly cap, excl. VAT
Hostinger–$6.49 (KVM 1)$8.79 (KVM 2)Promo with 24-month prepay; renews $11.99 / $14.99
DigitalOcean$12 (1 vCPU)$24 (2 vCPU)$48 (4 vCPU)Monthly cap
Vultr$10 (1 vCPU)$20 (2 vCPU)$40 (4 vCPU)Regular Performance
RailwayUsage-basedUsage-basedUsage-based$10 per GB RAM-month, $20 per vCPU-month

Sources: Contabo VPS, Hetzner Cloud cost-optimized, Hostinger VPS, DigitalOcean Droplets, Vultr pricing, Railway pricing. Euro prices exclude VAT. Prices change often; confirm before buying.

Contabo for n8n: pros and cons

Contabo gives the most CPU, RAM and disk for the money: 4 vCPU, 8 GB RAM and 100 GB for an effective €4.40 a month on a 24-month term. The trade-off is the commitment and a no-frills experience. It is a good pick for a budget production box or several n8n test instances.

  • Pros: very low price per GB; generous disk; enough headroom for n8n, Postgres and Redis on one box.
  • Cons: the headline price depends on a long term; shorter terms cost more; fewer extras (managed databases, polished dashboards) than premium clouds.
  • Good fit: cost-sensitive self-hosters who are comfortable with Linux and backups.

Hetzner for n8n: pros and cons

Hetzner’s Arm-based CAX11 gives 2 vCPU, 4 GB RAM and 40 GB SSD for €6.49 a month, including an IPv4 address, billed hourly with a monthly cap. n8n’s Docker image supports arm64, so it runs fine. Hetzner is a strong default for European users who want no long commitment.

  • Pros: excellent price-to-performance; no long contract; snapshots, firewalls and volumes available; n8n’s docs include a Hetzner deployment guide.
  • Cons: when we checked, Hetzner’s x86 cost-optimized (CX) plans were listed as not available, leaving Arm as the budget line; data centers are mainly in Europe and the US; Hetzner closed its affiliate program, so we earn nothing from it.
  • Good fit: most self-hosters, especially in Europe.

DigitalOcean for n8n: pros and cons

DigitalOcean’s Basic Droplet with 2 vCPU and 4 GiB costs $24 a month. It costs about three to four times more than Hetzner or Contabo for similar memory, but you get clear docs, a clean dashboard, many regions and managed add-ons such as databases. n8n’s docs include a DigitalOcean guide.

  • Pros: polished experience; managed Postgres available if you want it; strong documentation and community tutorials.
  • Cons: noticeably higher price per GB; backups and managed databases add to the bill.
  • Good fit: teams that value support and simplicity over the lowest price.

Hostinger for n8n: pros and cons

Hostinger’s KVM 1 (1 vCPU, 4 GB, 50 GB) costs $6.49 a month and KVM 2 (2 vCPU, 8 GB) $8.79, but only as promotional prices with a 24-month prepayment. Renewal prices are $11.99 and $14.99. Hostinger markets VPS plans for n8n, which makes setup quick for beginners.

  • Pros: low first-term price; beginner-friendly panel; n8n-focused VPS marketing and templates.
  • Cons: you must prepay to get the headline price; renewal is roughly 70–85% higher; long lock-in.
  • Good fit: beginners who are sure they’ll run n8n for two years.

Railway for n8n: pros and cons

Railway runs n8n as a deployed service without a Linux server to manage. It bills by usage: $10 per GB of RAM per month and $20 per vCPU per month, with a Hobby plan at $5 that includes $5 of usage. Easy to start, but harder to predict, and the database is billed separately.

Our rough estimate for a light n8n instance averaging about 1 GB of RAM and 0.1 vCPU: 1 × $10 + 0.1 × $20 = about $12 a month before the database. That is arithmetic on Railway’s published unit prices, not a measured bill.

  • Pros: deploy in minutes; no OS updates or SSH; scales up and down.
  • Cons: usage pricing can surprise you during busy months; less control over the host; Postgres adds cost.
  • Good fit: developers who prefer a platform over a server.

Which VPS should you choose for n8n?

Pick Hetzner CAX11 if you want the best default. Pick Contabo if price per GB matters most and you can commit for two years. Pick DigitalOcean or Vultr if you want polish, many regions and monthly billing. Pick Hostinger for a cheap prepaid start, and Railway if you never want to touch a server.

  1. Size first: decide 2, 4 or 8 GB with our RAM guide.
  2. Check location: choose a region close to the APIs and users your workflows talk to.
  3. Compare renewal prices, not just the first term.
  4. Plan backups: snapshots or a nightly database dump.
  5. Install n8n with our Docker Compose guide, and check the n8n 3.0 changes before upgrading.

Not sure self-hosting is worth it? Compare it with Zapier, Make and n8n Cloud in Zapier vs Make vs n8n: real cost.

Frequently asked questions

What is the cheapest VPS for n8n?

On list price, Contabo is the cheapest of the five we compared: its Cloud VPS 4 (4 vCPU, 8 GB RAM) costs €4.40 a month on a 24-month term, excluding VAT. Hetzner’s CAX11 (2 Arm vCPU, 4 GB) at €6.49 is the cheapest month-to-month option among them.

Does n8n run on Arm servers like Hetzner CAX?

Yes. n8n’s official Docker image supports arm64, so it runs on Arm servers such as Hetzner’s CAX line. Check that any community nodes or extra containers you add also publish Arm images.

Is Railway good for n8n?

Railway is good if you want to deploy n8n without managing a Linux server. It bills by usage ($10 per GB of RAM per month and $20 per vCPU per month, per its pricing page), so costs are less predictable than a fixed VPS. A database is billed separately.

Is Hostinger’s n8n VPS price the real price?

Hostinger’s headline VPS prices are promotional and require a 24-month prepayment. When we checked, KVM 2 was $8.79 a month on promo and renews at $14.99. Compare renewal prices, not just the first term.

How much RAM should my n8n VPS have?

2 GB covers most solo and small-team setups; 4 GB suits AI agents and file processing; 8 GB or more suits heavy, concurrent use with queue mode. See our n8n RAM sizing guide for the full table.

Sources and method

Prices and specs were read from each provider’s official pricing page on 26 October 2026 (links above) and are the same figures used in our n8n Cost & Hosting Planner. We did not run performance benchmarks on these servers; pros and cons are based on published plan details. n8n requirements come from n8n’s docs.

hamid7777 Avatar

Written & tested by

The Sophrai brief

One calm email when something actually matters.

New tools, real cost breakdowns and the automation news worth your time. No hype, no spam.