Railway vs Vercel comes down to what your app runs. Vercel fits a Next.js or frontend app whose server work is short requests; Railway fits an always-on API, worker or WebSocket server. Netlify suits frontend-led apps that want per-preview databases, Fly.io suits teams ready to run their own machines by region, and Render pairs persistent services with managed Postgres.
Netlify vs Vercel vs Render vs Railway: the comparison table
Seven hosts split into two families. Vercel, Netlify and Cloudflare Pages run request-driven functions beside a frontend they deploy from Git; Railway, Fly.io and Render run services that stay up between requests. GitHub Pages serves static files only, and its terms rule out running a commercial product on it.
An app that still lives inside its builder needs its own repository and hosting account before any of these hosts applies, and how to self host an exported app covers that first step.
We compare Vercel, Netlify, Railway, Fly.io, Render, Cloudflare Pages and GitHub Pages for an app you deploy from Git, using each host’s own documentation as it read on 21 October 2026. This is a documentation comparison, not a benchmark: we did not deploy one app to every host, so nothing below is a measured speed, uptime or bill.
| Vercel | Netlify | Railway | Fly.io | Render | Cloudflare Pages | GitHub Pages | |
|---|---|---|---|---|---|---|---|
| Runtime model | Functions per request; Daemons for always-on workers (public beta) | Functions per request, plus scheduled and background Functions | Persistent services; cron services that exit when done | Machines: VMs started from an image, placed by region | Web services, background workers and cron jobs | Static assets plus Pages Functions on the Cloudflare network | Static HTML, CSS and JavaScript only |
| Database | Postgres from Marketplace providers such as Neon and Supabase; credentials arrive as environment variables | Netlify Database, fully managed Postgres (credit-based plans) | Postgres template Railway maintains; high availability, backups and point-in-time recovery are steps you turn on | Managed Postgres, or your own on a Machine with a volume | Fully managed Postgres; point-in-time recovery on paid databases | Through bindings; a Durable Object needs a separate Worker | None; no server-side languages |
| Background work | Cron Jobs, Queues and Workflows; Daemons in production only (beta) | Scheduled Functions (30 seconds) and Background Functions (15 minutes) | Always-on workers; cron services must exit | Processes on Machines you run | Background workers and cron jobs as service types | No Cron Triggers or queue consumers on Pages | None on the site |
| WebSocket server | Public beta on all plans; a connection closes at the Function’s maximum duration | Not stated in Netlify’s docs | Supported, no special configuration | Fly.io’s demo apps use WebSockets for realtime connections | Listed as a web service feature | A Durable Object only from a separate Worker | Not possible on static hosting |
| Regions | Functions in one region by default; several regions can be configured | Each Function runs in exactly one region | Global regions on Hobby; concurrent regions on Pro | You pick each Machine’s region; a volume stays in one region | Five: Oregon, Ohio, Virginia, Frankfurt, Singapore | Code runs on the Cloudflare network | Not stated in GitHub’s docs |
| Pull-request preview | Automatic for pull requests and non-production branches | Deploy Previews; Netlify Database gives each a branch copied from production | PR Environments copy the base environment’s services and variables | Review apps through a GitHub Actions workflow you add | Pro workspace or higher; datastore copies start without data | Automatic for branches and same-repository pull requests | Not stated in GitHub’s docs |
| Rollback | Instant Rollback; Hobby only to the previous deployment | Publish an earlier deploy, no rebuild; the next Git deploy overwrites it | Redeploys an earlier deployment within the plan’s retention | Redeploy an earlier image; database and config stay as they are | Reuses a retained build artifact; disks are not rolled back | Any production deployment that built successfully | Not stated in GitHub’s docs |
| Built-in visibility | Invocations, errors and cost metrics in the dashboard | Function logs kept at least 24 hours, 7 days on some plans | Logs, CPU, RAM, disk and network metrics, configurable alerts | Built-in metrics and managed Prometheus | Email or Slack alerts for failed deploys and unhealthy services | Real-time logs; Workers Logs, Logpush and Tail Workers are not available on Pages | Not stated in GitHub’s docs |
| Spend ceiling | Pro Spend Management can notify, call a webhook or pause production; on Hobby, in most cases, a 30-day wait after a limit | Free has a hard credit limit; paid plans can auto recharge | A compute hard limit you set takes all workloads offline | No billing alerts; usage over the allowance is billed | Billed per second; a monthly spend limit covers pipeline minutes | 500 builds a month on Free; Function requests count toward the Workers plan | Soft limits of 100 GB bandwidth a month and 10 builds an hour (not for custom Actions workflows) |
Docs checked 21 October 2026. Every cell comes from that host’s own documentation on that day; limits, betas and plan terms change, so open the linked docs before you commit data or money.
Read the table in two passes. First strike out every host that cannot run the workload, then compare the rest on where the data lives and what happens at the spend ceiling.
Where to deploy an AI-built app: decide by what it runs, then Vercel vs Netlify vs Railway
Where to deploy an AI-built app follows from four answers: whether it needs an always-on process, where its database lives, whether each pull request needs isolated data, and what the spend ceiling does when it is reached. Answer those before comparing prices.
Write the answers down for your own app first:
- 01 Does the app need an always-on process, worker or connection that outlives a single request?
- 02 Are its server calls short and request-driven, such as an API route or a webhook?
- 03 Where is the database, and which compute region is nearest to it?
- 04 Does each pull request need its own data, or is a preview URL against shared data enough?
- 05 What rolls back when a release goes wrong: code, variables, schema or data?
- 06 Which logs and alerts exist without signing up for another vendor?
- 07 At the spend ceiling, does the host stop the app, keep billing, or leave resources you must clean up?
A yes to the first question points to Railway, Fly.io or Render; a yes to the second keeps Vercel, Netlify and Cloudflare Pages in play. A split is common: the frontend on Vercel or Netlify and an API or worker on Railway or Fly.io. It works when the extra network hop, the second set of keys and the second place to watch are worth it. Whichever host wins, the checks for every release on it are in the production deployment checklist. The simplest choice is usually the host the app’s framework already fits, such as Vercel for a Next.js app.
If the app already has paying users and a move would touch its database, keys and webhooks, that is the point to bring someone in: a free audit is where we weigh up with you what the move would touch and which family of host suits the workload. The Production Hardening Sprint includes 123 deliverables across 13 engineering areas.
Railway vs Vercel: always-on services or request-driven functions
Railway vs Vercel is persistent services against request-driven functions. Railway keeps services, workers and databases running in one project and bills per second for what they use; Vercel runs a function per request beside the frontend, with Next.js support built in. Vercel’s always-on Daemons are still a public beta.
On the Vercel side, Vercel’s Functions docs describe request-driven API routes, webhooks and streamed responses that scale down to zero when no requests arrive. Every push to a non-production branch and every pull request gets a preview deployment, and each environment can hold its own variables, such as a separate database connection. WebSocket support for Functions entered public beta on 22 June 2026, and a connection closes when the Function reaches its maximum duration. Vercel Daemons, also a public beta, run long-running processes from container images, and during the beta they run only in production: preview deployments do not get them. On Pro, Spend Management can send a notification, call a webhook or pause every production deployment, and a paused site answers visitors with a 503.
Railway runs services that stay up, plus cron services that are expected to finish their task and exit. Services in one Railway project talk to each other over private networking, without exposing that traffic to the public internet. WebSocket and server-sent event services deploy like any other Railway service, with no special configuration. Railway’s Postgres template, as Railway’s database docs describe it, deploys a single node that Railway maintains. For automatic failover you convert it to high availability and then switch on backups or point-in-time recovery, and the docs call regular backups essential for production. PR Environments copy the base environment’s services, networking and variables for each pull request. Railway also lets you set a hard limit on compute usage, and when it is reached all your workloads are taken offline.
The two bills work differently. Vercel prices Functions on active CPU, provisioned memory and invocations. Railway prices the CPU and memory your services use, by the second. Whether Railway is cheaper than Vercel depends, in our reading, on how the app spends its day: Vercel scales an idle function to zero, while a Railway service keeps running unless you turn on Railway’s Serverless setting, which puts an inactive service to sleep and “may reduce the usage cost”. Steady load leans the other way. Vercel and Railway pricing pages change, so what Vercel costs month to month keeps the Vercel side current.
For Vercel vs Railway for Next.js hosting, Vercel maintains Next.js and deploys it with zero configuration, so a Next.js frontend stays on Vercel by default. Where there is anything better than Vercel, in our reading, it is for an always-on workload: Railway, Fly.io or Render, at least while Vercel’s Daemons and WebSockets are betas.
Netlify vs Fly.io: a managed frontend or machines you operate
Netlify vs Fly.io is a managed frontend workflow against machines you operate. Netlify gives atomic deploys, functions with fixed time limits and preview databases; Fly.io runs Machines from an image in regions you choose, with review apps you wire up in CI. Choose Fly.io only when you want that control.
Netlify’s Function configuration sets the limits: 60 seconds for a synchronous Function, 30 seconds for a scheduled one and 15 minutes for a background one, and each Function runs in exactly one region. Netlify Database, a fully managed Postgres on credit-based plans, gives every deploy preview its own database branch with a copy of production data taken when the preview is first created. That copy can include real customer records, so treat preview access the way you treat production access.
Fly Machines are fast-launching VMs, and you can pick a region for each one when you create it. A volume sits on one server in a single region, with one volume per Machine. Review apps need a GitHub Actions workflow and an API token stored as a repository secret. Fly.io’s cost guide says it does not support billing alerts yet.
The reason to choose Netlify over Fly.io is that there is no machine to operate: previews and rollbacks come built in. A quick way to decide whether to go with Netlify or Fly.io is the longest job the app runs, since anything past Netlify’s 15-minute background limit needs a process that stays up. Vercel vs Fly.io is the same split, with Vercel’s Next.js support on the managed side. For the same frontend job, the top alternatives to Netlify in this table are Vercel and Cloudflare Pages. The platform’s security side is covered under whether Netlify is safe.
Netlify vs Vercel, and Railway vs Netlify
Netlify vs Vercel is the closest pair here: both deploy a frontend from Git with automatic previews and serverless functions. Vercel goes further on Next.js and adds spend controls on Pro; Netlify adds preview database branches and a credit model with a hard stop on Free. Railway sits apart from both.
Four differences decide most cases:
- Next.js: Vercel maintains the framework and deploys it with zero configuration, so for a Next.js app the choice of Vercel or Netlify tends to land on Vercel.
- Preview data: Netlify Database branches a copy of production for each deploy preview; on Vercel, preview data is whatever connection string the Preview environment holds.
- Spend: Vercel Pro can pause production at a set amount, and Netlify’s paid plans can auto recharge credits to keep projects active.
- Free plans: both stop rather than bill, since Netlify’s Free plan has a hard credit limit and Vercel’s Hobby plan, for non-commercial, personal use only, in most cases makes you wait 30 days after you exceed a limit.
The security comparison for Vercel is in is Vercel safe to deploy on, and a builder-made app moving over is covered in deploying a Lovable app to Vercel.
Railway against Netlify is a persistent backend against a frontend workflow. Netlify runs the pages and short functions, and Railway runs the API, the worker and the database that stay up, so an app that needs both kinds of work can run on Netlify and Railway together.
What to test in a Netlify vs Railway proof of concept
The questions worth asking during a Netlify vs Railway POC are the ones a small test can answer, so turn each one into a test and keep the result:
- Open a pull request, deploy its preview, and confirm which database the preview writes to.
- Roll back once, then list what the rollback did not undo: variables, schema and data.
- Run the longest job the app has and see whether it finishes or times out.
- Set the spend limit and read what the host says happens when you reach it.
- Read the full deploy log for warnings and anything the build printed that looks like a key.
Fly.io vs Railway, and where Render fits
Three hosts in this comparison run persistent processes, and they differ most in how much you operate yourself. For Fly.io vs Railway, Railway puts services, databases and PR Environments on one project canvas you work in from the dashboard. Fly.io gives you direct control of Machines and regions, and you add the review-app workflow and the volume yourself and watch spend without billing alerts.
Is Railway better than Render?
Render and Railway both run persistent services, workers and cron jobs, so the database decides most cases. Render’s Postgres is fully managed with point-in-time recovery on paid databases; Railway maintains a single-node Postgres template and leaves high availability, backups and point-in-time recovery for you to turn on.
Render’s web services docs list WebSocket connections as a feature, and background workers and cron jobs are service types of their own. Point-in-time recovery covers paid databases only, with a 3-day window on Hobby workspaces and 7 days on Pro and higher. Preview environments need a Pro workspace, bill like any other service, and their datastore copies do not include the base resource’s data, so a pull request starts against an empty database unless a deploy command seeds it. Render runs in five regions: Oregon, Ohio, Virginia, Frankfurt and Singapore. Whether Render or Vercel is better follows the same split as Railway against Vercel above: a persistent service against request functions.
Cloudflare Pages, GitHub Pages and AWS Amplify
Pages Functions run code on the Cloudflare network, on the Workers runtime. A Pages Function can send to a queue but cannot consume one, a Durable Object has to live in a separate Worker, and Cron Triggers are a Workers feature that Pages does not have. The Free plan allows 500 builds a month, one at a time. Set beside Railway and Vercel, Cloudflare Pages belongs in Vercel’s family, not Railway’s: it serves a frontend with request-driven endpoints, and scheduled or always-on work needs a Worker next to it.
GitHub Pages does not support server-side languages such as PHP, Ruby or Python. GitHub Pages limits also say it is not allowed to be used to run an online business or to provide commercial software as a service. Next to Netlify and Vercel, GitHub Pages is the narrow option: right for a marketing site or docs, ruled out for the product you charge for.
AWS Amplify Hosting offers a Git-based workflow for full-stack serverless web apps, supports SSR frameworks including Next.js, and has pull request previews and atomic deployments; backends are defined in code with Amplify Gen 2. That puts AWS Amplify vs Vercel inside one family, request-driven hosting for a frontend deployed from Git, rather than against Railway.
What moving an AI-built app to a new host changes
Moving an AI-built app to a new host changes where its code runs and leaves its behavior as it was. Environment variables need review before they are copied, public prefixes can put keys in the browser on any host, and the database is a separate migration with its own rehearsal.
Start by naming the runtime. An exported repository can hold a static Vite frontend, a server-rendered framework or serverless endpoints, and each one lands in a different family of the table. For a Lovable export, the options are laid out in where a self-hosted Lovable app can run.
Review every variable before it goes into the new dashboard. Vite exposes variables prefixed with VITE_ in client-side code, and Next.js can inline NEXT_PUBLIC_ values into the JavaScript sent to the browser at build time. Both rules come from the framework, so they hold on every host in this comparison.
Of the 21 third-party apps from our June and July 2026 audits, Secrets & Credentials was the best-scoring of the 12 pillars, averaging 84.4 out of 100 across all 21. The exception that matters for a move: a small browser-only classifier called a paid AI provider straight from the page, with the owner’s key loaded from a config file through a script tag, and keeping the file out of git did not help, because the live page has to serve it. Those 21 apps were chosen for auditing rather than drawn at random, so the average describes them, not every AI-built app. The fix in that app’s report was to move the call behind a server.
The database is its own migration. Rehearse schema and credential changes away from customer data, and decide whether the database moves at all, since keeping it where it is while moving compute is the smaller change. The release path moves with the repository too: CI checks, branch rules and automated dependency updates with Renovate all have to work against the new host. The controls behind a release path you can trust are in DevOps for startups.
In the Production Hardening Sprint, deliverable 7.11 keeps the application in a version-controlled repository and on a hosting account the founder controls, deployable through a documented pipeline, independent of the tool that generated it; we verify it by deploying a fresh clone to staging through the pipeline with no step that depends on the generating tool. Deliverable 7.7 is verified by opening a preview from a test pull request and verifying its environment isolation. The list describes the production capability we deliver; the implementation follows your stack.
Common questions about choosing a host
How much does Netlify cost per month?
Netlify costs $0 a month on Free, $9 a month on Personal and $20 a month on Pro, which includes unlimited members; Enterprise is custom pricing. Free comes with 300 monthly credits, Personal with 1,000 and Pro with 3,000 or more, and only the paid plans can auto recharge when credits run out, since Free has a hard limit. Prices checked 21 October 2026.
Can I host on railway for free?
Yes, for a trial and a small app: Railway’s Free plan is $0 a month and starts “with a 30-day free trial with $5 credits, then $1 per month”, with no credit card required. After the trial it allows one project and up to 1 vCPU and 0.5 GB of RAM per service, and cron jobs are listed for the free trial only. Checked 21 October 2026.
Is Fly.io reputable?
Fly.io backs its standing with documents you can check: its security page states “We have our SOC2 Type 2”, and it documents controls for teams running HIPAA-compliant applications. Its cost guide also says it does not support billing alerts yet, so a buyer can see the gaps as well as the controls.
Why is Vercel so popular?
Vercel maintains Next.js, and a Next.js app deploys to Vercel with zero configuration. Each pull request and each push to a non-production branch also gets its own preview deployment, so a change can be reviewed at a real URL before it goes live.
When should I get help moving an AI-built app to a new host?
Get help once paying customers rely on the app and moving it means re-pointing its database, its keys and its webhooks, since a new host does not carry any of them over by itself. AxonBuild offers a free audit, a 30-minute video call with no code access needed, where we talk through the move with you.
Not sure where your app should be hosted?
The right host depends on what your app runs, such as background workers, live connections or scheduled jobs, not on the deploy button your builder offers. An audit helps you choose: we go over how your app works with you and tell you which kind of host fits and what to plan before you move.
Book a free audit →
Free · 30 minutes · No code access needed