DEV Community

niuniu
niuniu

Posted on

I Replaced My $25/Month Postgres with Neon's Free Tier. 6 Months Later, Zero Regrets.

Six months ago my hobby SaaS was paying $25/month for a managed Postgres that sat idle 22 hours a day. The database handled maybe 3,000 queries a week. I was burning $300/year on what was essentially a spreadsheet with better SQL support.

Then I moved it to Neon's free tier. Total cost since: $0. Here's the honest breakdown.

The Numbers

Old managed Postgres Neon free tier
Monthly cost $25 $0
Storage 10 GB 0.5 GB (my DB is 180 MB)
Compute Always-on Autosuspend after 5 min idle
Cold start penalty None ~800ms on first query
Branching Nope Git-style DB branches, free

The one real tradeoff: cold starts. After 5 minutes idle, Neon suspends the compute. First query after that takes ~800ms instead of 8ms. For a dashboard my 12 users check twice a day, nobody noticed. For a latency-sensitive API, you'd care.

Migration Took 20 Minutes

# dump from old DB
pg_dump -h old-host -U user mydb > backup.sql

# restore into Neon (connection string from dashboard)
psql "postgresql://user:pass@ep-xxx.us-east-2.aws.neon.tech/mydb?sslmode=require" < backup.sql
Enter fullscreen mode Exit fullscreen mode

Then I swapped one line in my Python app:

# before
DATABASE_URL = "postgresql://user:pass@old-host:5432/mydb"

# after — literally just a new connection string
DATABASE_URL = "postgresql://user:pass@ep-xxx.us-east-2.aws.neon.tech/mydb?sslmode=require"
Enter fullscreen mode Exit fullscreen mode

SQLAlchemy, Django ORM, raw psycopg2 — all worked unchanged. It's just Postgres.

The Feature That Actually Sold Me: Branching

Neon lets you branch your database like Git. Every deploy preview gets a full copy of production data:

# create a branch for testing a migration
neonctl branches create --name test-migration-42
Enter fullscreen mode Exit fullscreen mode

I test destructive migrations against a branched copy of real data now. On the old setup I did this by dumping/restoring to a local Docker container like it's 2015.

Where the Free Tier Ends

Honest limits:

  • 0.5 GB storage — fine for side projects, not for analytics
  • 1 project, 10 branches on free
  • 190 compute-hours/month — autosuspend makes this stretch surprisingly far; I use ~40/month
  • No read replicas

If you blow past these, paid starts at $19/month. I haven't needed it.

The Controversial Part

Most "managed database" bills for side projects are rent paid on fear. Fear of backups, fear of ops, fear of 3am pages. Serverless Postgres killed that excuse — the free tiers from Neon and Supabase now cover what a $25 instance did in 2023. If your side project DB is under 500MB and you're paying monthly for it, you're donating money.

I'm writing this on a setup that costs me $0/month total — free DB, free hosting, free AI coding assistant (the one I use runs against local models, no subscription). The "indie hacker stack" in 2026 is embarrassingly cheap.

What's in your $0 stack? And has anyone hit Neon's free tier limits in production — what broke first?

Top comments (0)