Cloudflare vs Railway

Two sides of the hosting decision: edge platform and paaS. When each fits, what it costs, who moves from one to the other, and what makers who chose it say.

Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

Which fits you

Choose Cloudflare if
  • Your app is a static site or docs and should cost nothing to host

Use it whenYou want the cheapest global hosting and can live with the Workers runtime.

Trade-offThe Workers runtime isn't full Node.js; some libraries need adapting.

Choose Railway if
  • You have a long-running server, a background worker and a database to deploy together

Use it whenYour app is a server plus a database and a worker, and you want them in one project.

Trade-offUsage-based billing needs watching; fewer regions and compliance options than a hyperscaler.

At a glance

CloudflareRailway
Used by374 makers' products · 190 open-source projects112 makers' products
Cost at default usagerequests 5 million requests, data transfer out 100 GB, serverless function compute 100 GB-hours$12/mo Workers Paid$45/mo Hobby
Moved to it on GitHubpull requests since Oct 202419 from Railway6 from Cloudflare
Downloads18.6M/wk3.1× vs npm
PricingGenerous free tier; usage-based paid plans. · paid from $5/mo (Workers Paid)Usage-based with a small monthly minimum. · paid from $5/mo minimum usage
Free tierYesNo
Open sourceNoNo
Incidents, 90 daysfrom its status page50+no public status feed

Cost as you grow

At 100k requests Cloudflare costs less ($0 vs $40); from about 100M requests Railway does ($140 vs $175). They're different kinds of tool — edge platform and paaS — so the prices don't buy the same thing.

$0$20$100$5000.10.5151050100500
RailwayCloudflarex: requests per month (million requests), other usage scaled with it; held at 1 server (always-on app servers) · cheapest usable plan at each point, list prices · try your own numbers
The numbers, plan by plan
Requests per monthCloudflareRailway
0.1$0 Workers Free$40 Hobby
0.5$5.12 Workers Paid$41 Hobby
1$5.84 Workers Paid$41 Hobby
5$12 Workers Paid$45 Hobby
10$19 Workers Paid$50 Hobby
50$88 Workers Paid$90 Hobby
100$175 Workers Paid$140 Hobby
500$871 Workers Paid$540 Hobby

From each vendor's pricing page: Cloudflare, Railway.

Who moves from one to the other

Public pull requests on GitHub since Oct 2024 whose title says "Cloudflare to Railway" or the reverse — real code changes, by developers in general rather than makers only.

Railway → Cloudflare19 PRs
All matching pull requests on GitHub ↗

What makers say

Makers on using it for hosting, from Product Hunt and Starter Story interviews, each linked to the source. Products with a page of their own and fuller notes first.

On Cloudflare
Cloudflare handles everything for iVox — DNS, website hosting on Pages, R2 file storage for downloads, and Workers for the license backend. All of it, basically free at indie scale.
iVox, the makerJun 2026 ↗
Cloudflare Workers and Pages let us deploy instantly at the network edge, delivering lightning-fast performance and reliability without the usual complexities of traditional hosting.
Comigo, the makerSep 2026 ↗
Snapset’s website, licensing backend, and email routing all run on Cloudflare. Pages, Workers, and D1 let me keep the infrastructure simple and manage almost everything in one place.
Snapset, the makerSep 2026 ↗
230 more on the Cloudflare page →
On Railway
Railway makes deploying and scaling our backend effortless. Push to main, it's live. No Dockerfiles to debug, no infra to babysit. We went from zero to production in an afternoon.
Agentcard, the makerSep 2026 ↗
🚀 Shoutout to Railway for making API deployment a breeze! As a frontend developer without much backend experience, their platform made it super easy to set up and deploy changes.
npmpackage.info, the makerSep 2026 ↗
Railway is simple and handles deployment transitions really well. Old deployments drain cleanly while new ones come up, so users are never interrupted when we ship.
Sup AI, the makerMar 2026 ↗
60 more on the Railway page →

Loved and watch-outs

Themes that recur in makers' words and Hacker News comments, each linked to what it summarises.

Cloudflare
Most loved
  • Workers, D1, R2, Durable Objects and more combine as bindings on one platform instead of separate vendors. PHPH 2PH 3PH 4
  • The free tier bundles DNS, CDN, TLS and abuse protection in one dashboard. PHPH 2
  • Wrangler deploys to the global edge in seconds, with preview links per pull request. PHPH 2PH 3
Watch-outs
  • Bot checks and default AI-crawler blocking get in the way of legitimate users and automation. HNHN 2HN 3HN 4
  • The dashboard is slow and buggy, with login and passkey problems. HNHN 2
  • It has cut off customers abruptly, and billing support was slow and unhelpful when production went down. HNHN 2HN 3
On Product Hunt: 5.0★, 241 reviews · mentioned most: fast performance, reliable security, global CDN
Railway
Most loved
  • A git push deploys a backend to production in minutes with no DevOps work. PHPH 2PH 3PH 4
  • Services, Postgres databases and buckets live in one place, with a marketplace of ready integrations. PHPH 2PH 3PH 4
  • Pay-per-resource pricing keeps small and self-hosted services cheap. PHPH 2PH 3HN
Watch-outs
  • Platform-wide outages, including one when Google Cloud blocked Railway's account, took customer services down. HNHN 2HN 3HN 4
  • It adds a middle layer on Google Cloud that controls your availability, features and security. HNHN 2
  • API tokens grant every operation without clear warnings, which let an agent instantly delete a production database. HNHN 2
On Product Hunt: 5.0★, 103 reviews · mentioned most: fast deployment, scalable infrastructure, no deep DevOps knowledge required

Who uses each

Used by both — often one replacing the other, or each for a different part of the product

What makers pair each with

With Cloudflare
VercelFrontend cloudNext.js apps — zero-config deploys and preview URLs.vs Cloudflare →vs Railway →
NetlifyFrontend cloudStatic sites and JAMstack apps on any framework.vs Cloudflare →vs Railway →
RenderPaaSA Heroku-style platform for web services, cron jobs and Postgres.vs Railway →
Fly.ioContainer platformDocker apps that should run close to users in many regions.vs Railway →
Amazon Web ServicesHyperscaler cloudThe widest catalog of building blocks — Lambda, containers, managed databases, queues — to assemble your own infrastructure.vs Cloudflare →vs Railway →
Hetzner CloudYour own serverA lot of CPU and RAM per euro, in European, US and Singapore regions.vs Railway →
CoolifyYour own serverA Heroku- or Vercel-style dashboard on your own server, with many one-click services.vs Railway →