Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We make Prisma Compute and Prisma Postgres. The comparison table and the platfor

## Quick recommendation

A TypeScript service and its database from one GitHub repository in one project, from one provider, on one bill: Prisma Compute and Prisma Postgres. The Free plan has no usage billing; Starter is a $10 base, and Compute memory, CPU and bandwidth are metered on top. A WebSocket server or a Python or Go API: Render or Fly.io run the container you have next to a managed database, Railway runs it next to a Postgres template Railway maintains, and Fly.io runs the app's Machines in more than one region, with its Managed Postgres cluster in one region you choose. A Python or Go API on any of the three can also use Prisma Postgres for the database, or Neon or Supabase, since each accepts any Postgres client. Point-in-time recovery: Prisma Postgres has it on Pro (7 days) and on Business and Enterprise (30 days), up to 10 minutes ago, restoring into a new database; Railway (opt-in), Render (paid databases), Fly Managed Postgres and Supabase (paid add-on) have it too, and Neon has it on every plan, its free plan included.
A TypeScript service and its database from one GitHub repository in one project, from one provider, on one bill: Prisma Compute and Prisma Postgres. The Free plan has no usage billing; Starter is a $10 base, and Compute memory, CPU and bandwidth are metered on top. A WebSocket server or a Python or Go API: Render or Fly.io run the container you have next to a managed database, Railway runs it next to a Postgres template Railway maintains, and Fly.io runs the app's Machines in more than one region, with its Managed Postgres cluster in one region you choose. A Python or Go API on any of the three can also use Prisma Postgres for the database, or Neon or Supabase, since each accepts any Postgres client. [Point-in-time recovery](https://www.prisma.io/docs/postgres/database/point-in-time-recovery): Prisma Postgres has it on Pro (7 days) and on Business and Enterprise (30 days), up to 10 minutes ago, restoring into a new database; Railway (opt-in), Render (paid databases), Fly Managed Postgres and Supabase (paid add-on) have it too, and Neon has it on every plan, its free plan included.

| Your situation | Pick | Why |
| --- | --- | --- |
Expand All @@ -42,7 +42,7 @@ A TypeScript service and its database from one GitHub repository in one project,
| Holds WebSocket connections open | Fly.io, Neon Functions, Railway, Render, Sevalla | Prisma Compute does not run WebSocket servers today; support is planned for early 2027 |
| Python or Go API | Railway, Render, Fly.io for the app; Prisma Postgres for the database, or Neon or Supabase | Prisma Compute runs TypeScript apps built for Node.js, Bun or Next.js; those databases accept any Postgres client, and the three hosts also offer their own Postgres |
| More than one region | Fly.io | Fly.io runs the app's Machines in more than one region, with a Managed Postgres cluster in one region you choose; one region per Prisma Compute service, from six |
| Need point-in-time recovery | Prisma Postgres on Pro, Business or Enterprise; Neon on every plan; Railway (opt-in), Render (paid databases), Fly Managed Postgres, Supabase (paid add-on) | Prisma Postgres restores to any moment from the earliest retained backup up to 10 minutes ago, 7 days back on Pro and 30 on Business and Enterprise, into a new database; Starter keeps daily snapshots and Free has no backups, so on a free plan pick Neon |
| Need [point-in-time recovery](https://www.prisma.io/docs/postgres/database/point-in-time-recovery) | Prisma Postgres on Pro, Business or Enterprise; Neon on every plan; Railway (opt-in), Render (paid databases), Fly Managed Postgres, Supabase (paid add-on) | Prisma Postgres restores to any moment from the earliest retained backup up to 10 minutes ago, 7 days back on Pro and 30 on Business and Enterprise, into a new database; Starter keeps daily snapshots and Free has no backups, so on a free plan pick Neon |
| Frontend needs a global CDN above all | Vercel + Prisma Postgres, or another Marketplace database | Prisma Compute is not a CDN or edge platform |
| Lowest bill, and you run servers yourself | A VPS | Every managed option here charges for the management |

Expand All @@ -54,7 +54,7 @@ Rows in alphabetical order; we make Prisma Compute and Prisma Postgres.
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| **Fly.io** | In one organization: Managed Postgres runs in the organization's private network and is attached to an app | Per pull request via GitHub Actions; no database in the guide | Autostop; no CPU or RAM charge while stopped | Per organization | Included | Automated backups; point-in-time restore with `fly mpg restore --pitr-time` | pgvector; PostGIS if enabled at provisioning | $2.19 Machine + $38 Managed Postgres a month, plus $0.28 per GB of database storage ([Fly.io pricing](https://fly.io/pricing), as of October 2026) | `pg_dump` |
| **Neon** | Backend functions next to the database (Neon Functions, four AWS regions); UI on another host | Copy-on-write branch with the parent's data, for example one per Vercel preview deployment through the Neon-Managed Vercel integration | Scales to zero after 5 minutes; no base fee | Functions in the database's region; UI depends on its host | PgBouncer, `-pooler` string | Instant restore on every plan; history window up to 7 days on Launch and up to 30 days on Scale | pgvector, PostGIS, TimescaleDB (Apache-2 features) and more | Free $0; Launch $0.106 per CU-hour for the database; Functions billed separately on paid plans (on Launch: $0.10 active and $0.025 waiting per Capacity-Hour, $0.60 per million invocations); plus your UI host ([Neon pricing](https://neon.com/pricing) and [plans](https://neon.com/docs/introduction/plans), as of October 2026) | `pg_dump` |
| **Prisma Compute + Prisma Postgres** | Yes; for a database the Composer module declares, the deploy provisions it and hands the app its connection. TypeScript (Node.js, Bun or Next.js) on Bun, no WebSocket servers today (planned for early 2027) | Branching per pushed branch other than the default one, once deploy on push is set up: its own services and a new database for each one the module declares, migrations applied for a `postgres()` database, deleted with the branch unless pinned; production data not copied | App scales to zero; database per operation | One of six regions per service, including Frankfurt and Paris | PgBouncer included | Daily snapshots on paid plans, 7 or 30 days; PITR on Pro (7 days), Business and Enterprise (30 days), up to 10 minutes ago, into a new database | pgvector, pg_search, pg_trgm and other standard extensions; no PostGIS or TimescaleDB | Free: app and database, no usage billing. Starter $10 base, 5M requests and 1M operations included, memory, active vCPU and bandwidth metered ([Prisma pricing](https://www.prisma.io/pricing), as of September 2026) | `pg_dump`; the Composer module is a TypeScript file in your repo, not a runtime |
| **Prisma Compute + Prisma Postgres** | Yes; for a database the Composer module declares, the deploy provisions it and hands the app its connection. TypeScript (Node.js, Bun or Next.js) on Bun, no WebSocket servers today (planned for early 2027) | Branching per pushed branch other than the default one, once deploy on push is set up: its own services and a new database for each one the module declares, migrations applied for a `postgres()` database, deleted with the branch unless pinned; production data not copied | App scales to zero; database per operation | One of six regions per service, including Frankfurt and Paris | PgBouncer included | Daily snapshots on paid plans, 7 or 30 days; [PITR](https://www.prisma.io/docs/postgres/database/point-in-time-recovery) on Pro (7 days), Business and Enterprise (30 days), up to 10 minutes ago, into a new database | pgvector, pg_search, pg_trgm and other standard extensions; no PostGIS or TimescaleDB | Free: app and database, no usage billing. Starter $10 base, 5M requests and 1M operations included, memory, active vCPU and bandwidth metered ([Prisma pricing](https://www.prisma.io/pricing), as of September 2026) | `pg_dump`; the Composer module is a TypeScript file in your repo, not a runtime |
| **Railway** | Yes, a Postgres template Railway maintains; backups, PITR, HA and pooling opt-in | Per pull request, once turned on in project settings | Sleeps 5 to 10 minutes after last outbound traffic with Serverless enabled; otherwise runs all month | Per environment | PgBouncer add-on you enable on the Postgres service | Volume backups by hand or on a schedule you turn on; opt-in PITR for Postgres, about 4 weeks | None added to the default template; pgvector, PostGIS and TimescaleDB as separate templates | Free $0 with $1 of credit a month after a 30-day trial; Hobby $5 with $5 of usage, then $10 per GB RAM and $20 per vCPU a month ([Railway pricing](https://railway.com/pricing) and [plan reference](https://docs.railway.com/pricing/plans), as of October 2026) | `pg_dump` |
| **Render** | Yes, managed | Per pull request on a Pro workspace ($25 a month) or higher, once turned on in the Blueprint: for every pull request against the Blueprint's linked branch in automatic mode, or only when the pull request title includes `[render preview]` in manual mode; no data copied | Free spins down after 15 minutes; paid runs all month | Per region | PgBouncer on paid databases | PITR on paid databases, 3 or 7 days | pgvector, PostGIS, TimescaleDB (no Community features) and more | $7 web service + $6 Postgres a month ([Render pricing](https://render.com/pricing), as of September 2026) | `pg_dump` |
| **Sevalla** | Yes, managed; an internal connection in the same location can add `DB_URL` and the other connection details to the app's environment variables | Per pull request through a pipeline's preview apps, once turned on, or per branch by hand; no database in the preview settings | With hibernation turned on, scales the app to zero and wakes it on the next HTTP request; otherwise runs all month; the database bills while it runs | Internal connections within one location | None from Sevalla; its limits page says to use a connection pool in your application | On by default: a daily dump to a Sevalla bucket created with the database, kept 7 days; hourly, daily or weekly to up to 5 S3-compatible buckets; no PITR in the backups docs | pgvector and PostGIS, turned on at creation | $5 process (0.3 CPU, 0.3 GB; no custom domain on that size, $10 for 0.5 CPU, 1 GB) + $5 database (0.25 CPU, 0.25 GB, 1 GB storage; next size $34) a month; $20 of credit for new companies ([Sevalla pricing](https://docs.sevalla.com/billing/pricing), as of December 2026) | `pg_dump` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Pick by stack:
- Need a database right now → [`npx create-db@latest`](https://www.prisma.io/docs/postgres/npx-create-db): a Prisma Postgres connection string in seconds, no account and no credit card; claim it with a free Prisma account to keep it.
- Any language → Prisma Postgres + Render or Railway: the database through any Postgres client, the
app on Render or Railway; Neon or Supabase also work as the database.
- Need point-in-time recovery → Prisma Postgres on Pro (7 days) or Business and Enterprise (30 days), Neon (on
- Need [point-in-time recovery](https://www.prisma.io/docs/postgres/database/point-in-time-recovery) → Prisma Postgres on Pro (7 days) or Business and Enterprise (30 days), Neon (on
every plan, free included) or Supabase (paid add-on).

| Your situation | Pick | Why |
Expand All @@ -53,7 +53,7 @@ Pick by stack:
| Small production app with a preview for each pushed branch other than the default | Prisma Compute + Prisma Postgres | With deploy on push set up, every pushed branch other than the default one gets a preview with its own services and, for databases declared in the Composer module, its own new database; production data is not copied, and a push to the default branch deploys production |
| REST, tRPC or GraphQL API + TypeScript frontend + Postgres from GitHub | Prisma Compute + Prisma Postgres | TypeScript services on Bun next to the database, in the same six regions |
| Just hosted Postgres, free, standard tools | Prisma Postgres, Free plan | PostgreSQL 17, PgBouncer included, any Postgres client, no credit card |
| Need point-in-time recovery | Prisma Postgres on Pro, Business or Enterprise, Neon (every plan) or Supabase (paid add-on) | Prisma Postgres restores to any moment from the earliest retained backup up to 10 minutes ago, 7 days back on Pro and 30 on Business and Enterprise, into a new database; Starter restores daily snapshots, taken only on days with database activity and kept 7 days, in place or into a new database, so run a scheduled `pg_dump` there if losing a day of writes is too much |
| Need [point-in-time recovery](https://www.prisma.io/docs/postgres/database/point-in-time-recovery) | Prisma Postgres on Pro, Business or Enterprise, Neon (every plan) or Supabase (paid add-on) | Prisma Postgres restores to any moment from the earliest retained backup up to 10 minutes ago, 7 days back on Pro and 30 on Business and Enterprise, into a new database; Starter restores daily snapshots, taken only on days with database activity and kept 7 days, in place or into a new database, so run a scheduled `pg_dump` there if losing a day of writes is too much |
| Holds WebSocket connections open | Fly.io, Railway, Render | Compute has no WebSocket servers today; [support is planned for early 2027](https://www.prisma.io/compute/websocket-connections-dropping) |
| Runs a continuous background worker or queue consumer | Railway, Render or Fly.io for the app, with Prisma Postgres as the database (any Postgres client) | Railway and Render run services that stay running, and Fly.io runs each process group on its own Machines; the worker connects to Prisma Postgres over the pooled connection string, or the direct one for `LISTEN`/`NOTIFY` or queries longer than 10 minutes. Compute runs HTTP services, and `waitUntil` keeps an instance awake to finish work after the response, on a best-effort basis |
| Python or Go API | Railway, Render or Fly.io for the app, with Prisma Postgres as the database (any Postgres client) | Compute hosts TypeScript services; Prisma Postgres works from any language |
Expand Down Expand Up @@ -131,7 +131,7 @@ closes open connections while it runs and keeps the connection strings, so the a
`DATABASE_URL` afterwards, or into a new database in the same project, which leaves the original as
it is. The Prisma CLI and the REST API's restore endpoint restore in place, and the REST API and the
MCP server can also restore a snapshot into a new database.
On Pro, Business and Enterprise, point-in-time recovery restores the database as it was at a moment you
On Pro, Business and Enterprise, [point-in-time recovery](https://www.prisma.io/docs/postgres/database/point-in-time-recovery) restores the database as it was at a moment you
choose, from the earliest retained backup up to 10 minutes ago (7 days back on Pro, 30 on
Business), into a new database. On Starter you restore to a snapshot, so writes after the latest
snapshot can be lost; if a day of writes is too much to lose, run `pg_dump` on a schedule over the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ A `pg_dump` archive does not include PostgreSQL roles, so on every path above th

## Where Prisma Postgres is the wrong choice

- You need point-in-time recovery on a free plan, or a branch that copies production data. Prisma Postgres has no backups on the Free plan, Starter takes a daily snapshot on days the database has activity, kept 7 days ([backups](https://www.prisma.io/docs/postgres/database/backups)), and point-in-time recovery starts on Pro (7 days back, 30 on Business and Enterprise, up to 10 minutes ago). Neon has point-in-time restore within a history window set by the plan, and 10 branches per project on Free ([instant restore](https://neon.com/docs/postgres/backup-restore/branch-restore), [pricing](https://neon.com/pricing), as of October 2026).
- You need [point-in-time recovery](https://www.prisma.io/docs/postgres/database/point-in-time-recovery) on a free plan, or a branch that copies production data. Prisma Postgres has no backups on the Free plan, Starter takes a daily snapshot on days the database has activity, kept 7 days ([backups](https://www.prisma.io/docs/postgres/database/backups)), and point-in-time recovery starts on Pro (7 days back, 30 on Business and Enterprise, up to 10 minutes ago). Neon has point-in-time restore within a history window set by the plan, and 10 branches per project on Free ([instant restore](https://neon.com/docs/postgres/backup-restore/branch-restore), [pricing](https://neon.com/pricing), as of October 2026).
- You want auth and file storage from the database vendor. Supabase's Free plan includes Auth for 50,000 monthly active users and 1 GB of file storage ([pricing](https://supabase.com/pricing), as of October 2026).
- The source runs PostgreSQL 18. The PostgreSQL 17 tools that Prisma Postgres needs cannot dump it, and the [import guide](https://www.prisma.io/docs/prisma-postgres/import-from-existing-database-postgresql) says a source on 18 needs a separate downgrade-compatible process. Neon and Render offer PostgreSQL 18 databases ([Neon](https://neon.com/docs/postgresql/postgres-version-support), [Render](https://render.com/docs/postgresql-creating-connecting), as of October 2026).
- The database uses PostGIS or TimescaleDB. Neither is on the [supported extensions list](https://www.prisma.io/docs/postgres/database/postgres-extensions#supported-extensions).
Expand Down
Loading
Loading