Cloudflare vs Railway
Side-by-side cost comparison — enter your workload and see which platform is cheaper for your traffic.
1. Pick a workload
Choose the preset closest to your project size.
2. Fine-tune (optional)
Override the preset values with your real numbers.
Cloudflare is cheaper by $54.96/mo (92%) for this workload. Switch presets or adjust the numbers above to see how the gap changes at different scales.
CloudflareWorkers Paid
Lower cost
$5.04/mo
Workers Paid (base)
10M requests + 30M CPU-ms included
$5.00
Worker Requests
0.40 M / 10 M included
incl.
Worker CPU Time
~32.0 M CPU-ms / 30 M included
$0.04
R2 Storage
5 GB (within 10 GB free tier)
incl.
CDN / Egress
Free — Cloudflare charges no egress
incl.
CDN bandwidth and egress are free — structural advantage over Vercel and Netlify. R2 ops (1M Class A writes, 10M Class B reads free/month) not itemized — within free tier for most SaaS workloads. KV writes ($5/M) and D1 writes ($1/M) not modeled; add if your app uses them heavily.
Rates verified 2026-05 — Cloudflare pricing page
RailwayPro
$60.00/mo
Pro plan (3 seats)
$20/seat × 3 — includes $60 total resource credit
$60.00
Compute — 1 vCPU / 1 GB RAM
$20.00 CPU + $10.00 RAM
$30.00
Network Egress
214.6 GB × $0.05/GB
$10.73
Volume Storage
5 GB × $0.15/GB-mo
$0.75
Included Resource Credit
$60 credit applied
$-41.48
Instance recommendation: 1 vCPU / 1 GB RAM for your workload. Adjust in the advanced panel if your real instance is larger or smaller. Estimate uses 3 seats (editable in advanced panel). No per-seat charge on Cloudflare, Netlify, or Render. Railway charges no per-request fees. Costs are purely compute + egress + storage — predictable scaling behavior. Database not included in this estimate. If you use Railway's managed Postgres add it at $10-40/mo depending on instance size.
Rates verified 2026-05 — Railway pricing page
What Cloudflare excels at
- Zero egress fees — bandwidth is free on all plans, including R2 object storage reads.
- 300+ edge locations globally; typical latency under 50ms worldwide.
- CPU-time billing model: I/O wait does not count toward your bill.
- Integrated ecosystem: R2 (storage), D1 (SQLite), KV, Queues, Durable Objects.
- Built-in DDoS protection and WAF on the same plan.
What Railway excels at
- Container-based (not serverless) — no cold starts, consistent latency.
- Run your database, Redis, and background workers on the same platform.
- Hobby plan at $5/month is excellent value for solo projects; Pro at $20/seat for teams.
- Scale-to-zero on staging environments keeps development costs near zero.
- Runs on Railway Metal (own hardware), not AWS — more pricing control and expanding global regions.
Compatible
MakerKit deploys to Cloudflare and Railway
Next.js 16 App Router with Dockerfile included — deploy to your preferred hosting platform without touching config.
Get MakerkitOne-time $349 — yours forever
Explore individual calculators: