Free PostgreSQL hosting in 2026: every free tier compared
The best free PostgreSQL hosting in 2026 is Neon (1 GB per project, never paused for inactivity, no card), Prisma Postgres (2 GB within 200,000 operations a month) and Nile (1 GB, never pauses); Supabase adds auth and storage but pauses after a week idle. Render's free database is deleted 30 days after creation plus 14 days' grace, and most free tiers have no backups. On Livops one 500 MB database per team is free and backed up nightly, but it starts only once the account has credits and only apps on Livops can reach it.
By Livops team, the people who build and run LivopsUpdated
For most projects the best free PostgreSQL is Neon, with 1 GB per project, no card and no pause for inactivity[1]; take Prisma Postgres for 2 GB within 200,000 operations a month[16], Nile for a database that never pauses[23], or Supabase if you also want auth and file storage and can live with a pause after a week idle[3]. Avoid Render’s free database for anything you keep, because it is deleted 30 days after creation plus 14 days’ grace[6]; below are eleven free tiers with exact limits read from each provider’s own page on 5 December 2026, the gotchas, and how the free database on Livops works, including its catch.
What should a free database give you?
Storage that does not stop writes too early
A free tier caps storage, and at the cap the database stops accepting writes or the project is paused. Check the cap against your data a year from now, not today.
Compute that is there when a query arrives
Many free tiers save money by stopping the database when nobody uses it. The next query then waits for it to start: a few hundred milliseconds on some, a full wake-up on others. A database that pauses for a week has to be woken up by you.
A connection limit your app stays under
Each PostgreSQL connection is a server process, and free tiers allow few. An app whose processes each open a pool of ten reaches 20 connections quickly; a pooler, where one is included, lets many clients share fewer connections.
Backups, or at least a way to get your data out
Most free tiers here have none. Without them, a bad migration or a deleted table is permanent, so take your own pg_dump on a schedule.
A date it will not disappear on
Some free databases expire. Know the date before you put anything on it that you want next month.
The options at a glance
| Option | Storage | Compute | Connections | Sleeps, pauses or expires |
|---|---|---|---|---|
| Neon | 1 GB per project, 20 GB in total, 100 projects[1] | 100 CU-hours a month per project, up to 2 CU (8 GB RAM)[1] | Pooler included, up to 10,000 pooled per compute[1] | Compute suspends after 5 minutes idle and restarts on the next query; never paused for inactivity[1] |
| Supabase | 500 MB per project, 2 active projects[3] | Shared CPU, up to 0.5 GB RAM[4] | 60 direct, 200 through the pooler[4] | Paused after 1 week of inactivity[3] |
| Prisma Postgres | 2 GB, up to 50 databases[16] | 200,000 operations a month[16] | 500 pooled, 45 direct per database[16] | No usage billing; out of operations, queries stop until next month, after a one-time 24-hour grace[16] |
| Nile | 1 GB[23] | 50 million query tokens[23] | 500[23] | Never pauses, no cold start[23] |
| Aiven | 1 GB[14] | 1 CPU, 1 GB RAM[14] | 20; no pooling[14] | May be powered off if unused, after a notice[14] |
| Koyeb | 1 GB[22] | 5 hours a month, 0.25 vCPU, 1 GB RAM[22] | 112[22] | Sleeps after 5 minutes idle, wakes on the next query[22] |
| Render | 1 GB[6] | 256 MB RAM[7] | 100[7]; no managed pooling[6] | Expires 30 days after creation, 14 days’ grace, then deleted[6] |
| Railway Free | Volume up to 0.5 GB[11] | Up to 1 vCPU and 0.5 GB RAM per service, within $5 of usage a month[10] | Not stated | Sleeps when idle, wakes on the next connection[10]; stops when the $5 runs out[10] |
| CockroachDB Basic (PostgreSQL-compatible) | 10 GiB a month[24] | 50 million Request Units a month[24] | Not stated | At the RU limit the cluster is disabled until the next cycle[24]; may be deleted after 6 months without activity[25] |
| Fly.io Managed Postgres | 1 GB to start, up to 5 GB included[19] | Shared-1x, 256 MB[19] | Up to 20[18]; no pooling on this plan[19] | Pauses after 15 minutes without client connections; a $4 plan paid from the Free plan’s $5 a month once a card is added[18] |
| Livops | 500 MB, one per team | 128 MiB of memory | 20; no pooler yet | Free every month; starts once the account has credits |
| Option | Regions | Card required | Backups on the free tier |
|---|---|---|---|
| Neon | 8 AWS regions in the US, Europe, Asia-Pacific and South America[2] | No[1] | 6-hour history window, 1 GB limit, 1 manual snapshot[1] |
| Supabase | AWS, from North America and Europe to Mumbai, Tokyo and São Paulo[5] | Not stated on the pricing page[3] | No automatic backups[3] |
| Prisma Postgres | Not stated on the pricing page | No; the spend limit is fixed at $0[16] | Not available[16] |
| Nile | One region per database[23] | Not stated on the pricing page | Not included[23] |
| Aiven | You cannot pick a cloud or region[15] | No[14] | Included; a single backup for disaster recovery[15] |
| Koyeb | Frankfurt, Washington, D.C., Singapore[22] | Not stated | Not stated |
| Render | Oregon, Ohio, Virginia, Frankfurt, Singapore[8] | Not stated | None[6] |
| Railway Free | Chosen by Railway on Free[10]; California, Virginia, Amsterdam, Singapore[13] | No[9] | Not stated for the Free plan |
| CockroachDB Basic (PostgreSQL-compatible) | You pick a primary region[24] | The allowance is for organizations paying by card or marketplace[24] | Not stated on the Basic plan page |
| Fly.io Managed Postgres | 13 regions, including Amsterdam, Frankfurt, London, Tokyo and Singapore[20] | Yes, for the $5 a month that covers it[18] | Included, with high availability[19] |
| Livops | Uzbekistan | No; credits are bought through Payme or Click | Every night, kept 7 daily, 4 weekly, 3 monthly |
Other providers’ limits are from each provider’s own page, read on 5 December 2026; the dates are in Sources below. “Not stated” means we did not find it on the provider’s pages, not that the limit does not exist.
Each option
Neon
The most generous always-free tier here, and permanent: Neon says the Free plan is not a trial and needs no card[1]. Each of up to 100 projects gets 1 GB of storage (20 GB across all of them), 100 CU-hours of compute a month, autoscaling up to 2 CU with 8 GB of RAM, 5 GB of egress, and 10 branches[1]. Compute suspends after 5 minutes without activity — this cannot be turned off on Free — and restarts on the next query[1]. Pooled connections are included on every plan, up to 10,000 per compute[1].
The limits are hard but not destructive. Using up the CU-hours or the egress suspends compute until the next billing period; going over 1 GB in a project blocks writes; none of it deletes data, and Neon does not pause free projects for inactivity[1]. For scale: one CU running without a break for a 30-day month is 720 CU-hours, so the 100 included last as long as the database is idle most of the time. Restores reach back 6 hours, limited to 1 GB of changes[1]. Its regions are eight AWS regions, from Virginia and Frankfurt to Singapore and São Paulo[2].
Supabase
A 500 MB database per project, two active projects, shared CPU and up to 0.5 GB of RAM[3][4], with 60 direct connections and 200 through its pooler[4], and Supabase’s authentication, file storage (1 GB) and APIs around it[3]. Two things to plan for: free projects are paused after 1 week of inactivity, and automatic backups are not included[3]. Supabase has the most regions on this page, all on AWS, including Mumbai, Tokyo and Seoul[5]. If you want auth and storage from the same vendor as the database, nothing else here does as much for free.
Prisma Postgres
Free with no card and no time limit: up to 50 databases, 2 GB of storage and 200,000 operations a month, where an operation is one create, read, update or delete[16]. Connections are 500 pooled and 45 direct per database, in transaction pool mode[16]. Free has no usage billing, so nothing is ever charged, but backups are not available on it[16]. When the operations run out, its databases stop accepting queries until the next month or an upgrade, after a one-time 24-hour grace period, and no data is deleted[16]. It suits an app built on Prisma ORM with modest traffic.
Nile
Nile is PostgreSQL built for multi-tenant apps. Its free plan has unlimited databases, 1 GB of storage, 50 million query tokens and 500 connections, and Nile says the database never pauses and has no cold start[23]. Database and tenant backups are not included, and a database is placed in one region[23]. It is the free option here for an app that must answer at any hour without waking a database; take your own pg_dump, since nothing else will.
Aiven
One free service of each type per organization: PostgreSQL with 1 CPU, 1 GB of RAM, 1 GB of storage and max_connections set to 20, with no connection pooling and no support, outside the SLA[14]. No card is needed and there is no time limit[14]. Aiven may power off a free service that is not used — including one with no usage in its first few hours — with a notification first, and you can power it back on[14]. It also may change the cloud, region or configuration at any time[14], and you cannot pick the cloud or region yourself[15]. Unlike Supabase, Render, Nile and Prisma Postgres on their free tiers, it includes a backup[14][15]. The next step up, Developer, is $5 a month with 8 GB of storage[15].
Koyeb
Koyeb’s Serverless Postgres has a free tier of 5 hours of compute a month with 0.25 vCPU, 1 GB of RAM and up to 1 GB of data[21][22]. Compute sleeps after 5 minutes of inactivity and wakes on the next query with a short delay, and the connection limit is 112[22]. Its regions are Frankfurt, Washington, D.C. and Singapore[22]. Five hours a month is enough for a database you open now and then, not for an app that queries it all day.
Render
One free Postgres per workspace, 1 GB, 256 MB of RAM and up to 100 connections[6][7]. It is the only free database here with a fixed end: it expires 30 days after creation, you then have 14 days to upgrade, and after that Render deletes it and its data[6]. It has no backups of any kind and no managed connection pooling, and it may be restarted at any time[6]. Right for trying Render or for a database you will throw away within the month; not for anything you keep.
Railway
The Free plan gives $5 of usage a month with no card, one project with up to three services, each with up to 1 vCPU and 0.5 GB of RAM, and a 0.5 GB volume[9][10][11]. Postgres runs as a single-node database with a 0.5 GB volume; it sleeps when idle, wakes on the next connection and keeps its data[10]. Other services on Free sleep 5 to 10 minutes after their last outbound traffic, and the first request to a sleeping service may be slow or answered with a 502[12]. Usage is billed at about $10 per GB of memory a month and $0.15 per GB of volume[11], so the $5 pays for roughly 500 MB of memory held for a whole month, before CPU[10]. When it runs out, services stop until the next billing cycle[10]. On Free, Railway picks the region for services without a volume[10]; its regions are California, Virginia, Amsterdam and Singapore[13].
CockroachDB
CockroachDB is not PostgreSQL but speaks its wire protocol and most of its syntax; some PostgreSQL features, such as range types, are not supported or behave differently[26]. Its Basic plan gives each pay-as-you-go organization $15 of resources a month for free, equal to 50 million Request Units and 10 GiB of storage, shared across its Basic clusters[24]. At the storage limit the cluster stops accepting writes, and at the Request Unit limit it is disabled until the next cycle or a higher limit[24]. A free Basic cluster with no activity for 6 months may be deleted, and cannot be restored[25]. The most storage of any free tier here, if your app and its ORM work on it.
Fly.io
Fly.io has no separate free database, but its Free plan covers one. Every new account gets $1 of credit with no card, and $5 of usage a month once a card is added, which covers Machines, volumes, data transfer and the $4 Managed Postgres Developer plan[18]. Developer is a two-node cluster with up to 20 connections that pauses after 15 minutes with no client connections[18]: a shared-1x CPU with 256 MB of memory, its storage included in the price, starting at 1 GB and up to 5 GB, without connection pooling; all plans include high availability and backups[19]. Managed Postgres runs in 13 regions, Frankfurt, Amsterdam, London, Tokyo and Singapore among them[20]. With a card on file, it is a free option with backups and high availability included.
Xata
Xata has no free hosted tier. Xata Cloud offers a free trial with no card, and the open-source distribution is free to self-host on infrastructure you pay for; Cloud starts at $0.012 an hour (listed as $9 a month for the micro instance) plus $0.28 per GB of storage[17].
Livops
One 500 MB database per team is free, with 128 MiB of memory: PostgreSQL 15, 16 or 17, backed up every night like the paid sizes, on servers in Uzbekistan. Two conditions decide whether it fits you.
- It starts once the account has credits. Databases are not part of the 15-minute demonstration an unpaid account gets; they run once credits have been bought.
- Only your Livops project can reach it. It has no public port: services in the project use the internal host
postgres, and your computer connects through an SSH tunnel. An app hosted anywhere else cannot use it.
So in practice it is free alongside a paid bot or app on Livops, not a free database on its own. Where it is worse than the others: Neon, Prisma Postgres, Nile, Aiven, Koyeb and Render all give more storage and memory and can be reached from any host; it accepts 20 connections with no built-in pooler yet; and there is no point-in-time recovery, only nightly and hand-taken backups.
How to pick a free PostgreSQL
- For most apps: Neon, which never pauses a free project and keeps a 6-hour restore window[1].
- For an app that must answer at any hour: Nile, which never pauses[23].
- For the most room: Prisma Postgres with 2 GB[16], or CockroachDB with 10 GiB if PostgreSQL compatibility is enough[24].
- For auth and file storage too: Supabase[3].
- For a backup on the free tier: Aiven[15], or Fly.io with a card on file[19].
- For an app already on Livops: the free 500 MB database in the same project.
Then check these gotchas before you rely on it:
- Cold starts. Neon’s compute restarts on the next query[1], and Koyeb’s wakes with a short delay[22]. A Railway service that has slept may answer its first request slowly or with a 502[12]. Fine for a dashboard you open twice a day; noticeable for an API.
- Pausing. A Supabase project with no activity for a week is paused[3], and Aiven may power off a free service that is not used[14]. The database is still there, but your app is down until it is started again.
- Expiry. A free Render Postgres is deleted 30 days after creation plus 14 days’ grace[6], and an idle CockroachDB Basic cluster may be deleted after 6 months[25]. Put a reminder in your calendar the day you create it.
- No backups. Supabase’s free plan, a free Render Postgres, Prisma Postgres Free and Nile’s free plan have none[3][6][16][23]. On those, schedule your own
pg_dumpto somewhere else. - Connection limits. Aiven allows 20 connections with no pooling[14], Fly.io’s Developer plan up to 20[18]; Neon and Supabase include a pooler[1][4]. Keep each process’s pool small.
- Hard limits. Neon blocks writes over 1 GB a project[1]; Railway stops services when the $5 is gone[10]; Prisma Postgres stops queries when the operations run out[16]. A limit is the day the app stops working, so watch usage before you reach it.
- Region. None of the regions these providers list is in Central Asia. For an app in Tashkent each query crosses that distance; put the app in the same region as the database, wherever that is.
When should you pay for a database?
Pay when one of these becomes true:
- The data matters. Real users, orders, payments: you need backups you have restored at least once, which most free tiers do not take.
- The app must answer at any hour. A database that pauses after a week or sleeps after minutes is a database somebody has to wake.
- You are near a limit. Storage at 80% of the cap, connections refused, CU-hours gone before the month ends.
- You need it next month. A database that expires is a migration you have scheduled whether you meant to or not.
The smallest paid step is usually small: Aiven Developer is $5 a month[15], Fly.io Managed Postgres Developer $4[19], and on Livops 1 GB is 9 credits a month. For paid managed databases compared on backups, point-in-time recovery and price, see Managed PostgreSQL hosting.
Free PostgreSQL on Livops
- Create a project with your bot or app, and buy credits under Billing → Buy credits, through Payme or Click; no card is asked for. Databases start once the account has credits.
- In the project, add PostgreSQL under Databases. Pick the version (15, 16 or 17) and the type (Standard, with pgvector, or with PostGIS); neither can be changed later. Pick 500 MB: free, one per team.
DATABASE_URLand thePG*andPOSTGRES_*variables are written to every service in the environment, including ones you add later. Your code reads the variable:
import pg from 'pg'
const pool = new pg.Pool({ connectionString: process.env.DATABASE_URL, max: 5 })
- To browse tables, open the database page in the cabinet. For DBeaver, TablePlus or
psql, add an SSH key under Account → SSH keys and open Connect from your computer.
What the free size includes:
- 500 MB and 128 MiB of memory, one per team. When you outgrow it, increase the size: 1 GB is 9 credits a month, 3 GB 19, 5 GB 29, 10 GB 59 and 15 GB 79.
- 20 connections at once. Keep pools small, for example
?connection_limit=5inDATABASE_URLwith Prisma 6. A built-in pooler is not offered yet. - Backups every night to a separate location, kept as 7 daily, 4 weekly and 3 monthly, each downloadable as a
pg_dumpfile. A restore opens as a new database next to the original. - Extensions from a fixed list, such as
pg_trgm,pgcryptoanduuid-ossp, switched on under Settings → Extensions.
A bot is 19 credits a month and an app 39; static sites are free. See Databases and Pricing.
Questions
Which free PostgreSQL does not expire or pause?
Neon and Nile never pause a free database for inactivity, and neither has an end date; Neon's compute sleeps after 5 idle minutes and wakes on the next query, and Nile says its database never pauses. Prisma Postgres and Aiven have no time limit either, though Aiven may power off an unused service. Supabase pauses a free project after a week without activity, CockroachDB may delete a free Basic cluster after 6 months without activity, and Render deletes a free database 30 days after creation plus 14 days' grace.
Which free PostgreSQL has the most storage?
CockroachDB Basic, which is PostgreSQL-compatible rather than PostgreSQL, includes 10 GiB a month for organizations paying by card or marketplace. Among PostgreSQL itself, Prisma Postgres gives 2 GB across up to 50 databases, and Neon 1 GB per project and 20 GB in total over up to 100 projects. Render, Aiven, Nile and Koyeb give 1 GB, Supabase 500 MB per project, and Railway's Free plan 0.5 GB. Livops gives one 500 MB database per team.
Do free PostgreSQL tiers include backups?
Mostly not. Supabase's free plan, a free Render Postgres, Prisma Postgres Free and Nile's free plan have no backups. Neon keeps a 6-hour history window, limited to 1 GB of changes. Aiven includes a single backup for disaster recovery. Fly.io's Managed Postgres, which its Free plan covers once a card is added, includes backups. On Livops the free database is backed up every night like the paid ones.
Do I need a credit card for free PostgreSQL?
Not for Neon, Railway's Free plan, Aiven or Prisma Postgres, which all say no card is required. Fly.io gives 1 dollar of credit without a card and 5 dollars of usage a month once a card is added, which covers its 4-dollar Managed Postgres. CockroachDB's free monthly allowance is for organizations paying by card or marketplace. Livops never asks for a card, but its free database starts only once the account has credits, bought through Payme or Click.
Can I use the free Livops database from an app hosted somewhere else?
No. A Livops database has no public port. Services in the same project reach it at the internal host postgres, and your own computer reaches it through an SSH tunnel for a client such as DBeaver or psql. An app on Vercel, Render or a VPS cannot connect to it; for that, choose a database with a public address, such as Neon or Supabase.
Is free PostgreSQL good enough for production?
For a side project or a demo, often yes. For data you cannot lose, look at three things before you rely on it: whether it is backed up, whether it pauses or expires, and what happens at the limit. A free tier with no backups is a database whose only copy is the one you are writing to.
Who wrote this comparison?
The Livops team. Every limit of another provider on this page links to that provider's own page, with the day we read it, and the sections say where those providers are better than us.
Sources
- Neon — Pricing (neon.com). Checked .
- Neon — Regions (neon.com). Checked .
- Supabase — Pricing (supabase.com). Checked .
- Supabase — Compute and disk (supabase.com). Checked .
- Supabase — Available regions (supabase.com). Checked .
- Render — Deploy for free (render.com). Checked .
- Render — Pricing (render.com). Checked .
- Render — Regions (render.com). Checked .
- Railway — Pricing (railway.com). Checked .
- Railway — Free trial and Free plan (docs.railway.com). Checked .
- Railway — Pricing plans (docs.railway.com). Checked .
- Railway — Serverless (app sleeping) (docs.railway.com). Checked .
- Railway — Deployment regions (docs.railway.com). Checked .
- Aiven — Aiven for PostgreSQL free tier (aiven.io). Checked .
- Aiven — Pricing (aiven.io). Checked .
- Prisma — Pricing (prisma.io). Checked .
- Xata — Pricing (xata.io). Checked .
- Fly.io — Pricing (docs.fly.io). Checked .
- Fly.io — Managed Postgres (docs.fly.io). Checked .
- Fly.io — Regions (docs.fly.io). Checked .
- Koyeb — Pricing (koyeb.com). Checked .
- Koyeb — Databases (koyeb.com). Checked .
- Nile — Pricing (thenile.dev). Checked .
- CockroachDB — Plan a Basic cluster (docs.cockroachlabs.com). Checked .
- CockroachDB — Manage a Basic cluster (docs.cockroachlabs.com). Checked .
- CockroachDB — PostgreSQL compatibility (docs.cockroachlabs.com). Checked .
Put your project online today
Connect GitHub or drop a folder. No card is asked for.
Add a databaseRelated
- Managed PostgreSQL hosting in 2026: the options comparedA production PostgreSQL needs backups you can restore, a connection limit your app stays under, the app in the same region, and a supported version. On Livops a PostgreSQL 15, 16 or 17 database runs inside your project, its DATABASE_URL is written into your services, and it is backed up every night; 500 MB is free, one per team, and 1 GB is 9 credits a month. Here is how the paid plans of Neon, Supabase, Render, Railway and a VPS compare; free tiers have their own page.
- ECONNREFUSED / Connection refused: why the app cannot reach its database after deployNothing was listening at the address your app tried. When the address is 127.0.0.1 or localhost, the app never read the database's real address: DATABASE_URL is not set, is not read, or is read during a build that has no database. Attach the database, read DATABASE_URL (or REDIS_URL, MYSQL_URL) at runtime, run migrations before the start rather than in the build, and keep the connection pool under the server's limit.
- Prisma P1001: Can't reach database server at … — how to fix itPrisma tried the host and port in your connection URL and nothing answered there. After a deploy that is almost always a URL that says localhost, a database that is not attached to the project, or prisma migrate deploy running in a build that has no database. Read the host in the message first: it tells you which.
- Render alternatives in 2026Railway bills by usage and has a Free plan with no card; Fly.io has the lowest dollar price and 17 regions; Koyeb has a free web service that is never billed; DigitalOcean App Platform is a flat $5 a month; Heroku is the stable old choice; Coolify runs on a server you rent. Livops fits apps and bots whose users are in Uzbekistan: a fixed 19 credits a month for a background worker or bot and 39 for an app, paid through Payme or Click, with no card.
- Railway alternatives in 2026: where to move your appRender is the closest swap, with flat instance prices and a free web service to start on; Fly.io has the lowest dollar price and 17 regions; Koyeb bills by the second like Railway; DigitalOcean App Platform is a flat $5 a month; Heroku is the stable old choice; Coolify runs on a server you rent. Livops fits apps whose users are in Uzbekistan: a fixed 39 credits a month for an app or 19 for a bot, paid through Payme or Click, with no card.
- Free static site hosting in 2026: the free tiers comparedA static site — plain HTML, or a Vite, React or Astro build, or a Lovable export — is free on all five. The differences are the limits: Netlify pauses every site when 300 monthly credits run out, Vercel Hobby is for non-commercial use only, GitHub Pages is not for running a business, and Cloudflare Pages does not count static traffic. On Livops up to 30 sites are free, on your own domain, with no card asked for.
- sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres: how to fix itNoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres means your database URL starts with postgres://, a name SQLAlchemy 1.4 and later no longer accept. Use postgresql://, or name the driver: postgresql+psycopg2:// or postgresql+psycopg://. When a host hands you a postgres:// DATABASE_URL, rewrite the scheme in code before create_engine.