Hetzner
vs
Railway
What's good about each
- High performance VPS configurations at affordable prices (shared, high memory, dedicated CPU)
- Easy to use web console & developer tooling (Terraform SDKs, official CLI)
- EU-based company, may simplify GDPR compliance for some
- Billed by the second on actual CPU and memory utilization
- App Sleeping reduces costs on low-traffic workloads
- Self-owned hardware across US, EU, and Asia
- Template directory with a 15% kickback for template authors, 25% with active support
Price comparison
Closest matching configuration on each side, monthly list price in USD.
| Service | Hetzner | Railway | Difference |
|---|---|---|---|
| Small VM | $6.94 /mo 2 vCPU, 4 GB RAM (CX23) | $30.00 /mo 1 vCPU, 1 GB RAM | 4.3x more expensive on Railway |
| Medium VM | $10.42 /mo 4 vCPU, 8 GB RAM (CX33) | $160.00 /mo 4 vCPU, 8 GB RAM | 15x more expensive on Railway |
| Large VM | $19.12 /mo 8 vCPU, 16 GB RAM (CX43) | $320.00 /mo 8 vCPU, 16 GB RAM | 17x more expensive on Railway |
| Block storage | $5.10 /mo 100 GB | $15.00 /mo 100 GB | 2.9x more expensive on Railway |
| Object storage | $7.52 /mo 1 TB | $15.00 /mo 1 TB | 50% cheaper on Hetzner |
| PostgreSQL | -- Not listed | $87.50 /mo 2 vCPU, 4 GB RAM, 50 GB storage | |
| Redis | -- Not listed | $30.00 /mo 1 vCPU, 1 GB RAM | |
| Load balancer | $8.68 /mo LB11 | Included in plan | |
| Egress allowance | 1-60 TB / mo per instance | -- Not listed | |
| Egress | $1.16 /TB €1 / TB | $50.00 /TB $0.05 / GB | 43x more expensive on Railway |
Heads up: Figures take each provider's closest plan to a common setup, and vary by region and usage. Hover a service for the reference configuration. Verify before provisioning. More on how we price.
GPUs
Hetzner offers 2 GPU models. We track no GPU listings from Railway. Cheapest listed price per GPU per hour; GPUs both providers sell come first.
| GPU | Hetzner | Railway | Difference |
|---|---|---|---|
|
|
$2.23 /GPU/hr On-demand | -- | Hetzner only |
|
|
$0.43 /GPU/hr On-demand | -- | Hetzner only |
Hetzner bills on-demand. The line under each price names the billing type shown.
Services
Managed services each provider offers.
Company details
| Fact | Hetzner | Railway |
|---|---|---|
| Founded | 1997 | 2020 |
| Headquarters | Germany | USA |
| Locations | 6 | 4 |
| Example customers | Outdooractive, Bitdefender, Userlike, Whereby, Autodoc | -- |
| Website | hetzner.com | railway.com |
Alternatives to consider
Compare Hetzner and Railway against other cloud providers.
Our data for Hetzner was last updated on Aug. 31, 2026, and for Railway on Aug. 24, 2026.