Vercel vs Railway vs Render: Deploy Next.js in 2026
Vercel, Railway, and Render all deploy Next.js, but they own different amounts of your backend. A 2026 decision guide with real costs, free-tier traps, and a self-host escape hatch.
Updated on July 10, 2026
Three museum pedestals of different heights holding abstract glowing forms for three ways to deploy a Next.js app, with a small potted seedling nearby, warm beige and moss green
On this page
Quick Answer (July 2026)
Vercel, Railway, and Render all deploy a Next.js app, but they hand you very different amounts of backend. As of July 2026, Vercel is the Next.js-native front end (Pro is $20 per user per month) that expects you to rent your database somewhere else. Railway runs your whole stack, app, Postgres, and workers, in one place ($5 Hobby, $20 per seat Pro, plus metered usage; no permanent free tier). Render is the managed middle: it has a genuine free web service, but that free service spins down after 15 minutes of inactivity, and paid instances start at $7 per month. If you want to own the whole thing at a flat cost, self-host with Coolify on a small VPS. Pick by how much of the backend you want the platform to run for you, not by the sticker price.
Vercel, Railway, and Render are the three names that come up every time we help a founder pick where to ship a Next.js SaaS. We have deployed real revenue apps on all three. Here is the decision the way we actually make it.
The real question is not price, it is how much backend you hand over
Most "Vercel vs Railway" posts line up three price tables and call it a day. That misses the thing that actually bites you six months in. These are not three flavors of the same deploy button. They are three different architectures, and the cheapest one on paper is often the most expensive one to live with.
Here is the axis that organizes everything below:
Vercel owns your front end and nothing else. It is the platform the Next.js team builds for. You get zero-config deploys, preview URLs on every pull request, edge routing, and image optimization. You do not get a persistent server or a database. You rent those elsewhere and call them over the network.
Railway owns your whole stack. Your Next.js app, your Postgres, your Redis, your background worker, and your cron all sit in one project, on always-on containers, talking over a private network. It feels like renting a small data center with a nice UI on top.
Render sits in the middle. Managed containers plus managed Postgres, with a real free tier to kick the tires. Less magic than Vercel for Next.js specifically, less raw than Railway, more batteries included than either.
Decide how much of the backend you want the platform to run, and the host picks itself.
Vercel: the Next.js-native front end
Vercel is the company behind Next.js, so it is the deployment target the framework is designed around. Push to a branch, get a preview URL. Merge to main, it is live. Incremental static regeneration, edge middleware, and image optimization work with no configuration because Vercel built them.
Hobby: $0, free forever, but non-commercial. Vercel's terms restrict the Hobby plan to personal, non-commercial projects. It includes 1M edge requests, 100 GB fast data transfer, and 4 hours of active CPU per month. You cannot run a revenue SaaS on it and stay inside the terms.
Pro: $20 per user per month, and it ships with $20 of included usage credit, 10M edge requests, and 1 TB fast data transfer. Overages are the part that surprises people: fast data transfer is $0.15 per GB beyond the included terabyte, function invocations are $0.60 per 1M, and active CPU is $0.128 per hour.
Enterprise: custom, with the 99.99% SLA and the advanced controls.
Where Vercel wins: nobody deploys Next.js faster or more pleasantly. Preview deploys per pull request are genuinely best in class, and for a marketing site plus an app front end, it is hard to beat.
Where Vercel loses: it is a front-end platform, so a real SaaS means bolting on a database (this is where a pick like Neon vs Supabase matters), a queue, and object storage, each billed separately. The usage-based overages on bandwidth and function compute can spike in a way flat-fee hosts do not, and some of the nicest features (edge middleware, ISR, cron) are Vercel-shaped, so a later migration is not free.
Railway: the whole stack in one place
Railway is what you reach for when you want your app and your database and your workers to live together. You add a Next.js service, a Postgres plugin, and a worker from the same canvas, and they talk over a private network with no egress charge between them. It is the closest thing to "here is my whole backend, run it" without touching a Dockerfile you did not want to write.
No permanent free tier. New accounts get a one-time $5 trial credit, no card required, and that is it.
Hobby: $5 per month, which includes $5 of usage.
Pro: $20 per month per seat.
On top of the plan fee, Railway bills resource usage per second: memory, CPU, volumes, and egress. You pay for what your containers actually consume rather than for a fixed instance size.
Where Railway wins: one platform for the entire stack, always-on containers (no cold starts on paid usage), and a metered model that is fair when your app is small and mostly idle. Standing up Postgres plus Redis plus a worker next to your Next.js app is a five-minute job.
Where Railway loses: no permanent free tier means there is no "leave it running for free forever" hobby mode. The metered, per-second billing is harder to forecast than a flat monthly instance, and Railway gives you less Next.js-specific magic than Vercel: you are closer to raw infrastructure, which is the point, but it is more to hold.
Render: the managed middle with a real free tier
Render is the one we hand people who want a free tier they can actually prototype on plus managed Postgres, without stepping all the way up to raw containers. It runs your web service and your database, with clear per-size instance pricing.
Free web service: $0, on a 512 MB / 0.1 CPU instance. The catch, straight from Render's own docs: a free web service spins down after 15 minutes without inbound traffic, and the cold start back up takes about a minute, with a loading page shown to visitors while it wakes.
Starter: $7 per month (512 MB / 0.5 CPU, always-on). Standard: $25 per month (2 GB / 1 CPU). Pro: $85 per month (4 GB / 2 CPU).
Managed Postgres: a free database (256 MB) that expires 30 days after creation, then Basic-256mb at $6 per month and Basic-1gb at $19 per month.
Workspace plans: Hobby is $0, Pro is $25 per month.
Where Render wins: the only genuine "run something for free" option of the three, plus managed Postgres in the same place, plus flat and predictable per-instance pricing once you are paying. Straightforward for a container plus a database.
Where Render loses: the free web service spin-down means a cold-start tax on low-traffic apps, the free database expiring at 30 days is a trap for anything you meant to keep, and it is not Next.js-native, so you do not get first-class ISR or edge routing the way Vercel gives them.
The free-tier truth, 2026
Founders reach for the free tiers first, so here is the honest version. None of these three is a place to run a paying SaaS.
Vercel Hobby is free forever but explicitly non-commercial. Great for your side project, off-limits for revenue by the terms.
Render free web services are free and commercial-friendly, but they spin down after 15 minutes and cold-start for about a minute, which real users will feel.
Railway has no permanent free tier at all, just a one-time $5 credit to try it.
The moment you have paying customers, you are on a paid plan on all three. Plan for that from day one instead of designing around a free tier you will outgrow in a week.
The comparison, side by side (July 2026)
Scroll to see more
Host
Free tier
Entry paid
Backend model
Best fit
Vercel
Hobby $0, non-commercial
Pro $20 / user / mo + usage
Front end only, rent DB elsewhere
Next.js app + marketing site
Railway
None (one-time $5 credit)
Hobby $5 / mo + metered usage
Whole stack, one project
App + Postgres + workers together
Render
Free web service (spins down 15 min)
Starter $7 / mo, flat
Managed containers + Postgres
Real free tier + managed DB
Coolify (self-host)
Free software, you pay the VPS
~$4 to $6 / mo VPS
You own everything
Flat cost, zero lock-in
Every price and limit in that table is pulled from each vendor's own pricing page in July 2026, linked above.
The escape hatch: self-host with Coolify
If the thing you actually want is to stop renting and start owning, there is a fourth path most comparisons skip. Coolify is an open-source, self-hostable platform-as-a-service, an alternative to Heroku, Vercel, and Netlify (58.3k GitHub stars, Apache-2.0 license, as of July 2026). You point it at a $4 to $6 per month VPS and it gives you the git-push-to-deploy, managed database, and dashboard experience of the hosts above, except the server is yours and the bill is flat.
It is more work: you patch the box, you watch the backups, you own the uptime. But for a lean team that wants predictable cost and zero vendor lock-in, it is a real option, and it is the kind of tool we like to keep in the gallery precisely because it changes the shape of the decision.
Which situation picks which
We build the stack so it funds the life, not the other way around, so we optimize for the boring, durable choice. Here is how it maps:
A Next.js app plus a marketing site, database rented elsewhere: Vercel. The DX and preview deploys pay for themselves; just budget for the usage overages.
A full-stack app where the app, the Postgres, and the workers should live together: Railway. One project, always-on, metered fairly while you are small.
You want a real free tier to prototype on plus managed Postgres in the same place: Render, as long as you accept the free spin-down and move the database off the 30-day free plan before it expires.
You want flat cost and zero lock-in and you do not mind owning the server: Coolify on your own VPS.
If you are still deciding the rest of the stack around this, our open-source Next.js SaaS and AI starter scorecard scores boilerplates on time-to-first-deploy and cost, which is the same lens we used here.
Also worth a look
Two more hosts come up often. Fly.io runs your containers close to users in multiple regions and is excellent for latency-sensitive or globally distributed apps. Cloudflare Pages and Workers push everything to the edge and are cheap at the network layer, though running full Next.js on Workers still means living with the adapter story. Both are worth a look if your app has a specific edge or multi-region need; for the plain "where do I deploy my Next.js SaaS" question, the three above are where most teams land.
Yui Tanaka curates the ShipGarden gallery, testing open-source and source-available boilerplates and the platforms founders ship them on.
Frequently asked questions
Is Vercel or Railway better for a Next.js SaaS in 2026?
It depends on how much backend you want the platform to run. Vercel is the Next.js-native front end (Pro is $20 per user per month) and expects you to rent your database elsewhere. Railway runs your app, Postgres, and workers in one project on always-on containers ($5 Hobby, $20 per seat Pro, plus metered usage). Choose Vercel for the best Next.js deploy experience, Railway when you want the whole stack in one place.
Which is better, Render or Railway?
Render has a genuine free web service and flat per-instance pricing (Starter $7 per month), but its free service spins down after 15 minutes of inactivity. Railway has no permanent free tier (a one-time $5 credit only) and bills resource usage per second, but keeps everything always-on. Pick Render for a real free tier plus managed Postgres, Railway for a metered, always-on full stack.
Is there a truly free way to host a Next.js SaaS?
Not for a revenue app. As of July 2026, Vercel's free Hobby plan is non-commercial by its terms, Render's free web service spins down after 15 minutes and cold-starts for about a minute, and Railway has no permanent free tier. Once you have paying customers you are on a paid plan on all three, so plan for that from the start.
Why does my Render free web service take about a minute to load?
Render spins down a free web service after 15 minutes without inbound traffic, per its own docs. When the next request arrives it cold-starts the service, which takes about a minute and shows a loading page. Moving to a Starter instance at $7 per month keeps the service always-on and removes the cold start.
Can I self-host instead of using Vercel, Railway, or Render?
Yes. Coolify is an open-source, self-hostable platform-as-a-service (58.3k GitHub stars, Apache-2.0, July 2026) that gives you git-push deploys and a managed database on your own VPS for a flat $4 to $6 per month. You trade convenience for ownership: you patch the server and own the uptime, but the bill is flat and there is no vendor lock-in.
A hands-on July 2026 scorecard of ten open-source and source-available Next.js SaaS and AI starters, ranked across six axes with real GitHub stars and exact licenses.
Neon or Supabase for your Next.js SaaS starter in 2026? A curator's honest, source-checked head-to-head: it is not two databases, it is a database vs a whole backend. Branching, scale-to-zero, the pricing that changed, and where each one loses.
Resend, SendGrid, Postmark and Amazon SES compared on real 2026 pricing, free tiers, deliverability, and the open-source react-email layer, with a decision guide for Next.js SaaS builders.