Guides · 2026-09-26
Managed Postgres pricing 2026: real bills at 3 sizes
On a small app the database is often the largest line on the bill — bigger than the web server. And unlike compute, managed Postgres pricing comes in wildly different shapes: fixed plans with storage bundled (Heroku, DigitalOcean), instance plus per-GB storage (Render, Fly.io), a platform fee with compute credits (Supabase), or pure metering by the second or CU-hour (Railway, Neon). Headline prices are not comparable, so we priced the same database on all seven providers at three sizes, line by line, from list prices verified on 2026-09-26.
The same database at three sizes
Monthly USD, single region, excluding tax. Hover a price to see its lines, or read the breakdown further down. Green marks the cheapest at each size.
| Provider | Side project~0.4GB data, idle most of the day | Small production10GB data, ~1GB RAM, always on | Growing app50GB data, 4GB RAM, always on |
|---|---|---|---|
| Heroku Postgres | $5.00Essential-0 | $9.00Essential-1Shared resources, 20 connections, no rollback | $50.00Standard-0120 connections, 4-day rollback |
| Render | $6.30256MBThe free database expires after 30 days and has no backups | $22.001GB | $70.001 CPU / 4GB |
| Railway | $5.00Hobby$5 minimum covers this and your app services; volumes capped at 5GB | $20.00ProHobby can’t hold 10GB; Pro’s $20 minimum also covers your other services | $57.80ProUsage estimate at stated averages |
| Fly.io MPG | $38.28Basic | $40.80Basic | $86.00StarterOnly 2GB RAM — the next plan (Launch, 8GB) is $282 |
| Supabase | $0.00FreePaused after 1 week of inactivity; 2 active projects | $25.25Pro + Micro | $80.25Pro + MediumShared CPU; dedicated CPU starts at Large (8GB, $110) |
| Neon | $0.00FreeWrites blocked past 0.5GB; scales to zero after 5 min | $22.84LaunchAlways on; scale-to-zero cuts compute for part-time traffic | $94.88LaunchAlways on at 1 CU (≈4GB RAM) |
| DigitalOcean | $15.151GB / 10GiB | $15.151GB / 10GiBDisk full at 10GiB — next step +$0.215/GiB | $60.904GB / 60GiB |
What the table says
- Side projects: use a free tier, but know its catch. Neon Free scales to zero and blocks writes past 0.5GB; Supabase Free pauses a project after a week without activity; Render’s free database is deleted after 30 days. For something that must simply stay up, Heroku Essential-0 ($5) or Railway inside the Hobby $5 minimum are the cheapest paid options.
- Small production: Heroku is still the price leader. Essential-1 at $9 for 10GB is hard to beat, even with Heroku in sustaining-engineering mode (see our Heroku exit guide). It runs on shared resources with a 20-connection cap and no rollback, so the fairer comparison for a real business is DigitalOcean ($15.15, dedicated 1GB node, PITR) or Render ($22). Railway, Neon and Supabase land in a tight $20–26 band.
- At 4GB RAM, Heroku Standard-0 wins again at $50 — 64GB of storage and 4-day rollback included. Railway (~$58) and DigitalOcean ($60.90) follow; Render ($70), Supabase ($80.25) and always-on Neon (~$95) cost more for the same RAM.
- Fly.io looks expensive because it sells something else. Every Fly Managed Postgres plan includes high availability. If you need a standby anyway, compare Fly’s $38 with Heroku Premium-0 ($200) or two DigitalOcean nodes, and it suddenly looks cheap. If you don’t, you are paying for a replica you won’t use. (Fly’s app machines got dearer on 1 October 2026 — what the memory price rise adds.)
Line-by-line breakdown
Heroku Postgres
Side project · Essential-0$5.00
- Essential-0 (1GB)$5.00
Small production · Essential-1$9.00
- Essential-1 (10GB)$9.00
Growing app · Standard-0$50.00
- Standard-0 (4GB RAM, 64GB)$50.00
HA: From Premium-0, $200 · Recovery: Rollback from Standard (4 days)
Render
Side project · 256MB$6.30
- 0.1 CPU / 256MB$6.00
- 1GB × $0.30$0.30
Small production · 1GB$22.00
- 0.5 CPU / 1GB$19.00
- 10GB × $0.30$3.00
Growing app · 1 CPU / 4GB$70.00
- 1 CPU / 4GB$55.00
- 50GB × $0.30$15.00
HA: Available (extra cost) · Recovery: PITR 3 days (Hobby), 7 days (Pro workspace)
Railway
Side project · Hobby$5.00
- 0.25GB RAM (avg)$2.50
- 0.02 vCPU (avg)$0.40
- 1GB volume$0.16
- Raised to plan minimum$5.00
Small production · Pro$20.00
- 1GB RAM (avg)$10.01
- 0.1 vCPU (avg)$2.00
- 10GB volume$1.56
- Raised to plan minimum$20.00
Growing app · Pro$57.80
- 4GB RAM (avg)$40.02
- 0.5 vCPU (avg)$10.01
- 50GB volume$7.78
HA: Not packaged — self-run replicas · Recovery: Volume backups (plan-dependent)
Fly.io MPG
Side project · Basic$38.28
- Basic (shared-2x, 1GB)$38.00
- 1GB × $0.28$0.28
Small production · Basic$40.80
- Basic (shared-2x, 1GB)$38.00
- 10GB × $0.28$2.80
Growing app · Starter$86.00
- Starter (shared-2x, 2GB)$72.00
- 50GB × $0.28$14.00
HA: Included on every plan · Recovery: Automatic backups included
Supabase
Side project · Free$0.00
- Free (500MB DB)$0.00
Small production · Pro + Micro$25.25
- Pro plan (incl. $10 compute credit)$25.00
- Micro 1GB (covered by credit)$0.00
- 2GB over 8GB × $0.125$0.25
Growing app · Pro + Medium$80.25
- Pro plan$25.00
- Medium 4GB ($60 − $10 credit)$50.00
- 42GB over 8GB × $0.125$5.25
HA: Not on Pro (read replicas extra) · Recovery: 7-day backups; PITR +$100/mo
Neon
Side project · Free$0.00
- Free (0.5GB, 100 CU-hours)$0.00
Small production · Launch$22.84
- 0.25 CU × 730h active$19.34
- 10GB storage$3.50
Growing app · Launch$94.88
- 1 CU × 730h active$77.38
- 50GB storage$17.50
HA: Not packaged · Recovery: Restore history 7 days (Launch)
DigitalOcean
Side project · 1GB / 10GiB$15.15
- 1GB / 1 vCPU, 10GiB disk$15.15
Small production · 1GB / 10GiB$15.15
- 1GB / 1 vCPU, 10GiB disk$15.15
Growing app · 4GB / 60GiB$60.90
- 4GB / 2 vCPU, 60GiB disk$60.90
HA: Matching standby node, billed as a second node · Recovery: Daily backups + PITR (7 days)
Metered vs fixed: the idle-time question
Neon and Railway are the only two where the bill moves with actual load. Neon’s Launch plan charges $0.106 per CU-hour, and 1 CU is roughly 4GB of RAM. A 0.25 CU database that is busy 8 hours a day uses 60 CU-hours, about $6.36 of compute; the same database kept warm around the clock is $19.34. That makes Neon the cheapest serious option for internal tools, staging and B2B apps with office-hours traffic — and one of the pricier ones for a busy always-on database. Cold starts after scale-to-zero are the trade-off; the Scale plan lets you set the idle timeout or keep compute always on (at $0.222 per CU-hour).
Railway meters RAM and CPU by the second, so a Postgres that holds 4GB of shared buffers pays for 4GB all month. Its bigger gotcha is plan limits: Hobby volumes stop at 5GB, so any database heading past that belongs on Pro, whose $20 minimum is shared with your app services on the same account.
The do-it-yourself floor
Postgres on your own VPS is the cheapest per gigabyte of RAM by a wide margin. Cheapest plans with at least 4GB RAM in our data set as of 2026-10-05:
| Provider | Plan | RAM | $/month |
|---|---|---|---|
| OVHcloud VPS | VPS-1 | 4GB | $4.54 |
| Hostinger VPS | KVM 1 | 4GB | $6.49 |
| Hetzner Cloud | CX23 | 4GB | $7.09 |
| Hetzner Cloud | CAX11 (Arm) | 4GB | $7.59 |
The server is the smallest part of the cost. Off-site backups you have actually restored, WAL archiving for point-in-time recovery, major-version upgrades and monitoring are all on you. A managed database at $15–60 a month is mostly an insurance policy against the night your disk fills up. If you already run your app on a VPS (see Hetzner’s 2026 prices and netcup’s G12.5 increase), putting Postgres next to it is reasonable for side projects — less so for anything with paying customers.
How to choose
- Your app already lives on a PaaS: use its database first — private networking and one bill beat a few dollars of savings. Compare the platforms themselves in Render vs Heroku or Railway vs Render.
- Serverless front-end (Vercel, Netlify, Cloudflare): Neon or Supabase, both with HTTP/pooled connections that suit short-lived functions. See Is Vercel worth it? for the compute side and how Vercel’s Flat Rate CDN tiers work for the CDN side.
- Predictable bill, real dedicated node: DigitalOcean or Render.
- You need a hot standby from day one: Fly.io MPG is the cheapest way to get HA in this list.
- You also want auth, storage and realtime: Supabase’s $25 covers a lot more than the database; judge it as a backend, not only as Postgres.
Price the rest of the stack
The database is half the bill. For the cache and job queue: managed Redis pricing. Considering Koyeb, whose serverless Postgres is billed by the hour? See Koyeb pricing after Mistral. For the app servers: Django on Render, Rails on Heroku, Next.js on Railway, Heroku alternatives, or the full hosting cost calculator.
Methodology: database prices were read from each provider’s official pricing page or docs on 2026-09-26. Usage-billed rows (Railway, Neon) are estimates at the averages shown in each line, over a 30-day month (Railway, per-second rates) or 730 hours (Neon). Storage is the data size stated per column; DigitalOcean plans include their minimum disk in the base price. Database egress is left out because it usually stays on private networking; Neon includes 500GB and Supabase Pro 250GB of egress. VPS rows come from our live data set (2026-10-05). No database provider in this article pays us; DigitalOcean and some VPS providers have affiliate links (disclosed in the footer), which never change the ordering or the numbers.
FAQ
What is the cheapest managed Postgres for a small production app in 2026?
For about 10GB of data on roughly 1GB of RAM, Heroku Essential-1 is the cheapest list price at $9/month, followed by DigitalOcean’s 1GB plan at $15.15 (10 GiB disk included). Essential plans run on shared resources with no rollback and a 20-connection limit, so compare features, not just price.
Is Neon or Supabase cheaper?
It depends on how often the database is busy. Neon bills compute per CU-hour ($0.106 on Launch) and scales to zero, so a database that idles most of the day costs a few dollars. An always-on 1GB Neon database is about $19 of compute plus storage. With 10GB stored that is about $23 a month. Supabase Pro is a flat $25 that includes a 1GB Micro instance and 8GB of disk ($25.25 at 10GB) — close to always-on Neon, far more than an idle one, but it also bundles auth, file storage and realtime.
Can I run a 10GB Postgres database on Railway’s Hobby plan?
No. Railway caps volumes at 5GB on Hobby; only Pro (a $20 monthly minimum that includes $20 of usage) can grow volumes, up to 1TB.
Which managed Postgres providers include high availability in the base price?
Of the seven compared, only Fly.io Managed Postgres includes high availability on every plan, which is why its entry price ($38/month) looks high. On Heroku, HA starts with Premium-0 at $200/month; DigitalOcean HA needs a matching standby node billed as a second node.