Skip to main content
AINative Studio
Products
Solutions
AI for BusinessNewFor DevelopersPricingDocs
Sign InBook a Call

ZeroDB · Dedicated Postgres

A real Postgres, per project — from $15/mo

Provision a dedicated Postgres 15, 16, or 17 instance with pgvector, automated backups, PITR, and a direct connection string. Not a proxy — your own host, port, and credentials.

Direct connection

Real Postgres — connect with psql, SQLAlchemy, Prisma, or any ORM via a standard database_url.

Backups & PITR

Automated daily/weekly/monthly backups plus point-in-time restore that provisions a sibling instance.

Scale on demand

Upgrade tier (vCPU/RAM/storage) or Postgres major version via API. Stop to pause billing, restart when ready.

Tiers & pricing

Postgres versions 15, 16, and 17. Public pricing endpoint (no key required): GET /api/v1/postgres/pricing

TierPrice/movCPURAMStorageMax connections
micro-1$1511 GB10 GB25
standard-2$2912 GB25 GB50
standard-4$5924 GB50 GB100
performance-8$11948 GB100 GB200
performance-16$249816 GB250 GB500

Available on paid tiers only. Free (Hobbyist serverless) does not include Dedicated Postgres.

Provision → connect → operate

1. Provision (async)

POST /api/v1/projects/{project_id}/postgres
X-API-Key: <your-project-api-key>

{
  "instance_size": "standard-2",
  "postgres_version": 16,
  "tags": ["app-db"]
}
# Returns status: "provisioning" — poll /postgres to check readiness.

2. Check status

GET /api/v1/projects/{project_id}/postgres
X-API-Key: <your-project-api-key>
# status: "provisioning" | "active" | "stopped"

3. Get the connection string

GET /api/v1/projects/{project_id}/postgres/connection
X-API-Key: <your-project-api-key>
# Returns database_url — connect with any Postgres client or ORM.

Lifecycle operations

All under /api/v1/projects/{project_id} with POST unless noted.

EndpointPurpose
/postgres/rotateRotate credentials (new password, same host)
/postgres/scaleChange tier (vCPU/RAM/storage) — no data loss
/postgres/upgradeUpgrade Postgres major version
/postgres/restart · /stop · /startRestart, stop to save cost, or resume
GET /postgres/usage · GET /postgres/logsUsage stats and query logs
GET/POST /postgres/backupsList or create on-demand backups
/postgres/backups/restoreRestore from a specific backup
/postgres/backups/scheduleAutomated DAILY / WEEKLY / MONTHLY backups
/postgres/pitr-restorePoint-in-time restore (provisions a sibling instance)
DELETE /postgres?confirm=true⚠ Destroy the instance — requires confirm=true

Warning: DELETE /postgres?confirm=true destroys the instance and clears billing. This action cannot be undone.

Serverless ZeroDB tables vs. Dedicated Postgres

QuestionServerless ZeroDBDedicated Postgres
SetupInstant, nothing to provisionProvision an instance (async)
AccessZeroDB REST API (/database/tables)Direct Postgres connection string
Best forApp data, agent memory, vectorsExisting SQL apps, custom extensions, migrations
ScalingManaged automaticallyChoose a tier (vCPU/RAM/storage)
IsolationShared, project-partitionedYour own instance, own host/port/creds
Available onAll tiers (including free)Paid tiers only

Rule of thumb: start on serverless tables, graduate a workload to Dedicated Postgres when you need direct SQL, extensions, or dedicated resources.

Get the Dedicated Postgres Workbook — Provision, Connect & Operate

A free PDF guide: pick a tier, provision via API, connect your ORM, configure backups, and scale — step by step.

We'll only use this to send your guide and occasional ZeroDB updates.

Frequently asked questions

What is Dedicated Postgres on ZeroDB?

Dedicated Postgres provisions a real, isolated Postgres instance (your own host, port, and credentials) for your project. It supports Postgres versions 15, 16, and 17, includes pgvector for vector similarity search, and is accessible via a direct connection string — not a proxy.

What tiers are available and how much do they cost?

Five tiers: micro-1 ($15/mo, 1 vCPU, 1 GB RAM, 10 GB, 25 connections), standard-2 ($29/mo, 1 vCPU, 2 GB, 25 GB, 50 conns), standard-4 ($59/mo, 2 vCPU, 4 GB, 50 GB, 100 conns), performance-8 ($119/mo, 4 vCPU, 8 GB, 100 GB, 200 conns), performance-16 ($249/mo, 8 vCPU, 16 GB, 250 GB, 500 conns). Pricing is a public endpoint at GET /api/v1/postgres/pricing.

How do I provision a Dedicated Postgres instance?

POST to /api/v1/projects/{project_id}/postgres with instance_size (e.g. "standard-2"), postgres_version (15, 16, or 17), and optional tags. Provisioning is async — poll GET /api/v1/projects/{project_id}/postgres for status, then GET /api/v1/projects/{project_id}/postgres/connection for the database_url.

Does Dedicated Postgres support automated backups and point-in-time restore?

Yes. Schedule automated backups (DAILY, WEEKLY, or MONTHLY) via POST /api/v1/projects/{project_id}/postgres/backups/schedule. Create on-demand backups via the same /postgres/backups path. Restore from a backup at /postgres/backups/restore, or perform a point-in-time restore via /postgres/pitr-restore which provisions a sibling instance.

Can I scale or upgrade my Postgres instance?

Yes. POST to /api/v1/projects/{project_id}/postgres/scale to change tier (vCPU/RAM/storage) and /postgres/upgrade to move to a new Postgres major version. You can also stop the instance to pause billing (/postgres/stop) and restart it later (/postgres/start).

When should I use Dedicated Postgres instead of serverless ZeroDB tables?

Use serverless ZeroDB tables for app data, agent memory, vectors, and quick starts — they require no provisioning. Graduate to Dedicated Postgres when you need direct SQL, custom extensions, migrations, full Postgres compatibility, or dedicated resources with predictable performance.