Versus · Web hosting
Vercel vs Heroku
- Last checked
- 5 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Vercel if your app is mostly a website or a Next.js frontend.
- Heroku if you need a process that stays running, a queue worker, or a classic server app with a managed database.
Compared here
- 01Vercel
- 02Heroku
Short answer
Vercel is built for web frontends: you push a Next.js or React app, it builds and serves it worldwide, with short-lived serverless functions for the server bits. Heroku runs whole apps in containers it calls dynos: a Rails or Django API, a background worker, a cron job, with Heroku Postgres one click away. Different shapes of work.
Pick Vercel if your app is mostly a website or a Next.js frontend. Pick Heroku if you need a process that stays running, a queue worker, or a classic server app with a managed database. Money: Vercel has a free Hobby plan (personal, non-commercial only) and Pro at $20 a month per paid seat. Heroku has no free tier on its pricing page; Eco dynos start at $5 a month for a 1,000 hour pool.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Vercel | Heroku | |
|---|---|---|
| What it runs | Web frontends plus serverless functions | Long-running app processes (dynos), workers, databases |
| Free option | Hobby $0, personal or non-commercial use only | None listed on the pricing page |
| Cheapest paid | Pro $20/mo per paid seat, $20 usage credit included | Eco $5/mo for 1,000 dyno hours, shared |
| Always-on small app | Not the model: functions run per request | Basic dyno $7/mo, does not sleep |
| Sleep behaviour | No sleeping; functions run on demand | Eco dynos sleep after 30 minutes without traffic |
| Function / request limit | Up to 300s on Hobby; Pro configurable up to 800s | Process keeps running; no per-request cap stated on the pricing page |
| Managed Postgres | Not built in | Essential-0 $5/mo (1 GB), Essential-1 $9, Essential-2 $20 |
| Best for | Next.js, marketing sites, SaaS frontends | APIs, workers, Rails/Django/Node backends |
Money first: we may earn a commission from some links on this page, and we had not confirmed a referral program with either vendor when we wrote it. It changes nothing in the verdict.
We did not deploy the same app to both and time it. Every number here comes from Vercel's pricing page, its Hobby plan docs and terms, Heroku's pricing page and the Heroku Dev Center, read on 3 December 2026.
The real difference: requests vs processes
This is the bit most comparisons bury under feature lists.
Vercel thinks in requests. Your frontend is built once and served from a global network. When something needs a server, a function wakes up for that request, does its job and stops. On Hobby a function can run up to 300 seconds; on Pro the default is 300 and you can configure up to 800, with a longer beta option, per Vercel's docs.
Heroku thinks in processes. You give it an app, it runs it in a dyno, and the dyno keeps running. A web process, a worker process pulling jobs from a queue, a clock process firing every hour. It is the old "just git push and it runs" model, and for a backend that model is still very handy.
So ask yourself one question: does my code need to stay awake? If yes, Heroku (or something like it). If no, and it is mostly a website, Vercel.
Prices side by side
Vercel:
- Hobby: $0. 100 GB Fast Data Transfer and 1 million function invocations a month. One seat. Personal or non-commercial use only, per the terms.
- Pro: $20 a month per paid seat, viewer seats free. Includes a $20 credit across resources, 1 TB of Fast Data Transfer, then from $0.15 per GB. Function invocations $0.60 per million.
- Enterprise: custom.
Heroku (Cedar generation dynos, per month):
- Eco: $5, a pool of 1,000 dyno hours shared across all Eco dynos, 0.5 GB RAM, personal accounts only.
- Basic: $7, 0.5 GB RAM, does not sleep.
- Standard-1X: $25, 0.5 GB RAM.
- Standard-2X: $50, 1 GB RAM.
- Performance-M: $250, 2.5 GB RAM.
Heroku Postgres starts at Essential-0 for $5 a month with 1 GB storage and 20 connections, then Essential-1 at $9 (10 GB) and Essential-2 at $20 (32 GB). A Key-Value Store (Redis-style) Mini plan is $3 a month.
Notice what each price includes. Vercel's $20 includes hosting and functions but no database. Heroku's $7 Basic dyno includes one running process and nothing else; the database is extra. For a tiny commercial API with a database, Heroku comes to about $12 a month on the list prices. A Vercel Pro frontend plus a database from somewhere else will usually cost more than $20.
The Eco dyno catch
Heroku's cheapest plan is cheap for a reason. From the Dev Center:
- An Eco web dyno that gets no web traffic for 30 minutes sleeps. The next visitor waits for it to wake up.
- Sleeping web dynos do not use hours. Worker dynos do not sleep and burn hours 24/7.
- When the 1,000 hours run out, "all Eco dynos on your account are forced to sleep for the rest of the month." You cannot buy more hours; Heroku's answer is to upgrade to Basic.
- You get email warnings at 80% and 100% of the quota.
One always-on worker eats about 720 hours in a 30-day month, so the pool covers one worker plus some web traffic, not three busy apps. Fine for a demo. Not fine for a client.
The Hobby plan catch
Vercel's free plan has its own trap, and it is a rule, not a limit. Section 4 of the terms: "You shall only use the Services under a Hobby plan for your personal or non-commercial use." And if you hit a Hobby usage limit, the docs say you will usually have to wait until 30 days have passed to use that feature again. There is no "pay a little extra" switch on Hobby. A site that suddenly gets popular simply stops doing the thing that ran out.
Where each one wins
Vercel wins on:
- Next.js and modern frontend frameworks, which are its focus.
- Preview links for every branch.
- A global network for static assets with nothing to configure.
- Free hosting for personal projects.
Heroku wins on:
- Anything that must stay running: workers, schedulers, websockets, long jobs.
- Classic server frameworks (Rails, Django, Express) without rewriting into functions.
- Managed Postgres and Key-Value Store in the same dashboard.
- Predictable flat monthly prices per dyno.
Neither is the cheapest raw compute. If you want a server for a few dollars and do not mind running it yourself, a VPS is cheaper per gigabyte of RAM. That trade is covered in DigitalOcean vs Vercel. If you want a frontend host with a stronger free tier, read Cloudflare Pages vs Vercel.
Moving from Heroku to Vercel, or the other way
People search this comparison mostly when they are leaving one of them. A few honest notes before you move:
- Heroku to Vercel works cleanly for the frontend part of an app. Your server code has to become API routes or functions that finish within the time limit. Background workers, scheduled jobs that run long and anything holding a connection open have no direct home on Vercel; keep them on Heroku or move them to another worker host.
- Your database does not move with you. Vercel's core plans do not include a managed Postgres like Heroku's. Plan where the data lives before you flip DNS.
- Vercel to Heroku makes sense when a growing app needs a long-running process. A Next.js app can run on a Heroku dyno, but you lose Vercel's per-branch previews and global edge delivery unless you add them yourself.
- Count seats, not just servers. Vercel Pro charges per paid seat. A team of five on Pro is $100 a month before usage. Heroku charges per dyno and database, not per person.
Do a dry run with a copy of the app on the new platform for a week before you switch the domain.
Who should pick which
Pick Vercel if you are shipping a Next.js app, a marketing site or a SaaS frontend, and your backend logic fits into short API routes. Budget $20 a month per paid seat once it is commercial.
Pick Heroku if you have a backend that must stay up, a worker queue, or an existing Rails, Django or Node server you do not want to rewrite. Budget $7 for a Basic dyno plus $5 or more for Postgres.
Pick both if you have a Next.js frontend and a separate API. Frontend on Vercel, API and database on Heroku. Two bills, each doing what it was built for. And if your backend is mostly a database plus login, also look at Vercel vs Firebase, because that may remove the need for a server at all.
What we could not confirm
- Heroku's pricing page does not list prices for Private or Shield Spaces.
- The Postgres table on Heroku's page has unlabeled columns; we read storage from the row layout, so check the Dev Center before you size a database.
- We did not measure cold starts, wake-up times from Eco sleep, or build speeds.
We recheck these pages monthly. If the vendor page disagrees with us, the vendor page wins. Our method is on how we pick, and if you just need a normal website with email, our scalable web hosting guide is the simpler road.
Questions people ask
Is Vercel a replacement for Heroku?
For a frontend or Next.js app, often yes. For a backend that needs to keep running, like a queue worker, a websocket server or a scheduled job that runs for an hour, no. Vercel runs functions per request with a time limit. Heroku runs your process until you stop it. Many teams put the frontend on Vercel and the API on Heroku.
Does Heroku still have a free tier?
Not on its current pricing page. The cheapest option shown is the Eco plan at $5 a month, which gives 1,000 dyno hours shared across all your Eco dynos. Eco web dynos sleep after 30 minutes with no traffic and do not use hours while asleep. Eco is for personal accounts only, per the pricing page.
Is Vercel free for commercial use?
No. Vercel's terms say the Hobby plan is only for personal or non-commercial use. A business site, client work or anything that earns money needs Pro, which is $20 a month per paid seat and includes a $20 credit for usage. Viewer seats on Pro are free and unlimited, per the pricing page.
Which is cheaper, Vercel or Heroku?
For a hobby site, Vercel, because Hobby costs nothing. For a small commercial backend, Heroku can be cheaper: a Basic dyno is $7 a month and Essential-0 Postgres is $5, so $12 before add-ons, against Vercel Pro at $20 per seat, which does not include a database. Traffic changes both bills.
Can Vercel run a Node or Python backend?
It runs backend code as serverless functions: each request starts a function, which can run up to 300 seconds on Hobby and up to 800 seconds when configured on Pro, per Vercel's docs. That suits API routes. It does not suit a worker that must stay running all day or hold open connections, which is Heroku's home ground.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Vercel pricing, checked 3 Dec 2026
- Vercel docs: Hobby plan and Hobby vs Pro comparison, checked 3 Dec 2026
- Vercel terms of service (Hobby plan, section 4), checked 3 Dec 2026
- Heroku pricing, checked 3 Dec 2026
- Heroku Dev Center: Eco dyno hours, checked 3 Dec 2026