Skip to content

Cloudflare Pages vs Railway (2026): which should you pick?

As of Nov 13, 2026, we pick Cloudflare Pages: it is second in our ranking of web hosts, and it grades higher too, 2.8 against 2.6.

Checked Nov 12, 2026 · graded Nov 12, 2026 by ToolGPA

Cloudflare Pages grades higher on value for money and the free plan. Railway grades higher on features. They get the same grade on ease of use and platforms.

Price, platforms and features side by side. The table says where each price was read and when.

Cloudflare Pages

Git-based hosting for static sites and full-stack apps

Free plan · from $5/mo

Railway

App and database hosting billed by the second for usage

Free trial · from $5/mo

Which one is for you

Pick Cloudflare Pages if

  • Fits if you run static sites or front-end apps and want no bandwidth bill
  • Works for people already using Cloudflare DNS and Workers

Look elsewhere if

  • Skip it if you want a dynamic app on the free allowance, since Functions run on Workers billing
  • Tight if you push often: 500 builds a month, one at a time, with a 20-minute build limit
  • Not for you if a single file is over 25 MiB
  • Watch out: Cloudflare recommends Workers for new projects, so Pages may not be where the work goes

Pick Railway if

  • Fits if you run side projects that only run part of the time
  • Works for teams that want unlimited seats on the $20 plan

Look elsewhere if

  • Tight if you stay on Free: 1 project, 3 services, 0.5 GB RAM
  • Watch out: usage above the included credit is billed on top of the minimum
  • Watch out: Hobby has community support, and support and the 99.99% target start on Pro
  • Not for you if you need SSO, RBAC or HIPAA BAAs, as those are Enterprise

How we grade them

2.8GPACloudflare PagesGood2.6GPARailwayGood
Value for money
AFree with no bandwidth charge for static requests, and the paid add-on is $5 a month, under the category's cheaper quarter of $5.28.
BHobby is $5 minimum usage a month, inside the cheaper quarter ($5.28), but usage above the credit is on top and egress is $0.05 per GB. Pro is $20.
Free plan and trial
B500 builds a month, 100 projects and unlimited preview deployments, one build at a time. One person can live on it; Functions are capped at 100,000 requests a day.
CA 30-day trial with $5 and no card, then a Free plan at $1 a month, limited to 1 project, 3 services and 0.5 GB RAM a service.
Features
CGit and upload deploys, previews, Functions, rollbacks and a REST API. The gaps: docs point new projects to Workers, assets are capped at 25 MiB and dynamic apps aren't covered by the free allowance.
BUsage billing, templates, volumes, object storage, replicas and regions, and sandboxes. The listing names no core gap.
Ease of use
CNo store rating on record. You connect a repo, set a build command and manage domains, so there's setup work.
CNo store rating on record. You set up projects, services and databases.
Platforms and integrations
BWeb only, but with GitHub, GitLab, Workers KV, Durable Objects, R2 and a REST API.
BWeb, iOS and Android, but no desktop app and no integrations listed.
Best forstatic sites with free bandwidthside projects billed by usage

The GPA is the average of the five grades: an A is 4 points, an F is none. The full reasons are on each tool's page: Cloudflare Pages and Railway. How we grade

Price against what you get

Cloudflare Pages starts at $5 a month and scores 2.3 out of 4 on features, ease of use and platforms. Railway starts at $5 a month and scores 2.7.

Railway scores higher for the same starting price. Of the other web hosts on the chart, 1 scores higher than Cloudflare Pages for less, and none scores higher than Railway for less.

Features, ease of use and platforms, averaged

D1.0C2.0B3.0A4.0$1$2$5$10$20$50$100More for lessCosts more, scores moreCosts less, scores lessCosts more, scores lessCloudflare PagesRailway

What paid plans start at, a month (each step along is roughly double) →

  • The best score at each price
  • Has a free plan
  • No free plan
The full chart of web hosts, and the best at every price

Where they differ

  • Cloudflare Pages also covers page speed.
  • Railway also covers databases and AI agents.
In commonWebPublic API

At a glance

Cloudflare PagesRailway
PricingFree planFree trial
Starts at$5 per month (Workers Paid, for Pages Functions usage)$5 minimum usage per month (Hobby)
Free planUnlimited static requests and bandwidth, 500 builds a month, 20,000 files per site, 100 projects, and Functions requests counted against 100,000 a day.None
Free trialNone listed30-day trial with a one-time $5 credit, no card required.
Web
iOS
Android
Made byCloudflareRailway Corp.
Price read fromdevelopers.cloudflare.comrailway.com
CheckedNov 12, 2026Nov 12, 2026

Worth knowing

Cloudflare Pages

  • Cloudflare's docs say Workers supports most Pages use cases and recommend starting new projects on Workers.
  • The Free plan allows 500 builds a month, one at a time, with a 20-minute build timeout; Pro and Business raise this to 5,000 and 20,000.
  • A single site asset can be at most 25 MiB, and a Pages account is limited to 100 projects.
  • Functions usage is billed through a Workers plan, so dynamic apps are not covered by the free static allowance.

Railway

  • Egress is $0.05 per GB, and usage above the included credit is charged on top of the minimum.
  • After the trial, the Free plan allows 1 project, 3 services and 0.5 GB of RAM per service.
  • Hobby is a single developer workspace with community support; support and a 99.99% target begin on Pro.
  • SSO, role-based access control and HIPAA BAAs are Enterprise only.

Key features

Cloudflare Pages

Git and direct upload deploys
Each push to a connected GitHub or GitLab repository triggers a build, and sites can also be deployed by direct upload or the CLI.
Preview deployments
The limits page says projects can have an unlimited number of preview deployments active at once.
Pages Functions
Server-side code runs as Functions, with bindings to Workers KV and Durable Objects, and is billed as Workers requests.
Free static bandwidth
The pricing docs say static asset requests are free and unlimited on both free and paid plans.
Rollbacks and custom domains
The docs list rollbacks, custom domains, redirects and headers files, deploy hooks and branch deployment controls.
REST API
A REST API is documented for managing Pages projects and deployments.

Railway

Usage-based billing
Memory costs $0.00000386 per GB-second and CPU $0.00000772 per vCPU-second, so an idle service costs little.
Templates
The templates page offers ready-made setups for apps and databases that deploy to a project in a few steps.
Volumes and object storage
Persistent volumes are billed per GB-second and object storage is $0.015 per GB-month with free egress.
Sandboxes and VMs
Isolated Linux VMs for agents, builds and untrusted code, billed for CPU used and memory held, at about $50 per vCPU-month.
Replicas and regions
Services can run up to 5 replicas on Hobby and 42 on Pro, across concurrent global regions.
Mobile app
The site lists a Railway app for iOS and Android.

Plans

Cloudflare Pages

  • Free$0

    1 build at a time, 500 builds a month, unlimited preview deployments, and Functions within the Workers Free limit of 100,000 requests a day.

  • Workers Paid$5

    per month minimum per account

    Raises the Functions allowance to 10 million requests a month, shared with Workers. Static asset requests are free either way.

Railway

  • Free$0

    per month, after the trial

    After a 30-day trial with $5 in credits, $1 per month. Up to 1 vCPU and 0.5 GB RAM per service, 0.5 GB volume.

  • Hobby$5

    minimum usage per month, includes $5 of usage

    Includes $5 of monthly usage credit, up to 48 vCPU and 48 GB RAM per service, a single developer workspace and 7-day logs.

  • Pro$20

    minimum usage per month, includes $20 of usage

    Includes $20 of monthly usage credit, unlimited workspace seats, up to 1,000 vCPU per service and a 99.99% availability target.

  • EnterpriseCustom

    Single sign-on, role-based access control, HIPAA BAAs, dedicated VMs, bring-your-own-cloud and a 99.999% availability target.

Common questions

Which is cheaper, Cloudflare Pages or Railway?

As of Nov 12, 2026, they start at the same price. Cloudflare Pages starts at $5 per month (Workers Paid, for Pages Functions usage), and Railway starts at $5 minimum usage per month (Hobby).

Which has a free plan, Cloudflare Pages or Railway?

As of Nov 12, 2026, only Cloudflare Pages has a free plan. Railway does not, though it has a free trial.

Which platforms do Cloudflare Pages and Railway run on?

As of Nov 12, 2026, only Railway lists iOS and Android apps. Both list a web app. A platform missing from a listing is one its maker's pages did not mention.

More comparisons

How this page was made

  • The verdict at the top follows a fixed rule. When both tools are in the same category and either is in our top three for it, the verdict follows that ranking: the higher-placed tool is our pick. The top three weigh who each tool suits as well as its grades, so a pick can go against the GPA. Otherwise the page does not pick one and says which grades higher: the higher GPA first; on a tie, the one with a free plan, then the one that starts cheaper in dollars a month, counted the same way for both; if they are still level, what the choice depends on.
  • The grades are our own, from each tool’s review or report card. The GPA is their average.
  • Prices, plans and platforms come from each tool’s listing. The table above says where each price was read and when.
  • The differences and the answers to the questions are worked out from those listings.
How we review and grade