Yes, it runs them fine as Node services. What you give up is what makes Vercel the frontend default: the global edge network, per-request scaling, and the pull-request preview flow that makes design review cheap. For a public marketing site or content site, those are usually worth more than container control.
Platform comparison
Vercel vs Railway
We deploy production work on both, and they answer different questions. Vercel is where our frontends live: framework-native deploys behind a global edge network. Railway is where the stateful half runs: databases, workers, and services that stay resident.
Talk through your hostingSide by side
Which we use when.
| Vercel | Railway | |
|---|---|---|
| Best fit | The site and frontend, deployed framework-natively | Stateful backends, databases, and long-running services |
| Compute model | Serverless functions that scale with traffic and idle at zero | Resident containers with CPU and memory you size yourself, sleep optional |
| What it runs | Next.js, SvelteKit, and Astro with zero deployment config | Anything in a container: Node, Python, Elixir, workers, cron jobs |
| Data | No persistent disk; storage arrives through marketplace integrations | Postgres, Redis, and volumes living next to the app on a private network |
| Delivery network | A global edge network and CDN in front of every deploy | Region-pinned services, closer to a classic application host |
| Preview flow | A preview deployment per pull request, wired into Git review | Cloneable environments per branch for testing service changes |
This reflects how we split workloads on real projects, not a vendor feature audit. Platform capabilities change; the selection criteria above have stayed stable.
The short answer
State decides it, not preference.
Both platforms deploy from Git in minutes. The question worth asking is whether the workload holds state or has to stay resident, because that is the line between a serverless frontend platform and an application host.
- Choose Vercel
- The site, the frontend, and stateless APIs, with edge delivery and per-PR previews doing daily work.
- Choose Railway
- Databases, background workers, cron-heavy pipelines, and services that hold connections or disk.
- Usually both
- Frontend on Vercel, stateful backend on Railway, talking over HTTPS. That split is our production default.
Primary sources
Check the vendors directly.
- Vercel vercel.com
Official site: the frontend cloud, pricing, and platform overview.
- Vercel Docs vercel.com/docs
Vendor documentation for frameworks, functions, and deployments.
- Railway railway.com
Official site: services, databases, and usage-based pricing.
- Railway Docs docs.railway.com
Vendor documentation for services, volumes, and private networking.
Capabilities and pricing change on the vendors’ schedule, not ours. These are the official pages to verify current detail; the selection criteria on this page are our own.
Questions
Vercel and Railway, answered.
These answers describe how we choose and deploy, which is the part that stays true as platform features move.
Not sure where your app belongs