Vercel vs Railway

Vercel suits Next.js teams that need a global CDN, preview deployments and Vercel-native features. Railway suits teams that run web services, workers and databases together and want plan fees plus per-second usage billing in four regions.

On this page

Vercel vs Railway: when each one fits your app

Vercel fits teams building a Next.js frontend that need a global CDN, preview deployments and Vercel-native features such as managed functions. Railway fits teams that run web services, background workers and databases together and want them deployed in one place, in four regions, on a plan fee plus per-second usage for CPU, memory, storage and egress. Start with the framework. The Next.js deployment docs state that running Next.js as a Node.js server or Docker container supports all features, while a static export supports a limited set, so a team that wants Next.js without a managed frontend platform has a second path to evaluate. Then confirm where your data must sit: Vercel's default function region is iad1 in Washington, D.C., and Railway offers Virginia, California, Amsterdam and Singapore for each service.

Seat count and commercial use often decide the bill before architecture does. Vercel's Hobby plan is for personal, non-commercial use and cannot buy extra usage, so a company product belongs on Pro, which costs $20 per month with a $20 usage credit. Each additional developer seat adds $20 per month, while viewer seats are unlimited. Railway's Pro plan is $20 per workspace per month with $20 of usage included and unlimited seats, so a team with many developers should compare the two per-seat models line by line in the Vercel pricing and Railway pricing pages. SSO is the other split. Vercel lists SAML SSO for Pro teams at $300 per month and reserves SCIM directory sync and SSO-protected previews for Enterprise, while Railway offers SSO on Enterprise or with annual committed spend. Ask each vendor for the exact SSO tier in writing before you sign.

The last decision is how much server work your team wants to do. Railway removes most of it, since you deploy services from a repository and pay for the CPU, memory, volumes and egress they use. Railway has deprecated its config as code files in favor of infrastructure as code and supports legacy services only until December 1, 2026, so check whether your deployment definitions need migrating. Moving a service to another region needs no downtime, but a service with an attached volume needs that volume migrated, with downtime while the migration runs. Before you choose, deploy one service with its database, record its usage over a full billing cycle, and confirm where logs and backups are stored. If you need the data on servers you control, self-hosted platforms such as Coolify move that operations work to your team.

Which Vercel vs Railway scenario matches your team

This table matches six common team situations to the platform that fits best, along with the condition that makes it the right choice. Read each row against your traffic pattern, data location and licensing terms, and confirm database offerings and regions with each vendor before you commit. Where neither platform fits well, the row points you to the self-hosted options on this page.

ScenarioBetter fitWhy
A Next.js frontend for a global audienceVercelCompute in 19 regions behind more than 126 points of presence. Railway lists four regions.
A backend service with workers and a databaseRailwayPer-second billing for CPU and memory, with cron schedules and config as code. Confirm its database options with Railway.
A small team that needs SSONeither at small scale. See the self-hosted options on this page.Vercel lists SAML SSO for Pro at $300 per month. Railway lists SSO on Enterprise or with annual committed spend.
EU-only data residencyRailway, with services pinned to EU West Metal in AmsterdamVercel has EU regions, but Functions default to Washington, D.C. Confirm where Railway logs and backups are stored.
A commercial product on a free or Hobby tierRailway Hobby, after confirming commercial termsVercel Hobby is non-commercial only and cannot buy extra usage. Railway's pricing page lists Hobby at $5 per month with $5 of usage.
A team that must keep every server in its own cloud accountNeither. Use the self-hosted options on this page.Vercel's BYOC runs compute in your AWS account but is Enterprise-only. Railway's listed regions do not include your own account, so confirm Enterprise options with Railway.

Decision path from Next.js needs to self-hosting

The path starts at the top with one question: does the app depend on Vercel's CDN, edge or preview features? A yes ends at Vercel. Otherwise, check whether services, workers and databases must run together on usage billing, which points to Railway. If data must stay in your own cloud account or data center, the path ends at self-hosted Coolify. The last question covers SSO or a HIPAA BAA: a yes leads to enterprise tiers, where Vercel BYOC and Secure Compute are Enterprise-only at custom pricing, and a no ends at Coolify.

Decision path from four questions to Vercel, Railway or self-hosted Coolify.

Vercel vs Railway: capabilities that differ

This table compares the Vercel and Railway capabilities that most often change a hosting decision, including plans, seats, regions, Next.js support, SSO, configuration and storage. Read each row as a question to settle before you commit, and treat every cell that says to confirm as an item to put to the vendor in writing. The main takeaway is that Vercel's global edge and Next.js tooling differ from Railway's smaller set of regions and container-based, usage-billed services.

CapabilityVercelRailway
Plan entry pointsHobby at $0 per month for personal, non-commercial use; Pro at $20 per month with a $20 usage credit.Free Trial with a one-time $5 credit; Free with $1 of usage per month; Hobby at $5 per month; Pro at $20 per workspace per month.
Seat modelPro charges $20 per month for each additional developer seat; viewer seats are unlimited.Pro lists unlimited seats within the $20 per workspace per month fee.
Compute regions19 compute regions behind more than 126 points of presence, including EU regions in Stockholm, Paris, Dublin, Frankfurt and London.Four Metal regions: US West (California), US East (Virginia), EU West (Amsterdam) and Southeast Asia (Singapore).
Default or changed regionFunctions default to iad1 in Washington, D.C.; confirm how to change the region per project.A service region can change without downtime, except services with attached volumes need a migration with downtime.
Next.js supportVerified Next.js deployment adapter that runs the full compatibility test suite.Runs a Next.js server or Docker container from a Dockerfile build; confirm Railway's Next.js feature support.
SSO tierSAML SSO for Pro teams at $300 per month; Enterprise adds SCIM sync and SSO-protected previews.SSO on Enterprise or with annual committed spend; confirm the committed spend threshold with Railway.
Config as codeConfirm with Vercel which project settings can be set in version-controlled files.railway.toml or railway.json set builder, commands, healthchecks, cron and replicas; deprecated, with legacy support until December 1, 2026.
First-party storage and databasesVercel Blob and Global Config are first-party; Postgres and Redis come through Marketplace providers such as Neon and Upstash.Volumes at about $0.15 per GB-month and object storage at $0.015 per GB-month; confirm which managed databases Railway runs itself.
Edge CDN and data transferCDN requests include 10 million per month on Pro, then $2 per million.Egress billed at $0.05 per GB; confirm whether Railway offers a CDN in front of services.

Vercel vs Railway pricing structure from published fees

Vercel and Railway both publish a base plan fee plus usage meters, so the total bill depends on seats, traffic, compute and resource caps as much as on the plan name. The four cards below follow each vendor's published structure, and the figures can change, so confirm them on each pricing page before you build a cost model.

Vercel plan and seat fees

Vercel's Hobby plan costs $0 but is limited to personal, non-commercial use, and Hobby accounts are capped and cannot buy extra usage. Pro is $20 per month with a $20 usage credit, each additional developer seat adds $20 per month, and viewer seats are unlimited, while Enterprise is custom priced and SAML SSO is listed at $300 per month on Pro. Confirm current figures on the Vercel pricing page, since they can change, and multiply your developer headcount by the seat fee before comparing totals.

Vercel pricing page

Vercel metered usage

Beyond plan allowances, Vercel bills Fast Data Transfer at $0.15 per GB after 1 TB, CDN requests at $2 per million after 10 million, function CPU and memory by the hour, invocations, image transformations, ISR and Blob storage. New teams start with a default $200 on-demand budget that can be changed, and an optional hard limit pauses all projects at 100%, so decide whether a pause is acceptable. Confirm current rates on the Vercel pricing page, since they can change.

Vercel pricing page

Railway plan fees and usage

Railway's Hobby plan is $5 per month including $5 of usage, and Pro is $20 per workspace per month including $20 of usage with unlimited seats. Per-second usage sits on top of the fee: vCPU at $0.00000772 per vCPU-second (about $20 per vCPU-month), RAM at $0.00000386 per GB-second (about $10 per GB-month), volumes at about $0.15 per GB-month, egress at $0.05 per GB and object storage at $0.015 per GB-month. Model a full month of always-on services against the included usage, and confirm current rates on the Railway pricing page, since they can change.

Railway pricing page

Railway per-plan service caps

Each Railway service is capped by plan. Hobby allows 48 vCPU and 48 GB per service with 5 GB volumes and 6 replicas, while Pro allows 1,000 vCPU and 1 TB per service with 1,000 GB volumes and 42 replicas. Check your largest single service against these caps before choosing a plan, and split or re-architect anything that exceeds them. Confirm the caps on the Railway pricing page, since they can change, and ask what applies under an Enterprise agreement.

Railway pricing page

What pushes the Vercel or Railway bill up

On Vercel, the bill is set by seats and by several metered line items that run side by side. On Pro, each additional developer seat costs $20 per month, while viewer seats are unlimited, so who needs edit access is a cost decision as well as an access decision. Usage is metered on fast data transfer (1 TB per month included, then $0.15 per GB), CDN requests (10 million included, then $2 per million), Function Active CPU and provisioned memory, function invocations, image transformations, ISR reads and writes, and build minutes on basic build machines. Each meter has its own allowance and its own rate, so a spike in one area, such as image transformations on a media-heavy page, can raise the bill even when the rest of the traffic looks the same.

On Railway, the bill follows how long each service runs at the size you give it. Usage is billed per second on top of the plan fee, at about $20 per vCPU-month and about $10 per GB-month of RAM, so a service that stays up on a large instance costs money even when traffic is quiet. Replica count multiplies that compute for every service that runs several copies, and Pro allows up to 42 replicas per service. Volumes cost about $0.15 per GB-month, egress costs $0.05 per GB, and object storage costs $0.015 per GB-month. Review the vCPU and RAM set for each service, the size of each volume and the number of replicas, since each one is a separate meter that keeps running after deployment.

A plan credit covers usage only up to its amount, and everything above it is billed. Vercel Pro includes a $20 usage credit, and a new team starts with a default on-demand budget of $200 that you can change, with alerts as spend approaches it. The optional hard limit is the setting that pauses all projects at 100%, so decide deliberately whether a paused production site is an acceptable outcome before you enable it. On Railway, Hobby includes $5 of usage and Pro includes $20 of usage per workspace. Confirm on Railway's pricing page whether it offers a spend limit that stops services at a threshold, and ask how services behave when that limit is reached. Then model your own request volume, build count, memory per service and replicas against each pricing page before comparing totals, starting with the Vercel pricing page.

Vercel vs Railway data location, export and lock-in

Each card covers one point where data location, export or exit can stall a move from Vercel or Railway. Vercel's regions, storage and Marketplace providers decide where data sits and how it leaves, while Railway's regions and config files decide how a service is rebuilt elsewhere. The Next.js and operations cards show what stays portable and what becomes your team's job.

Vercel compute and data location

Vercel runs compute in 19 regions behind more than 126 points of presence, including EU regions in Stockholm, Paris, Dublin, Frankfurt and London. Vercel Functions default to iad1 in Washington, D.C., and global network traffic can pass through locations you did not select. BYOC, which runs Vercel compute inside your own AWS account, is an Enterprise option at custom pricing. Confirm each function's region, where cached content is served, and whether your contract includes BYOC.

Vercel regions docs

Vercel storage and Marketplace data

Vercel Blob and Global Config are first-party stores, while Postgres, Redis and similar databases come from Marketplace providers such as Neon, Upstash and Supabase. Those providers inject their credentials as environment variables, so each provider's export is a separate job with its own tools. Inventory every store before cutover, confirm which account owns each database, and test a full restore from each export.

Vercel storage docs

Railway region choice

Railway lists four regions: US West Metal in California, US East Metal in Virginia, EU West Metal in Amsterdam and Southeast Asia Metal in Singapore. A service can move between them without downtime, but a service with an attached volume needs that volume migrated, which causes downtime while the migration runs. Map each database and file volume to a region before you pick one, and schedule the volume move as a maintenance window with a tested rollback.

Railway regions docs

Railway config as code status

Railway's railway.toml or railway.json files define the builder, build and start commands, pre-deploy steps, healthchecks, restart policy, cron schedules and multi-region replicas for a service. Railway has deprecated these files in favor of infrastructure as code and lists legacy support until December 1, 2026, the date of this page. Confirm with Railway whether your services still read these files, and if they do, export their settings into a version-controlled definition you own.

Railway config docs

Next.js portability

Next.js is MIT licensed, so you can run the framework on servers you control. A Node.js server or Docker container supports all Next.js features, while a static export supports a limited set. Platform adapters vary by host, and Vercel and Bun are the verified adapters listed in the docs, with Cloudflare and Netlify working on theirs. Test each feature your app uses, such as image optimization and ISR, on the runtime you choose.

Next.js deploying docs

Operator costs when leaving

Leaving a managed platform moves capacity, backups and recovery to your team. You size servers for peak load, schedule database backups, and own the restore tests that prove them. Coolify's guide for teams coming from managed platforms notes that a rollback can redeploy a retained image but does not restore databases or persistent files. Server spend recurs each month while setup is one-time, so ask who is on call for each part before setting a cutover date.

Coolify migration guide

What moving between Vercel and Railway involves

Moving from Vercel to Railway runs in six steps, each ending with a check your team can verify. The sequence produces a Next.js app and its data running in Railway regions you choose, with the Vercel project kept until a rollback has been proven. Your team owns the rollback plan and the data at every step.

  1. Inventory services, variables, domains and data stores

    Your team lists every Vercel project with its framework, functions, cron jobs, redirects and domains, then records each environment variable by environment and marks the Secret values, since vercel env pull cannot return those. The inventory also covers each Blob store, Global Config store and Marketplace database, along with the provider that holds it. Each service owner reviews their entries and signs off the list as the migration baseline. The step is done when every service has an owner, a sign-off and a documented rollback path back to its Vercel project.

  2. Choose a region for each service

    Railway runs services in four regions: US West Metal in California, US East Metal in Virginia, EU West Metal in Amsterdam and Southeast Asia Metal in Singapore. Vercel Functions default to iad1 in Washington, D.C., and Vercel runs compute in 19 regions, so the team checks each function's region setting before choosing. Place each service near its users and data, and have the data owner confirm the choice because residency obligations apply to where data is stored. A service can change region later without downtime, but a service with an attached volume needs that volume migrated, which causes downtime, so decide volume regions now. The step is done when every service has a written region approved by the data owner.

  3. Rebuild build and start configuration for Railway

    Vercel builds and routes Next.js for you, so the team writes the equivalent on Railway: build and start commands or a Dockerfile, plus healthchecks, restart policy and cron schedules. Railway's config as code files, railway.toml or railway.json, are deprecated in favor of infrastructure as code, with legacy services supported until December 1, 2026, so confirm which format the account uses before writing new files. Deploy Next.js as a Node.js server or a Docker container, since that path supports all Next.js features, and avoid a static export for any app that relies on server-side features. The step is done when a build in a Railway environment serves every route in the inventory and passes its healthcheck.

  4. Move data and recreate credentials in Railway

    Copy Blob objects by listing them through the SDK's paginated list and writing them to the target object store, then export or migrate each Marketplace database from providers such as Neon, Upstash or Supabase. Vercel injects Marketplace credentials as environment variables, so the team creates new database users, API keys and secrets in Railway and enters them as variables, keeping the old credentials in place until cutover. Persistent files go to Railway volumes. The step is done when object counts and checksums match between source and target, and read and write tests pass with the new credentials and the data owner has signed off.

  5. Run both environments and test in parallel

    Keep Vercel serving production while Railway runs the same commit under a separate domain. Test each route, authentication callback, webhook, healthcheck and cron job against the target. Cron jobs need particular care because both platforms can run them, so disable the Vercel schedule or confirm the Railway job runs once, to avoid duplicate customer-facing jobs or data writes. The engineering owner keeps a test log listing each route and job with its result. The step is done when every inventory item passes on Railway, every cron job runs exactly once, and the team signs off the log.

  6. Cut over DNS and keep Vercel

    Lower the DNS record's time to live ahead of the change, then point the production domain at the Railway service and confirm the TLS certificate issues and redirects behave as recorded in the inventory. Watch healthchecks, error rates and data writes closely after the switch. The team owns the rollback plan, which names the DNS record to repoint, the Vercel project that becomes active again and how to reconcile any writes made on Railway during the switch. Keep the Vercel project, its domains and its data untouched until a rollback has been rehearsed and the team agrees it can be decommissioned.

When Coolify fits better than either platform

Neither hosted platform is the right answer when application data has to stay in your own cloud account or data center, when a per-seat or per-usage bill is the problem, or when one platform should run many apps on servers you control. Vercel's BYOC option runs compute inside your AWS account, but Vercel's pricing page lists it as an Enterprise-only option at custom pricing, and the page lists no self-managed edition of the Vercel platform. Railway's documentation lists four regions, so a residency requirement that needs a location outside them ends the comparison early. Confirm where your databases, object storage and logs would sit, because application compute is only part of the data picture.

Coolify is the self-hosted option to evaluate first. It is licensed under Apache-2.0, and its pricing page describes the self-hosted edition as free forever with all features and no limitations or restrictions. Its first stable release, v4.0.0, shipped on April 27, 2026, and v4.4.6 is listed as the current version on GitHub, so confirm the version you deploy against the Coolify GitHub releases page before you commit. Coolify connects to each server over SSH and deploys from a Git repository, a Dockerfile, a Docker Compose file or a prebuilt image, with Traefik as the default reverse proxy and Caddy as an alternative. Dokploy is worth considering only where you need its SSO, SCIM, audit log or custom role features, which sit in proprietary directories under the Dokploy Source Available License, so review those terms before you choose it.

The operational work moves to your team. You own the servers, operating system and Docker updates, backups, monitoring, the proxy and its certificates, and the container builds that Coolify runs on your hosts. A Coolify rollback redeploys a retained application image, but it does not restore databases or persistent files, so schedule database dumps and volume backups as separate jobs and test a restore before cutover. If you want a managed control plane, Coolify's pricing page lists Coolify Cloud at $5 per month for 2 connected servers and $3 per month for each additional server. The Coolify instance runs on Coolify's managed infrastructure while your apps stay on servers you supply. Ask the vendor what its support and backup scope covers before you rely on it for your data.

Vercel vs Railway: questions buyers ask before hiring help

Which costs more, Vercel or Railway for our app?

Neither is cheaper in every case, so compare full-month totals for your own traffic and services. Vercel pricing lists Pro at $20 per month with a $20 usage credit, plus $20 per month for each additional developer seat, with viewer seats unlimited. Usage then adds up through function CPU and memory, Fast Data Transfer beyond 1 TB per month and CDN requests beyond 10 million per month. Railway charges a plan fee, $5 per month on Hobby and $20 per workspace per month on Pro, with usage included, then bills per second for vCPU, memory, volumes and egress. Its pricing page puts vCPU at about $20 per vCPU-month and RAM at about $10 per GB-month. Self-hosted Coolify has no license fee, so the cost becomes servers, backups and engineering time. Ask each vendor for a quote built from your real build minutes, bandwidth and always-on services.

How long does moving off Vercel or Railway take?

The duration depends on the scope agreed in writing before work starts, so no fixed number applies to every app. The main drivers are how many projects and domains move, whether databases and file stores need migrating, how many environment variables must be re-entered and checked, and how much preview and rollback behavior the team wants to keep. A single Next.js app with no stateful services is far simpler than a multi-project estate with Marketplace databases. Cutover also depends on a window that data owners and the business approve. Ask for the phases, the acceptance checks and the cutover plan in the written scope, and confirm which steps depend on your own teams.

What does a move off Vercel or Railway need from our team?

Most of what a migration needs from your team is access and decisions rather than engineering hours. Plan to provide:

  • Read and build access to the Git repositories, plus the current build and start settings
  • Every environment variable, including secret values that vercel env pull cannot return, so owners can reissue them
  • DNS control for each domain, with the ability to lower record TTLs ahead of cutover
  • Named data owners who approve database and file copies and sign off on the migrated data
  • A cutover window that the business accepts, with someone available to watch the first hours of traffic

Agree on who holds each item before the scope is signed, because missing access is one of the most common causes of delay.

Can our team move off Vercel without outside help?

Yes, for simpler apps, a team with Linux, Docker and DNS experience can move a single Next.js app or a few services to Coolify on its own. The first-time work covers preparing servers, configuring the reverse proxy for HTTPS (Coolify runs Traefik by default or Caddy), connecting Git deployments and previews, and testing rollbacks. The operating effort recurs: patching, monitoring, backups, capacity planning and on-call move from the vendor to your team. Coolify's guide for teams coming from managed platforms notes that a rollback can redeploy a retained application image but does not restore databases or persistent files, so backup and restore need their own design and testing. Outside help makes most sense for large estates, compliance evidence needs or a team without spare on-call capacity.

Does Next.js lock us into Vercel hosting?

No, the framework itself does not lock you in. Next.js is MIT licensed, and its deployment documentation states that running it as a Node.js server or in a Docker container supports all Next.js features. A static export supports a limited set of features. Next.js provides a Deployment Adapter API for hosting platforms, and Vercel's adapter is one of two listed as verified, with Cloudflare and Netlify working toward verified adapters. The lock-in risk sits in the platform features around the framework, such as image optimization, ISR caching, Vercel Blob and Marketplace databases. Inventory which of those your app uses, confirm the compatibility list for your Next.js version and plan replacements before cutover.

Where does SSO sit on Vercel and Railway plans?

SSO is tied to higher tiers on both platforms. On Vercel, pricing lists SAML SSO for Pro teams at $300 per month, and Enterprise adds SCIM directory sync and SSO-protected previews. On Railway, SSO is available on Enterprise or with annual committed spend, and Enterprise agreements also cover HIPAA BAAs, dedicated VMs and contractual SLAs. Before you buy, confirm with each vendor which provisioning features, such as SCIM, are included at the tier you need, and whether preview URLs and admin consoles are covered. For a self-hosted platform, SSO depends on the identity features of that platform and any identity provider you add, so test login, role mapping and offboarding before go-live.

Can a Vercel Hobby or Railway Free plan carry a company product?

For a company product, plan on a paid tier. Vercel's pricing FAQ states that Hobby is for personal, non-commercial use, and Hobby accounts are capped and cannot buy extra usage. Railway's Free plan includes $1 of usage per month, and its Free Trial gives a one-time $5 credit that expires in 30 days. Railway's terms for these plans should be read for commercial-use limits, so confirm the position with Railway in writing before running customer traffic on either. Ask each vendor to point you to the current clause, and file the answer with your purchase and compliance records so the basis for the plan choice can be shown later.

How DeployOpen helps you choose and move

DeployOpen starts with a written scope that compares your Vercel and Railway workloads against the self-hosted options, then plans, implements and hands over whichever path fits your infrastructure. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer.

How we scope

  • We inventory each Vercel project and Railway service, with its databases, volumes, domains and environment variables.
  • We record where each function and service runs, since Vercel Functions default to iad1 and Railway lists four regions.
  • The written scope lists deliverables and timelines, plus any Next.js features a static export cannot support.

How we build

  • We run Next.js as a Node.js server or Docker container, the setups the Next.js docs say support all features.
  • We rebuild Railway's config as code settings for the target platform, including build, start, pre-deploy and healthcheck commands.
  • We configure Traefik or Caddy in front of app containers to route domains and handle HTTPS.

How we hand over

  • We document each app's environment variables, build settings, domains and secret locations, with secret values kept out of the document.
  • We set up backups for databases and volumes, since a rollback does not restore databases or persistent files.
  • We provide a cutover runbook, including DNS staging, so you know the order of changes before go-live.

How we support

  • There is no published price list, so the quote follows from the written scope.
  • Ask whether the quote splits one-time migration work from recurring retainer support.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the cutover.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.