Last updated: May 2026
Serverless Postgres separates compute from storage to enable autoscaling, instant branching, and (on the strongest implementations) scale-to-zero — you pay only for actual compute time plus storage. The five real options in May 2026 are Neon (true scale-to-zero, ~500ms cold start, copy-on-write branching), Aurora Serverless v2 (AWS-native, ~$43/month floor), Supabase (Postgres-as-a-platform, always-on compute), Xata (Postgres + built-in Elasticsearch), and CockroachDB Serverless (distributed multi-region). This guide explains the architecture, the economics, and how to pick.
For Neon vs Supabase head-to-head, see Supabase vs Neon. For free tier options across providers, see Free Database Credits 2026.
What "serverless Postgres" actually means
Traditional Postgres ties compute (the server running queries) to storage (the disk holding data). You pick an instance size — say, db.t3.medium with 50 GB — and pay for it 24/7. Scaling means resizing the instance (downtime) or sharding (complexity).
Serverless Postgres decouples these:
- Compute runs standard Postgres in stateless processes that can be paused, scaled out, or migrated without affecting data.
- Storage lives in cloud object storage (S3 / GCS) or a separate distributed storage layer, accessed by compute via a pageserver.
- WAL durability is handled by separate safekeepers that ensure no committed transaction is lost.
The result: compute can scale from zero to many cores in seconds, storage grows automatically, and the same data can be served by multiple compute instances (branching, read replicas).
Why this architecture matters
Elasticity. Compute scales with load. A traffic spike adds CPU; quiet periods drop to zero. No capacity planning.
Scale to zero. Compute pauses when no queries arrive. For a dev database used 8 hours/day, 5 days/week (24% of the week), you pay ~24% of always-on cost.
Branching. Clone the database state instantly via copy-on-write. Test migrations on real production data without copying anything physically. Spin up per-PR preview databases that cost nothing if unused.
Independent scaling. Compute and storage scale separately. You can have 10 GB of data with a powerful compute instance, or 1 TB of data with a tiny one — no fixed compute-to-storage ratio.
The five serverless Postgres options in 2026
Neon — the leader
Architecture: Custom pageserver and safekeepers backed by S3, separate from Postgres compute. Apache 2.0 core, open source.
Cold start: ~500ms after pause. Fastest in the field.
Scale to zero: Yes, on every plan including paid. Compute pauses per query when idle.
Branching: Copy-on-write. Clone production data in <1 second, pay only for changed pages.
Pricing: Free 0.5 GB / 100 compute-hours/month. Launch starts at $19/month with usage-metered compute and storage.
Best for: Greenfield projects, dev/staging databases, bursty workloads, multi-tenant SaaS with many small DBs, preview environments per PR.
Acquired by Databricks in May 2025 (~$1B). As of May 2026, that has translated to a more generous free tier and stronger venture backing — no degradation of the standalone product.
Aurora Serverless v2 — AWS-native
Architecture: AWS Aurora storage + serverless compute layer, integrated with AWS RDS.
Cold start: ~15 seconds. Slow versus Neon.
Scale to zero: Yes (introduced 2024), but with a 5-minute auto-pause delay and slow resume. Practical minimum is 0.5 ACU (~$43/month).
Branching: No first-class branching. Use clones (slower, costlier).
Pricing: $0.12 per ACU-hour. Minimum 0.5 ACU when active = ~$43/month if active 24/7.
Best for: Existing AWS shops, enterprise requirements with AWS lock-in (IAM auth, VPC peering, DMS, Glue catalog), workloads needing AWS service integration.
Supabase — Postgres + backend platform
Architecture: Managed Postgres + Auth + Storage + Realtime + Functions on a single platform.
Cold start: Free tier pauses after 7 days idle; on Pro+, compute is always on.
Scale to zero: No on paid plans. You pay for selected compute size 24/7.
Branching: Git-integrated, creates new empty databases with seed data — not data clones.
Pricing: Free 500 MB / 50K MAU. Pro $25/month bundles 8 GB DB + 100 GB storage + 100K MAU.
Best for: Fast-shipping product teams, full backend in one platform, RLS-integrated auth out of the box. Best when you need more than just Postgres.
Xata — Postgres + Elasticsearch
Architecture: Postgres for relational data + Elasticsearch for full-text search + a spreadsheet-like Studio for data management.
Cold start: Scales-to-zero with cold start similar to Neon.
Scale to zero: Yes.
Branching: Yes (Git-like branching of schema + data).
Pricing: Free tier with 15 GB storage; usage-based paid tier.
Best for: Content-heavy apps that need full-text search alongside relational data. Apps wanting a no-code Studio for non-engineers to edit data.
CockroachDB Serverless — distributed multi-region
Architecture: Distributed SQL (Postgres-compatible) across multiple regions, designed for region-failure survival.
Cold start: Free tier auto-pauses; paid clusters keep minimum compute warm.
Scale to zero: Free tier yes; paid clusters maintain warm compute.
Branching: No first-class branching.
Pricing: Free tier with 10 GB storage, 50M RUs/month; usage-based scale-up.
Best for: Multi-region apps requiring strong consistency. Survives region failures without downtime. Postgres-compatible but not pure Postgres — some features differ.
Cost math by workload
Dev / staging database (used ~24% of the week):
- Neon: pays for ~24% of time + storage. Often $5-15/month.
- Aurora Serverless v2: minimum 0.5 ACU when active, ~$10-20/month.
- Supabase Pro: $25/month flat (always-on).
- Winner: Neon by significant margin.
Production B2B SaaS, 50 users, business-hours use:
- Neon Launch: ~$25-50/month with autoscaling + storage.
- Aurora Serverless v2: ~$50-100/month.
- Supabase Pro: $25-50/month all-in (auth + DB + storage bundled).
- Winner: Neon if you have auth elsewhere; Supabase if you need bundled auth.
Production high-QPS consumer app, 24/7:
- Neon: usage-based pricing adds up at sustained high QPS. ~$200-500/month.
- Aurora Serverless v2: similar at sustained load. ~$200-500/month.
- Supabase Pro+: fixed compute upgrades, predictable. ~$100-300/month.
- Winner: Supabase Pro+ or traditional RDS at very high sustained load.
Multi-tenant SaaS with database-per-tenant:
- Neon: copy-on-write branching makes 100s of tenant DBs almost free. $50-200/month.
- Aurora Serverless v2: 100 separate clusters, each with $43/month floor = $4,300/month minimum.
- Supabase: separate projects, each $25/month minimum = $2,500/month for 100.
- Winner: Neon by 10x or more.
When serverless Postgres is not the right call
- Very high QPS, 24/7 consistent load. Fixed-size instance on RDS or self-hosted is usually cheaper than serverless overhead.
- Strict cold-start latency requirements. Even Neon's 500ms is real; for latency-critical paths use min-compute settings or always-on tiers.
- Workloads with custom Postgres extensions not yet supported. Check the platform's extension list before committing.
- Enterprise requirements for self-managed databases. Some compliance regimes (specific government, defense) require on-prem or self-managed.
Common mistakes when adopting serverless Postgres
- Ignoring connection pooling. Serverless compute can scale out — but Postgres connections are heavy. Use the platform's built-in pooler (Neon has PgBouncer) or external (Supavisor).
- Cold-start latency in user-facing paths. Configure a minimum compute size for latency-sensitive endpoints.
- Over-relying on branching. Branching is great for dev / preview / migration testing. Don't use 50 branches as a sharding strategy.
- Forgetting backup strategy. Even serverless databases need point-in-time recovery and tested backup restoration.
- Treating "serverless" as "no ops." You still tune indexes, watch slow queries, plan migrations. The compute layer is managed; the data and schema are still your job.
How to evaluate in 1 hour
- Sign up for Neon free tier at neon.tech. Connect via standard
psqlorpg_dump. - Try the branching workflow — create a branch, modify schema, drop branch.
- Test cold start by waiting 5 minutes idle, then running a query.
- Compare to Aurora Serverless v2 via AWS Console if you're AWS-locked-in.
- Sign up for Supabase free to compare bundled-platform experience.
Most teams know within an hour which one fits their workflow. The migration cost from one to another is small (pg_dump + pg_restore), so trying the wrong one first is recoverable.