Hetzner Cloud vs Railway

Pricing data as of 2026-10-12 · refreshed weekly

Hetzner Cloud (vps) and Railway (paas) overlap on 15 stacks. The table below shows the cheapest fitting plan on each for a typical startup workload (~50,000 visits/month) — list prices, no promos.

Hetzner Cloudvps

CAX11 (Arm)(not orderable now)$7.59/mo
CX23(not orderable now)$7.09/mo
CX33(not orderable now)$10.59/mo
CX43(not orderable now)$19.09/mo
CPX22 (Regular Performance)$23.59/mo
CPX32 (Regular Performance)$42.59/mo
CPX42 (Regular Performance)$82.59/mo
Nothing bundledDIY: cdn, image opt, edge, ssl, previews, auto-deploy

Railwaypaas

Hobby$5/mo
Pro$20/mo
EdgeSSLPreviewsAuto-deployDIY: cdn, image opt

Cheapest fitting plan per stack (startup traffic)

StackHetzner CloudRailwayCheaper
Next.js$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Nuxt$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Astro$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
SvelteKit$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Remix / React Router$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Node.js API$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Django$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
FastAPI$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Laravel$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Ruby on Rails$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Spring Boot$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
WordPress$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Ghost$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Strapi$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway
Static site$23.59 (CPX22 (Regular Performance))$5 (Hobby)Railway

Next.js by traffic level

TrafficHetzner CloudRailway
Hobby / side project (~5,000/mo)$23.59 (CPX22 (Regular Performance))$5 (Hobby)
Startup / small business (~50,000/mo)$23.59 (CPX22 (Regular Performance))$5 (Hobby)
E-commerce (~200,000/mo)$23.59 (CPX22 (Regular Performance))$39.1 (Hobby)
High traffic (~1,000,000/mo)$23.59 (CPX22 (Regular Performance))$73.25 (Hobby)

"+" = even the largest plan may not cover that traffic. Full breakdowns: Next.js on Hetzner Cloud · Next.js on Railway

FAQ

Is Hetzner Cloud or Railway cheaper?

Railway is cheaper for all 15 stacks both can run, at startup traffic (~50,000 visits/month). Price alone ignores ops work: Hetzner Cloud is a VPS, Railway is a PaaS.

What does a Next.js app cost on Hetzner Cloud vs Railway?

Cheapest fitting plan by traffic level — hobby / side project: Hetzner Cloud $23.59/month (CPX22 (Regular Performance)) vs Railway $5/month (Hobby); startup / small business: Hetzner Cloud $23.59/month (CPX22 (Regular Performance)) vs Railway $5/month (Hobby); e-commerce: Hetzner Cloud $23.59/month (CPX22 (Regular Performance)) vs Railway $39.10/month (Hobby); high traffic: Hetzner Cloud $23.59/month (CPX22 (Regular Performance)) vs Railway $73.25/month (Hobby).

What is included with Hetzner Cloud and Railway?

Hetzner Cloud is a VPS with nothing bundled — CDN, TLS automation, previews and deploys are yours to set up. Railway bundles Edge, SSL, Previews, Auto-deploy; not included: CDN, Image opt.

How current are these prices?

They are official list prices as of 2026-10-12, re-checked against each provider's pricing page on a weekly cycle. Intro promos and coupons are not used in totals; taxes are not included unless a plan note says so.

Cheaper Hetzner Cloud alternativesCheaper Railway alternativesRun the numbers for your stack →

More comparisons