Our goal is to give you a consistent, reproducible way to compare how pricing scales across different serverless database platforms.
For the actual pricing comparisons page, see Reference → Serverless Database Price Comparison.
Standardized Assumptions
The workload model
To keep comparisons consistent, we use a unified workload model (exceptions only where enforced):
- Free-tier allowances are deducted before calculating paid usage.
- Storage is measured as total provisioned dataset size, including indexes and overhead.
- Compute is measured as monthly query volume unless the provider charges by compute unit (vCPU/RAM hours).
- Data transfer costs and egress are excluded from per-provider calculations.
The usage tiers
These tiers mirror our Functions Pricing page structure so comparisons stay consistent across content types:
Tier 1: Free tier break-even
The moment your usage exceeds the monthly free allowance for storage, compute, or row limits. Equivalent to the functions pricing Free Tier break-even.Tier 2: 10 GB database
A moderate workload with 10 GB storage. Exposes per-unit pricing, tier lock-in, and storage cost differences. Equivalent to the functions pricing 50M invocations tier.Tier 3: 100 GB database
A heavy sustained workload where HA, replicas, storage costs, and data transfer dominate. Equivalent to the functions pricing 500M invocations tier.
These tiers are intentionally chosen to reveal scaling behavior, not to judge which provider is “cheapest.”
What inputs are used
Each platform is calculated using the values explicitly published in its pricing documentation:
- Storage cost per GB per month (included vs overage)
- Compute cost per hour or per million queries
- Free tier allowances (storage, compute hours, row limits)
- Minimum commitment or baseline spend
- Replica and high availability costs
- Backup storage costs
- Connection limits and their upgrade triggers
What this methodology does not cover
These estimates do not include:
- Egress and data transfer fees
- Cold-start latency or connection pool limits
- Regional pricing differences
- Vendor lock-in or migration costs
- Integrated services (search, auth, real-time subscriptions) unless bundled
- Discounts, reserved capacity, and enterprise pricing are excluded
- Managed services that also provide compute (e.g. Railway, Fly.io Postgres) are not included as pure DBaaS
Why these numbers can differ from your bill
Database pricing depends strongly on workload patterns. Real databases vary in:
- Read/write ratio (writes are typically more expensive)
- Index sizes and storage amplification
- Connection pool utilization
- Backup retention policies
- Replication factor and multi-region setup
This methodology removes that variability so costs stay comparable across providers. Always validate against your actual usage patterns.
For the computed pricing table, see Reference → Serverless Database Price Comparison.
Source data
All pricing data is sourced from official provider pricing pages and fetched using Lightpanda (headless Chromium) and web_fetch. If a provider updates its pricing, the reference table is updated accordingly.
| Provider | Source URL | Key Findings (validated 2026-06-18) |
|---|---|---|
| Supabase | https://supabase.com/pricing | 500 MB free; Pro $25/mo (8 GB base + Micro 1 GB compute, includes $10 compute credit). Compute billed separately per project. Storage overage $0.125/GB. |
| Neon | https://neon.com/pricing | 0.5 GB + 100 CU-hours free. Usage-based, no minimum: $0.106/CU-hr (Launch), $0.222 (Scale); storage $0.35/GB-mo. Scale-to-zero. Acquired by Databricks (2025); domain moved to neon.com. |
| PlanetScale | https://planetscale.com/pricing | No free tier (removed April 2024). $5/mo single-node Postgres (PS-5); $15/mo 3-node HA; Vitess MySQL PS-10 $39. Storage $0.50/GB over 10 GB, egress $0.06/GB, backups $0.023/GB. Not scale-to-zero. |
| MongoDB Atlas | https://www.mongodb.com/pricing | M0 free (512 MB). Flex $8/mo base (5 GB, hard-capped $30) — replaced Serverless/M2/M5 (legacy EOL Jan 22, 2026). Dedicated M10 ~$58/mo, M30 ~$394/mo. Search/backups/transfer billed separately. |
| CockroachDB | https://www.cockroachlabs.com/pricing/ | Tiers renamed: Serverless→Basic, Dedicated→Standard/Advanced. Basic free 50M RUs + 10 GiB, then ~$0.20/M RUs + $0.50/GiB-mo, scale-to-zero. Standard provisioned ~$0.18/vCPU-hr. |
| Convex | https://convex.dev/pricing | Free: 0.5 GB DB, 1 GB files, 1M function calls. Professional $25/dev/mo (50 GB DB, 25M calls). Billed by GB-hour + function calls. |
| Upstash Redis | https://upstash.com/pricing | Free 256 MB + 500K commands. PAYG $0.20/100K commands + $0.25/GB. Fixed plans $10–$1,500/mo. Global replication bills each region. In-memory; Kafka discontinued March 2025. |
| Xata | https://xata.io/pricing | Pivoted 2024–25 to vanilla Postgres + copy-on-write branching; no free tier ($100 / 14-day credit). Compute by instance class from $0.012/hr, storage $0.28/GB-mo. Managed AWS us-east-1 / eu-central-1 only; rest BYOC. |
| TiDB Starter | https://www.pingcap.com/pricing/ | “Serverless” renamed “Starter” (Aug 2025). Free 5 GiB + 50M RUs per instance (5 instances/org). $0.10/M RUs + $0.20/GiB-mo. AWS-only; Essential tier carries a 2,000-RCU minimum (~$400/mo). |
| Fauna | — | Hosted service shut down May 30, 2025 (announced March 21, 2025); accounts deleted. Core engine + FQL open-sourced as a self-run codebase. No managed product — excluded from the tier tables. |