Build a complete Next.js app on free tiers. 10 infrastructure layers — hosting, database, auth, storage, email, monitoring, CI/CD, analytics, search, and background jobs. Exact limits, growth costs.

The Complete Free Next.js Stack

Published 2026-04-03 · Not yet reviewed

Everything you need to build and ship a Next.js app — without spending a dollar. This guide recommends the best free tier for each layer of your Next.js infrastructure — 10 layers from hosting to background jobs — with exact limits for each. 10 of 29 figures in the tables below come from our records for 1,498 developer tools.

Designed for solo developers, indie hackers, and small teams building SaaS products, side projects, or MVPs with Next.js. Each recommendation includes alternatives, a "when you'll outgrow it" guide, "why not X" callouts for popular-but-not-recommended options, and stability notes based on our tracking of 569 real pricing changes. The limits on this page were read from vendor pricing pages between 2026-08-11 and 2026-11-15.

$0/month
Total infrastructure cost for a Next.js SaaS on free tiers
$0 covers the 7 of 10 picks whose free tier our own badge still reads as active. It does not cover Sentry (stale), GitHub Actions (stale), Algolia (at risk).

Stack Overview

Layer Recommended Key Limit Stability
🚀 Hosting & Deployment Vercel Hobby plan, $0 a month, for non-commercial personal use only. Includes 100 GB Fast Data Transfer, 1M Edge… active
🗄️ Database Neon Serverless Postgres with branching — free tier includes 100 CU-hours/month per project, 1 GB of Postgres… active
🔐 Authentication Clerk Drop-in auth with 50K monthly retained users free, unlimited apps active
📦 Object Storage Cloudflare R2 Object storage with zero egress fees — 10 GB storage, 1M writes, 10M reads/month free. Standard storage… active
✉️ Email & Transactional Resend Developer-first email API — 3K emails/month free (100/day cap), 3 domains, 1K marketing contacts/month, 5 AI… active
🐛 Monitoring & Error Tracking Sentry Developer tier: 1 user, 5K errors/month, 5M spans/month, 50 session replays, 5GB application logs, 1GB… stale
⚙️ CI/CD GitHub Actions Free CI/CD for public repos (standard runners, unlimited minutes). Private repos on GitHub Free: $12 USD of… stale
📊 Analytics PostHog 1M analytics events, 5K session recordings, 1M feature flag requests, experiments billed with feature flags… active
🔍 Search Algolia Search-as-a-service. The Free plan needs no credit card and includes 10K search requests/month, 50K records… at risk
⏱️ Background Jobs & Cron Inngest Serverless workflow orchestration — 50K executions, 500K events ingested, 5 concurrent steps, 500 MB span… active

🚀 Hosting & Deployment

Recommended Vercel Hobby active

The creators of Next.js. Zero-config deployments with automatic edge optimization, ISR, middleware, and server components. Hobby plan: 100 GB Fast Data Transfer, 1M function invocations and 4 hours Fluid Active CPU a month; builds included. Preview deploys on every PR. The only platform with day-one support for every Next.js feature.

Hobby plan, $0 a month, for non-commercial personal use only. Includes 100 GB Fast Data Transfer, 1M Edge Requests, 1M Function Invocations, 4 hours Fluid Active CPU, 360 GB-hrs Fluid Provisioned Memory, 1 GB Blob…

When you'll outgrow it: When you exceed 100 GB bandwidth/month or need commercial use (Hobby plan is non-commercial). Railway's Hobby plan is $5/month including $5 of usage, with no commercial restriction. Netlify's Free plan includes serverless functions and 300 credits a month, which cover at most 15 GB of bandwidth at 20 credits per GB. Cloudflare Pages has unlimited bandwidth but limited Next.js feature support.
⚠️ Why not Heroku: No free tier since November 2022. Why not Render: Free tier spins down after 15 minutes of inactivity — cold starts of about one minute kill the Next.js experience.
Full comparison guide →

🗄️ Database

Recommended Neon Free active

Serverless Postgres with branching — perfect for Next.js server components and API routes. Free plan: 1 GB of storage and 100 CU-hours per project, up to 100 projects and 20 GB of storage in total, scales to zero after 5 minutes idle. Neon's serverless driver (@neondatabase/serverless) works in Vercel Edge Functions where traditional Postgres clients cannot.

Serverless Postgres with branching — free tier includes 100 CU-hours/month per project, 1 GB of Postgres storage per project (20 GB total across all projects), 5 GB of public network transfer per project per month, up…

No longer a free-tier pick: PlanetScale — retired.

When you'll outgrow it: When you exceed 1 GB of storage or need always-on connections. Supabase offers 500 MB storage with built-in auth and realtime but pauses after 7 days inactive. Turso gives 5 GB total storage across edge locations.
⚠️ Why not MongoDB Atlas: 512 MB storage is workable, but Postgres is the better fit for Next.js's server-side patterns (Prisma, Drizzle, raw SQL in server components).
Full comparison guide →

🔐 Authentication

Recommended Clerk Hobby active

Best-in-class Next.js DX with @clerk/nextjs SDK, middleware integration, and pre-built UI components. Free tier: 50,000 monthly retained users (MRU) per app, unlimited social logins, email/password, organizations, and webhooks. MFA needs Pro ($25/month). Drops right into App Router with zero auth boilerplate.

Drop-in auth with 50K monthly retained users free, unlimited apps

When you'll outgrow it: When you exceed 50,000 MRU per app, Pro costs $25 a month with 50,000 MRU included, then $0.02 per extra MRU. At 100,000 MRU, it costs $1,025 a month. Auth0 offers 25,000 MAU free but with fewer built-in UI components. Supabase Auth gives 50,000 MAU with the cheapest scale-up ($0.00325/MAU). For maximum free ceiling, WorkOS AuthKit offers 1M MAU free for basic auth.
⚠️ Why not NextAuth/Auth.js: Self-hosted and free at any scale, but you build every UI yourself and manage session storage. Good if you want full control; Clerk if you want to ship fast.
Full comparison guide →

📦 Object Storage

Recommended Cloudflare R2 Free active

Zero egress fees — the standout differentiator. 10 GB storage, 1 million Class A operations, 10 million Class B operations per month. S3-compatible API means any S3 SDK works. Perfect for Next.js image uploads, user files, and static assets that would cost a fortune on S3 egress.

Object storage with zero egress fees — 10 GB storage, 1M writes, 10M reads/month free. Standard storage beyond the free tier is $0.015 per GB-month, Class A operations $4.50 per million, Class B $0.36 per million…

When you'll outgrow it: When you exceed 10 GB storage. At scale, R2 saves dramatically: 1 TB stored + 10 TB egress costs ~$15/month on R2 vs ~$925/month on S3 (the egress tax). Backblaze B2 offers 10 GB free and free egress up to 3x what you store, no CDN required. Tigris gives 5 GB with S3 compatibility and global distribution.
⚠️ Why not AWS S3: new accounts get no free storage, only Free plan credits that last at most 6 months; then storage costs $0.023/GB-month. Bandwidth is the part that does not expire — AWS S3 gives every account its first 100 GB of internet egress each month free, on an account of any age — so at 100 GB egress/month S3 bills $0 for bandwidth, the same as R2. Past that S3 charges $0.09/GB and R2 still charges $0.
Full comparison guide →

✉️ Email & Transactional

Recommended Resend Free active

Modern developer-first email API built for React. 3,000 emails/month, 100/day on free tier. The react-email library lets you build email templates with JSX — same component model as your Next.js app. TypeScript SDK, webhook delivery tracking, and domain verification.

Developer-first email API — 3K emails/month free (100/day cap), 3 domains, 1K marketing contacts/month, 5 AI credits, 30-day data retention

  • Until you verify a domain, Resend sends only from its resend.dev test domain, and only to the email address on your Resend account; mail to anyone else is refused with a 403 error. (From resend.com/docs/knowledge-base/403-error-resend-dev-domain, read 2026-10-20.)
  • Resend's free plan needs no credit card. (From resend.com/agents, read 2026-10-23.)
  • Resend launched Inboxes on October 22, 2026. "An inbox sends and receives email at an address on one of your domains." Every plan includes 3 Inboxes. Inboxes can be used by agents to receive tasks and updates. (From resend.com/blog/announcing-inboxes, read 2026-11-06.)
  • Broadcasts sent through the /broadcasts API or the dashboard do not count against the 3,000 transactional emails a month. Marketing plans are limited by contacts, not email volume. Emails sent or received through an inbox count towards the transactional emails quota. (From resend.com/pricing, read 2026-11-06.)

Also consider:

Brevo Free active

No longer a free-tier pick: Amazon SES — free tier removed.

When you'll outgrow it: When you exceed 3,000 emails/month or 100/day. Brevo gives 300 emails/day (9,000/month) with no monthly cap and includes marketing automation. Mailtrap is best for testing with virtual inboxes.
⚠️ Why not SendGrid: Free tier removed May 2025. The Twilio acquisition killed the developer-first positioning. Resend is the spiritual successor.
Full comparison guide →

🐛 Monitoring & Error Tracking

Recommended Sentry Developer stale

Developer tier: 5,000 errors/month, 5M spans, 50 session replays, 1 GB attachments. First-class Next.js SDK with automatic instrumentation for API routes, server components, middleware, and client-side errors. Source map support for production debugging.

Developer tier: 1 user, 5K errors/month, 5M spans/month, 50 session replays, 5GB application logs, 1GB attachments

When you'll outgrow it: When you exceed 5,000 errors/month or need more than 1 team member. BetterStack combines uptime monitoring (10 monitors) with incident management. Grafana Cloud offers 10,000 series metrics + 50 GB logs + 50 GB traces. Highlight.io bundles 500 sessions + 1,000 errors + 1M logs on free tier.
⚠️ Why not Datadog: Free tier has only 1-day metric retention — practically unusable for debugging. At 100 hosts with APM, Datadog costs $4,600 a month at list price, billed annually.
Full comparison guide →

⚙️ CI/CD

Recommended GitHub Actions Free stale

2,000 minutes/month on free tier for public repos (unlimited) and private repos. Native GitHub integration means CI runs on every push and PR. Next.js apps typically build in 1-3 minutes — that's 660-2,000 builds/month. Matrix testing, caching, and reusable workflows included.

Free CI/CD for public repos (standard runners, unlimited minutes). Private repos on GitHub Free: $12 USD of included compute a month, which is 2,000 minutes on a standard Linux runner ($0.006/min), 1,200 on Windows…

When you'll outgrow it: When you exceed 2,000 minutes/month on private repos or need GPU/ARM runners. Railway auto-deploys from git with zero CI config. Vercel's built-in CI handles the deploy pipeline — you only need GitHub Actions for tests and linting. GitLab CI offers 400 minutes/month on free tier.
Full comparison guide →

📊 Analytics

Recommended PostHog Free active

1 million events/month free — includes product analytics, 5,000 session replays, feature flags (1M requests), A/B testing, and surveys. Replaces 3-4 separate tools. Self-hostable. PostHog's Next.js SDK integrates with App Router and supports both client and server-side tracking.

1M analytics events, 5K session recordings, 1M feature flag requests, experiments billed with feature flags, 100K error tracking exceptions, 1,500 survey responses, 10 GB of logs, 100K AI observability (LLM tracing)…

When you'll outgrow it: When you exceed 1M events/month. Plausible CE is self-hosted with unlimited everything — privacy-first with no cookies. Umami is another lightweight self-hosted option. Vercel Analytics is free on Hobby but limited to basic web analytics.
⚠️ Why not Google Analytics: Free at any scale but heavy, privacy-invasive (requires cookie consent banners in EU), and the GA4 migration broke many workflows. PostHog gives you more features with better privacy.
Full comparison guide →

⏱️ Background Jobs & Cron

Recommended Inngest Hobby active

Free tier: 50,000 executions/month with event-driven architecture, retries, scheduling, and step functions. First-class Next.js integration — define functions in your API routes, Inngest handles queuing, retries, and scheduling. No infrastructure to manage.

Serverless workflow orchestration — 50K executions, 500K events ingested, 5 concurrent steps, 500 MB span data ingested, 100K queue depth, 50 realtime connections

When you'll outgrow it: When you exceed 50,000 executions/month. QStash (Upstash) offers 1,000 messages/day for simple HTTP-based job queuing. Trigger.dev's free plan includes $5 of compute credits monthly and allows 20 concurrent runs. It has a more code-first approach. Vercel Cron Jobs are free on Hobby for scheduled tasks (1/day minimum interval) but don't handle event-driven workflows.

Stability Notes

Recent pricing changes affecting vendors in this stack. Based on our tracking of 569 deal changes across 1,498+ developer tools.

limits increased Neon: Neon raised the Free plan's Postgres storage from 0.5 GB to 1 GB per project and added a limit of 20 GB across all of an account's projects. Source ↗
new free tier Railway: Railway added a free VM accessible via `ssh railway.new` with no account or credit card needed. Each VM has 2 vCPU / 2 GB, preinstalled c... Source ↗
limits reduced Algolia: Algolia replaced its Build plan with a Free plan between the pricing-page captures of 2026-08-10 and 2026-08-13; its Free Plan terms carr... Source ↗
pricing restructured Vercel: By July 20, 2026, new Vercel Pro and Enterprise accounts use Elastic build machines by default, which scale between 4 and 30 vCPUs and bi... Source ↗
pricing restructured Backblaze B2: On May 1, 2026 Backblaze raised B2 pay-as-you-go storage from $6 to $6.95 per TB a month and made Class B and Class C API calls free; the... Source ↗
limits reduced Grafana Cloud: On 2026-04-20, Grafana Cloud restricted new Free and Trial accounts. Email alerts and reports can only go to users of their own Grafana i... Source ↗
pricing model change Netlify: Netlify changed its credit rates: bandwidth went from 10 to 20 credits per GB and compute from 5 to 10 credits per GB-hour, while web req... Source ↗
limits increased Netlify: Form submissions are now free across all Credit plans (including the Credit Free tier) — previously each form submission cost 1 credit. C... Source ↗
limits reduced Grafana Cloud: On 2026-04-07, Grafana Cloud introduced a hard limit of 1,000 dashboards and 1,000 folders per free tier stack. Stacks already above thes... Source ↗
limits increased Neon: Neon's Free plan went from one member per organization to unlimited members. Source ↗
restriction Netlify: No longer in force (2026-04-14). Every repo committer is now charged as a full Pro seat ($19/mo) when using Netlify CMS or Identity with ... Source ↗
pricing restructured Vercel: New Pro projects now default to Turbo build machines (30 vCPUs, 60GB memory) at $0.126/minute — 9x more expensive than Standard machines ... Source ↗

View all 569 pricing changes →

The First Paid Upgrade — What to Spend First

When you're ready to spend your first dollar, here's where it matters most. Sorted by which limits you'll likely hit first:

Layer Free Limit First Paid Plan What You Get
Database ⬆ hit first 1 GB storage per project Launch, usage-based $0.106/CU-hour, $0.35/GB-month, autoscaling up to 16 CU
Hosting ⬆ hit first 100 GB bandwidth Pro $20/mo/member 1 TB bandwidth, commercial use, faster builds
Auth 50,000 MRU per app Pro $25/mo 50,000 MRU, then $0.02 each; no Clerk branding
Email 3,000 emails/mo Pro $20/mo 50,000 emails/mo, custom domains, analytics
Storage 10 GB $0.015/GB/mo Unlimited storage, still zero egress
Monitoring 5,000 errors/mo Team $26/mo 50,000 errors, unlimited members, integrations
Analytics 1M events/mo $0.00005/event Pay-as-you-go beyond 1M, group analytics
Search 50,000 records Grow, $0.50 per 1K requests past 10K 100,000 records, then $0.40 per 1K records
Jobs 50,000 executions/mo Pro from $99/mo 1M executions, 100+ concurrent steps
CI/CD 2,000 min/mo Team $4/user/mo 3,000 min/mo, required reviewers

The first paid upgrade: Database (Neon Launch, usage-based, no monthly minimum) + Hosting (Vercel Pro $20/mo) unlocks commercial use, Postgres beyond 1 GB at $0.35/GB-month, 1 TB bandwidth, and faster builds. Everything else — auth (50K MRU), email (3K/mo), monitoring (5K errors), analytics (1M events), storage (10 GB R2), search (50K records), jobs (50K executions), CI (2,000 min) — stays free well past your first 1,000 users.

Architecture: How It Fits Together

A typical Next.js SaaS connects these layers:

User → Vercel (Next.js hosting + edge) → Neon (Postgres via serverless driver) → Clerk (auth middleware + session) → R2 (file uploads via presigned URLs) → Resend (transactional emails from API routes) → Inngest (background jobs triggered by events) → PostHog (analytics + feature flags) → Sentry (error tracking + performance) → Algolia (search index, synced from Postgres) GitHub → GitHub Actions (CI: tests + lint) → Vercel (CD: auto-deploy)

All connections use HTTPS APIs — no VPCs, no SSH tunnels, no complex networking. Each service is independently replaceable.

Need a different framework? See our Free Startup Stack for framework-agnostic infrastructure, Free Frontend Stack for Jamstack/static sites, or Free DevOps Stack for infrastructure tooling. Or search our full index of 1,498+ developer deals.