Self-hosting Supabase cost
Backend as a Service
Supabase is an open-source Firebase alternative built around PostgreSQL, bundling authentication, instant APIs, realtime subscriptions, and object storage. Self-hosting cost is dominated by the database tier and by Storage/Realtime egress as usage grows.
The tables below show the recommended minimum specification for Supabase at each user scale, and the cheapest matching plan on each of our tracked providers. Prices are approximate monthly list prices in USD.
Up to 100 users
Recommended minimum: 2 vCPU · 4 GB RAM
For up to 100 users, co-locate Postgres with GoTrue and Realtime, enable PgBouncer early, and set RLS policies up front. Bandwidth analysis: front Storage with a CDN so file delivery is billed at CDN rates and origin transfer stays minimal.
Up to 500 users
Recommended minimum: 4 vCPU · 8 GB RAM
At 500 users, tune shared_buffers, run PgBouncer in transaction mode, and index RLS-policy columns. Bandwidth analysis: edge-cache anonymous PostgREST reads to spare the connection budget and reduce egress.
Up to 1,000 users
Recommended minimum: 8 vCPU · 16 GB RAM
For 1000 users, give PostgreSQL a dedicated host, add a read replica, and scale Realtime and Storage separately. Bandwidth analysis: keep replication on a private network to avoid cross-region fees and CDN the Storage bucket.
Up to 5,000 users (Enterprise)
Recommended minimum: 16 vCPU · 64 GB RAM
Enterprise: a dedicated PostgreSQL primary with read replicas, PgBouncer in transaction mode, and GoTrue, Realtime, Storage, and PostgREST each on their own nodes. Bandwidth analysis: isolate the database network, put Storage behind a CDN, and compare provider egress overages when sizing the budget.
| Provider | Plan | Specs | Monthly | Deploy |
|---|---|---|---|---|
| DigitalOcean | No single-node plan fits — a multi-node / HA setup is recommended at this scale. | |||
| Hetzner | No single-node plan fits — a multi-node / HA setup is recommended at this scale. | |||
| Linode | No single-node plan fits — a multi-node / HA setup is recommended at this scale. | |||
Prices are approximate list prices and may change at any time; verify on the provider's official site before purchasing. Specs are conservative single-node starting points. Deploy links may contain referral codes. Try the interactive calculator.