Best Free Hosting for Next.js in 2026: 3 Free Tiers Compared
Compare the best free hosting for Next.js: Vercel, Cloudflare and Netlify free tiers by limits and commercial rules, with a pick for each project.
By marouaneTech · Published · Updated · 9 min read
The best free hosting for Next.js depends on two questions: does your app need a server, and does it make money? For a static export or any commercial site, Cloudflare's free plan is my pick; for a personal app that needs server rendering, Vercel's Hobby plan is the easiest free option.
Last verified: November 2026.
I'm marouaneTech. I run DevToolPick, a commercial Next.js site, on Cloudflare for $0 a month as a static export, and my personal portfolio, also built with Next.js, started on Vercel's Hobby plan. That experience shapes the verdicts below. For Netlify, I only use its official pages.
Free Next.js hosting at a glance
Here's how the three main free tiers compare. The figures are list prices from each provider's pricing page, and the commercial-use column comes from each provider's own terms.
| Provider | Free plan | Commercial use on free plan | Cheapest paid plan | Bandwidth |
|---|---|---|---|---|
| Cloudflare Workers pricing page | Yes: static asset requests are free and unlimited; 100,000 Worker requests per day | No restriction found in the terms | Workers Paid: from $5/month | No bandwidth (egress) charges on Workers Paid |
| Vercel pricing page | Hobby: $0/month | No: the Terms limit Hobby to personal or non-commercial use | Pro: $20/month per seat | 100 GB on Hobby; Pro includes 1 TB, then from $0.15/GB (or opt-in Flat Rate CDN tiers from $20/month) |
| Netlify pricing page | Free: $0, 300 credits per month (hard limit, never charged) | No restriction found in the terms | Personal: $9/month (1,000 credits) | Billed in credits: 20 credits per GB (about 15 GB on Free); Free projects pause at the limit |
The full provider comparison on the calculator page adds a budget server option, and the calculator estimates a monthly cost for your own traffic.
Static export or server rendering: what "free" really covers
Next.js can run two ways, and they cost very different amounts.
A static export (output: "export" in next.config) turns every page into plain HTML, CSS and JavaScript at build time. No server runs when someone visits. Any host that serves files can serve it, and that's where free tiers are most generous.
Server rendering runs code on a request: server-side rendering, API routes, Server Actions, middleware, ISR and on-the-fly image optimization all need it. On a free tier, that code uses up function invocations, CPU time or credits, so it's the part with real limits.
The catch: a static export gives up every feature that needs a server. The Next.js static export docs list them, including cookies, rewrites, redirects, headers, ISR, Server Actions, and image optimization with the default loader.
For a lot of sites that's fine. DevToolPick is a static export: the tools run in the browser, and redirects and security headers are set in Cloudflare instead of Next.js. I wrote up the full setup, including the build error that cost me the most time, in how I deployed a Next.js site on Cloudflare for free.
If you're not sure, try output: "export" and run a build. Next.js tells you which features block it.
Can you host a commercial Next.js site for free?
Yes, but not on every free tier. This is where the hosts differ most:
- Vercel Hobby: not for a business. Section 4 of Vercel's Terms of Service says: "You shall only use the Services under a Hobby plan for your personal or non-commercial use." A business site, client work or an ad-funded site doesn't fit. For a small personal project that earns a little, the Terms aren't clear, so ask Vercel. I covered the details in what Vercel's Hobby plan allows for commercial use.
- Cloudflare: allowed. I found no personal-use or non-commercial clause in Cloudflare's terms. One rule to know: you can't collect credit card details on a site that uses Cloudflare's free services.
- Netlify: allowed. Its subscription agreement has no non-commercial clause. Netlify offers the free tier "at its sole discretion", though.
- GitHub Pages: no for businesses. GitHub says Pages is not "allowed to be used as a free web-hosting service to run your online business, e-commerce site".
- Render: not for production. Its free-instance docs say not to use them for production applications.
"Commercial" is broader than selling things. The Terms don't define it, but in my reading a site that runs on ads or affiliate commissions, or that a client paid you to build, isn't personal or non-commercial use, so I wouldn't put it on Vercel Hobby.
The free tiers in detail
Cloudflare Workers (what I use)
DevToolPick runs on Cloudflare Workers static assets. The build output in out/ is uploaded on every push to GitHub, and static asset requests are free and unlimited. My only cost is the domain.
For server rendering, Cloudflare's Next.js guide "recommends vinext as the default way to run Next.js applications on Cloudflare Workers", with OpenNext for existing apps. It lists App Router, server-side rendering, Server Actions, ISR and middleware as supported, and image optimization as partially supported. Every server-rendered request then counts toward the 100,000 Worker requests per day on the Free plan. I haven't run a server-rendered app there myself.
Pros: unlimited free static traffic; commercial use allowed; DNS, HTTPS and email forwarding on the same free account. Cons: server-rendered Next.js needs an adapter (vinext or OpenNext); 100,000 Worker requests a day on Free; no card payments on free services.
Vercel Hobby
Vercel builds Next.js, so it supports every Next.js feature without an adapter. My personal portfolio, a Next.js site, started on Hobby. Once it began promoting my services, I'd count it as commercial under my reading of Vercel's Terms.
The Hobby docs include 100 GB of Fast Data Transfer, 1,000,000 function invocations, 4 CPU-hours of Active CPU and 5,000 image transformations a month. If you go over, Vercel says you'll usually "have to wait until 30 days have passed" before using that feature again.
Pros: full Next.js support with no setup; generous limits for a personal site. Cons: the Terms limit it to personal or non-commercial use; going over a limit can pause a feature for up to 30 days. Pro starts at $20 a month per developer seat.
Netlify Free
I haven't used Netlify, so this section is based only on its official pages.
Netlify's Next.js docs say it "supports all major Next.js features with zero configuration" through its OpenNext adapter, including the App Router, SSR, ISR, middleware and image optimization.
The Free plan is measured in credits: 300 a month. Bandwidth costs 20 credits per GB, so bandwidth alone would use up the free credits at about 15 GB. Compute costs 10 credits per GB-hour.
When the credits run out, Netlify doesn't charge you. Instead, all of the team's projects pause until the next billing cycle, and visitors see a "Site not available" page. I go through what uses the credits, with a worked example for a small site, in is Netlify free? Credits and limits explained.
Pros: full Next.js support including SSR; commercial use allowed; never charged on Free. Cons: about 15 GB of bandwidth if that's all you use; every project on the team pauses when credits run out.
Other options
Render offers free static sites and free web services, but free web services spin down after 15 minutes without traffic, and free Postgres databases expire 30 days after creation. Render says not to use free instances in production.
GitHub Pages serves a static export, but it's for non-business sites, with a 1 GB site size limit and a soft limit of 100 GB of bandwidth a month.
DigitalOcean has no free plan, but a Basic Droplet costs $4 a month for 1 vCPU, 512 MiB of memory and 500 GiB of transfer. It runs any Next.js feature with next start, if you're happy to manage a server.
Which free host fits your project?
The chart at the top of this guide sums it up. Here's the reasoning for each project type.
Static site
Portfolios, docs, landing pages and blogs that build with output: "export". Pick Cloudflare. Static traffic is unlimited and commercial use is allowed, so you won't need to move if the site starts earning. Vercel Hobby also works if the site is personal.
Server-rendered app (personal)
If you need SSR, API routes or ISR, and nobody makes money from it, pick Vercel Hobby. It's the least setup, and the limits are generous for a side project.
Server-rendered app (commercial)
Pick Netlify Free or Cloudflare. Netlify runs Next.js with no adapter setup, but watch your credits. Cloudflare's free request allowance is per day, and you'll need its recommended adapter. If your app depends on Vercel-specific features, Vercel Pro at $20 a month is the honest answer.
Side project with a database
None of the three free tiers in the table includes a database. Host the Next.js app on a free tier and use a separate database service with its own free plan. Read its limits before you rely on it: Render's free Postgres, for example, expires after 30 days. If you'd rather keep everything in one place, a $4 a month server is the cheapest paid step.
Commercial site
Pick Cloudflare for a static site, or Netlify if you need server features. Don't use Vercel Hobby or GitHub Pages for a business.
What free hosting doesn't cover
Free hosting covers serving your site. Several costs sit outside it:
- A domain name. Every host gives you a free subdomain, but a real domain costs money every year. Mine was $11.48 for the first year.
- A database that keeps its data long term.
- Email. Cloudflare forwards email on your domain for free, but sending from it is a separate service.
- Payments. Cloudflare's free services can't be used on a site that collects card details.
For typical prices and the costs that show up after the first year, see how much it costs to host a website in 2026. If you need a traditional host instead, for WordPress for example, I've put shared hosting prices side by side, with first-term and renewal costs.
Where to get a domain
Where I bought my domain
If you still need a domain for your Next.js site, this is the registrar I used for devtoolpick.com.
Namecheap
Domain search at the registrar where I bought devtoolpick.com.
Pros
- I paid $11.48 for the first year of devtoolpick.com
- Free WHOIS privacy was included
- Switching the nameservers to Cloudflare was simple
Cons
- $11.48 was a first-year price: check the renewal price at checkout
- After moving DNS to Cloudflare, I had to delete Namecheap's parking-page records myself
Visit Namecheap(opens in a new tab)Affiliate link
FAQ
Is Vercel free for Next.js?
Yes. The Hobby plan costs $0 and supports every Next.js feature, but Vercel's Terms limit it to "personal or non-commercial use". A business site, paid client work or an ad-funded site needs Pro; for a small personal project that earns a little, ask Vercel.
Can I host Next.js on GitHub Pages?
Yes, as a static export. Server features won't work, and GitHub doesn't allow Pages to be used for an online business or e-commerce site.
Should I use Cloudflare Pages or Workers for Next.js?
Cloudflare's Next.js guide recommends Workers. It mentions Pages only for a static export that you specifically want to deploy there. DevToolPick runs on Workers static assets.
What happens if I go over a free tier?
It depends on the host. On Vercel Hobby, you usually wait 30 days before using that feature again. On Netlify Free, all of the team's projects pause until the next billing cycle, and you're not charged. On Cloudflare, static asset requests are unlimited, so a static export doesn't hit a request cap.
Do I need a server to run Next.js?
No. A static export runs on any host that serves files. You only need a server, or a platform that runs one for you, for features like SSR, API routes, ISR and default image optimization.
Sources (checked 5 December 2026)
Prices, limits and quotes in this guide come from these official pages. The date is when I last checked each one against what the guide says.
- Cloudflare: Workers pricingchecked
- Cloudflare: Next.js on Workerschecked
- Cloudflare: Self-Serve Subscription Agreementchecked
- Vercel: Terms of Service (Section 4, Hobby Plan)checked
- Vercel: Hobby planchecked
- Netlify: Pricingchecked
- Netlify: Credit-based pricing planschecked
- Netlify: Resume paused projectschecked
- Netlify: Next.js on Netlifychecked
- Netlify: Self-Serve Subscription Agreementchecked
- Next.js: Static exportschecked
- Render: Deploy for freechecked
- GitHub: GitHub Pages limitschecked