Updated

Cloudflare vs Railway

Of the 3,549 makers' products we know the hosting of, 385 chose Cloudflare (11%) and 124 Railway (3%); 11 use both. Among the 860 launched in 2026, Cloudflare is in 20% and Railway in 8%, against 8% and 2% of those launched in 2024 or earlier. They're different kinds of tool, edge platform and paaS, so the counts don't measure the same choice. At our calculator's default usage, Cloudflare comes to $12 a month and Railway $45, at list prices. On GitHub, 6 public pull requests moved projects from Cloudflare to Railway, and 19 the other way.

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 by385 makers' products · 232 open-source projects124 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
Downloads21.3M/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 page48+ (5 major)no public status feed

Which makers on your framework pick

Makers' products built with each framework that chose either one, for hosting.

New launches vs older products

A tool that came first has products from every year since, so its total runs ahead. Here is what products launched each year chose, as a share of those that made the hosting decision (by the year they launched on Product Hunt).

LaunchedCloudflareRailwayProducts
2022 or earlier8% 101% 1118
202313% 122% 289
20247% 412% 11582
202510% 654% 24629
202620% 1768% 68860

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 ↗
Everything runs on Workers, D1 and R2. The big one for me is that R2 doesn't charge for egress. This app serves a lot of audio files and I would not survive normal bandwidth pricing.
WaseiGo, the makerSep 2026 ↗
235 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 ↗
Railway made it simple to ship Git Pitcher’s web and API services quickly. I used it to deploy the production app without spending time fighting infrastructure.
Git Pitcher, the makerSep 2026 ↗
Railway is the most DevX friendly infra platform we've used. David Banys and their team are super responsive and solve any problems we encounter.
Hamming AI (YC S24), the makerSep 2026 ↗
59 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★, 267 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★, 109 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 →

Questions

Cloudflare or Railway: which do makers choose?

Of the 3,549 makers' products we know the hosting of, 385 chose Cloudflare (11%) and 124 Railway (3%); 11 use both. Among the 860 launched in 2026, Cloudflare is in 20% and Railway in 8%, against 8% and 2% of those launched in 2024 or earlier. They're different kinds of tool, edge platform and paaS, so the counts don't measure the same choice. At our calculator's default usage, Cloudflare comes to $12 a month and Railway $45, at list prices. On GitHub, 6 public pull requests moved projects from Cloudflare to Railway, and 19 the other way. Choose Cloudflare if your app is a static site or docs and should cost nothing to host; choose Railway if you have a long-running server, a background worker and a database to deploy together.

Can you use Cloudflare and Railway together?

11 makers' products we track use both, often one replacing the other or each for a different part of the product: HTML Pub, Klyxshot, Blink.new, Chat Thing, Skippr AI and others.

When should I pick Cloudflare over Railway?

Pick Cloudflare if: Your app is a static site or docs and should cost nothing to host.

When should I pick Railway over Cloudflare?

Pick Railway if: You have a long-running server, a background worker and a database to deploy together.

Which is cheaper, Cloudflare or Railway?

At requests 5 million requests, data transfer out 100 GB, serverless function compute 100 GB-hours: Cloudflare $12/mo (Workers Paid), Railway $45/mo (Hobby), at list prices.

How do Cloudflare and Railway compare in cost as you grow?

At 100k requests Cloudflare costs less ($0 vs $40); from about 100M requests Railway does ($140 vs $175). Cheapest usable plan at each scale, at list prices.

Are people switching from Cloudflare to Railway?

Public GitHub pull requests since 2024-10-02: 6 from Cloudflare to Railway, 19 from Railway to Cloudflare.