Next.js Starters & Boilerplates

Free Database for a Next.js or Astro Project: Supabase vs Neon vs Turso

23 November 2026 · Updated 28 November 2026 · 13 min read · by Yang Kai

Five database options checked against their own pricing pages in November 2026: Supabase, Neon, Turso and Cloudflare D1 free tiers compared on the limits that decide a project — plus PlanetScale, whose free tier no longer exists.

Table inside: Free Database Fit Table: Limits Mapped to Project Shapes

Contents
  1. How we researched this
  2. 1. Supabase: the backend bundle, capped at two projects
  3. 2. Neon: plain Postgres, 100 projects, nothing pauses
  4. 3. Turso: SQLite at the edge, 100 databases, one archiving catch
  5. 4. Cloudflare D1: the daily-quota option
  6. 5. PlanetScale: the free tier that no longer exists
  7. What none of the free tiers include
  8. The exit question: how hard is each one to leave?
  9. How to choose: four questions
  10. Verdict by project shape

The database is the one free tier you cannot swap in an afternoon. Hosts forgive a migration; data models, auth tables and a year of user rows do not. So the free database decision deserves more care than “biggest storage number wins”.

This comparison checks the four free tiers that still exist — Supabase, Neon, Turso and Cloudflare D1 — against each provider’s own pricing page, and adds a fifth entry older tutorials keep recommending: PlanetScale, whose free plan was retired in April 2024.

Each option is scored on the limits that actually shape a project: how much you can store, how many projects you can run, and what the database does when nobody is using it.

Option Engine Free allowance that decides it Idle behaviour Best fit
Supabase Postgres 500 MB database plus auth and storage bundle; 2 active projects Pauses after 1 week idle One app needing a full backend
Neon Postgres 100 projects, each with 100 CU-hours and 1 GB storage a month Scales to zero, wakes on the next query Many projects, branch previews
Turso SQLite (libSQL) 100 databases, 5 GB storage, 500M rows read a month Archived after 10 days idle Many small databases, edge and Astro apps
Cloudflare D1 SQLite 5M rows read and 100k written per day; 10 databases No pause; daily quotas reset at 00:00 UTC Apps already deployed on Cloudflare
PlanetScale Postgres / MySQL No free plan — retired April 2024; from $5 a month — A paid start, not a free one

How we researched this

Every figure comes from the provider’s own pricing page or limits documentation, checked in November 2026, and matches the corresponding entry in our free tier directory. Where a provider changed terms recently — Neon’s storage increase, the Turso acquisition, PlanetScale’s retired plan — the change and its date are stated in the item itself.

This is desk research from published terms; we do not present it as load testing.

1. Supabase: the backend bundle, capped at two projects

Supabase’s free plan is not just a database. Per project you get a Postgres database plus authentication, file storage, edge functions and realtime — the bundle removes three other sign-ups for a Next.js app that needs sign-in and uploads.

Key features:

The caps that shape your project: two active projects, and free projects pause after a week of inactivity, needing a manual restore from the dashboard before they answer again. One flagship project with real users fits this plan beautifully. A portfolio of small projects does not.

Pros:

Cons:

Pricing: Free $0, no credit card. Pro starts at $25 a month per organisation and removes the pause. Checked November 2026.

2. Neon: plain Postgres, 100 projects, nothing pauses

Neon’s free plan is a database and little else — and the database part is the most generous here. It is built for people who run many small projects and preview branches, and it never asks you to unpause anything.

Key features:

Compute scales to zero after 5 idle minutes and wakes within a few hundred milliseconds on the next query, so idle projects cost nothing and stay reachable. The limit to respect is per-project: burn a project’s 100 CU-hours or its 5 GB of transfer and its compute suspends until the next billing period. Data is never deleted.

Ownership, briefly: Neon joined Databricks in 2025. The free plan not only survived the acquisition — its per-project storage doubled the following year, the opposite of the usual post-acquisition pattern, and a useful signal if you are choosing a database for the long term.

Pros:

Cons:

Pricing: Free $0, no credit card, no time limit. Launch is pay-as-you-go at $0.106 per CU-hour with no minimum. Checked November 2026.

3. Turso: SQLite at the edge, 100 databases, one archiving catch

Turso’s free plan offers the largest free storage in this comparison and a database-per-tenant shape the Postgres options cannot match cheaply. It is SQLite, not Postgres — a good fit for Astro content sites and edge apps, and a translation job for code written against Postgres features.

Key features:

The catch is printed in Turso’s own CLI documentation: free databases are archived after 10 days of inactivity and must be unarchived before they respond. A database your app touches daily never notices; a database you query monthly will greet you with a chore.

One more dated fact to weigh: Supabase announced in October 2026 that it is acquiring Turso. Turso says databases, APIs and workflows continue as they do today, and a path from SQLite into Supabase’s Postgres will follow — but the roadmap now belongs to an acquirer.

Pros:

Cons:

Pricing: Free $0, no credit card. Developer is $5.99 a month ($4.99 billed yearly). Checked November 2026.

4. Cloudflare D1: the daily-quota option

If your Next.js or Astro project already deploys to Cloudflare — the static half of that story is in deploying Astro on Cloudflare Pages — D1 belongs in the comparison. It is SQLite behind a Workers binding — no connection string, no separate signup, no egress charges.

Key features:

Its limits reset daily rather than monthly, which suits steady small traffic and punishes one huge day: spend the write quota by noon and queries return errors until 00:00 UTC. Pair it with the hosting side of the same account and the whole stack is one bill — the deployment half is covered in deploying Next.js on free tiers.

Pros:

Cons:

Pricing: Included in Workers Free at $0. Workers Paid starts at $5 a month and moves D1 to large monthly allowances. Checked November 2026.

5. PlanetScale: the free tier that no longer exists

This entry exists because older tutorials still send readers to “PlanetScale’s free Hobby plan”. That plan stopped accepting new databases in March 2024 and was retired on 8 April 2024; PlanetScale’s own plan documentation states plainly that it does not offer a free plan.

What PlanetScale sells now is a resource-priced Base plan across three engines — Postgres (generally available since September 2025), its original Vitess-based MySQL, and Neki, its sharded Postgres.

A single-node Postgres database starts at $5 a month with 10 GB of storage included; a three-node high-availability cluster starts at $15; Postgres on its Metal hardware starts at $50 (AWS us-east-1 prices, checked November 2026). Development branches cost extra — $5 a month each for Postgres — so treat the $5 headline as a floor, not a typical bill.

Pricing: No free plan. Base plan from $5 a month for single-node Postgres. Checked November 2026.

If PlanetScale’s branching workflow and operational tooling are what you actually want, $5 a month is a reasonable paid start. Just budget it as a paid database from day one, and do not plan a project around a free tier that closed in 2024.

What none of the free tiers include

The four free plans agree on what $0 does not buy, and it is worth reading this list before the numbers above seduce you.

No support contract. Every free plan here is community support — forums, Discord, documentation. When a production app is down at 2 a.m., the free tier’s answer is a search box.

Thin recovery windows. Backups are the first thing free plans ration. Supabase free has no automated backups at all. Turso keeps 1 day of point-in-time restore; D1 keeps 7 days of Time Travel. Neon restores from its branch history, which is a working tool, not a backup policy. On any of them, a scheduled export you control is the only backup that is really yours.

No uptime promise. None of these plans carries an SLA. For a side project that is a fair trade. For a product with paying users, the absence of a promise — not any storage cap — is usually the honest reason the first paid step happens.

The exit question: how hard is each one to leave?

Free tiers end. What you owe at the end is a migration, and the five options price that migration very differently.

Postgres to Postgres is the easy exit. Supabase and Neon both speak standard Postgres, so pg_dump and a restore move the data between them — or out to any other Postgres host — in an afternoon. Each is effectively the other’s cheapest insurance policy.

SQLite exits are simple files with a dialect attached. Turso and D1 data exports as SQL dumps without drama. Moving that data into Postgres later is the real job: type differences, autoincrement behaviour and date handling need translation. Budget a day, not an hour, and more if the schema grew teeth.

The bundle is the lock-in, not the database. Supabase’s auth users and file storage do not travel inside a database dump; leave Supabase after building on its auth and you are migrating user accounts, not just tables. Branching histories on Neon and PlanetScale do not export at all — the branches are a working convenience, not an asset you take with you.

The rule: the more of a provider’s bundle you use, the more the exit costs. That is not an argument against bundles — it is an argument for choosing them with your eyes open at signup, when the choosing is free.

How to choose: four questions

Engine fit, idle behaviour, project count and exit cost decide this choice better than any headline number.

  1. Which engine does your code assume? Postgres features, extensions or tooling point to Supabase or Neon. SQLite-shaped data — content, comments, per-tenant stores — opens Turso and D1.
  2. What happens when the project goes quiet? A pause (Supabase), an archive (Turso), a scale-to-zero wake-up (Neon) and a daily quota (D1) suit very different working patterns.
  3. How many projects do you actually run? Two active projects is a hard shape. One hundred is a different hobby entirely.
  4. What does the first paid step cost, and what triggers it? The answers range from Neon’s no-minimum usage billing to Supabase’s $25 organisation plan to PlanetScale’s $5 floor that applies from the start.

Verdict by project shape

All four free options connect cleanly to the stacks in our Next.js starter decision guide, and the framework side of the pairing is covered in Astro vs Next.js for SaaS.

FAQ

Which free database is best for a Next.js app? For most builders: Neon if you only need Postgres (100 projects, no pausing), Supabase if you also need authentication and file storage in the same signup. Both are free with no card, checked November 2026.

Does PlanetScale still have a free tier? No. The Hobby plan was retired on 8 April 2024, and PlanetScale’s documentation states it offers no free plan. Its cheapest database is a single-node Postgres instance from $5 a month.

Can I use Supabase free for a production app? Yes, within its limits — a 500 MB database and 50,000 monthly active users. The inactivity pause only affects quiet projects; an app with daily users never triggers it. The two-active-project cap is the limit most growing apps meet first.

Is Turso’s archiving a deal-breaker? Only for rarely-touched databases. An app in regular use keeps its database active; archives, backups and monthly-report stores are the workloads to keep off Turso free.

What happens when I outgrow a free database? On Neon, a busy project’s compute suspends until the next month or an upgrade. On Supabase and Turso, growth past a limit means a paid plan. On D1, daily quotas reset at midnight UTC. In every case your data stays put — outgrowing free costs money, not a migration.

Category: Next.js Starters & Boilerplates · Tags: #databases #nextjs #astro #comparison

Next step: this article is part of Next.js guides, which covers the full topic from first setup to advanced use.

Related guides