Cloudflare
vs
Railway
What's good about each
- Every service runs in every datacenter, 300+ cities
- No egress fees on R2 object storage or Workers
- Free tier covers CDN, DNS, WAF and DDoS mitigation
- One platform for serverless compute, storage, SQL and vector search
- 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 | Cloudflare | Railway | Difference |
|---|---|---|---|
| Small VM | -- Not listed | $30.00 /mo 1 vCPU, 1 GB RAM | |
| Medium VM | -- Not listed | $160.00 /mo 4 vCPU, 8 GB RAM | |
| Large VM | -- Not listed | $320.00 /mo 8 vCPU, 16 GB RAM | |
| Block storage | -- Not listed | $15.00 /mo 100 GB | |
| Object storage | $15.81 /mo 1 TB (R2 Standard) | $15.00 /mo 1 TB | 5% cheaper on Railway |
| 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 | -- Not listed | Included in plan | |
| Serverless | $82.50 /mo 25M invocations, 150 ms CPU time | -- Not listed | |
| Egress | Free for most services | $50.00 /TB $0.05 / GB |
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.
Services
Managed services each provider offers.
Company details
| Fact | Cloudflare | Railway |
|---|---|---|
| Founded | 2009 | 2020 |
| Headquarters | USA | USA |
| Locations | 312 | 4 |
| Example customers | Shopify, DoorDash, Discord, Intercom, Zendesk | -- |
| Website | cloudflare.com | railway.com |
Alternatives to consider
Compare Cloudflare and Railway against other cloud providers.
Our data for Cloudflare was last updated on Sept. 1, 2026, and for Railway on Aug. 24, 2026.