Billing
Plans & feature matrix
Relay's plans — Free, Team, Business, and Enterprise — and what each one unlocks.
Relay has four plans. Usage (database node-hours, storage, seats) is billed as you go on paid plans; the plan you're on determines which capabilities are available.
| Free | Team | Business | Enterprise | |
|---|---|---|---|---|
| Managed database usage | 1 free R5 database | Pay-as-you-go | Pay-as-you-go | Negotiated |
| Databases | 1 per organization (sample DB counts) | Unlimited | Unlimited | Unlimited |
| Machine size | R5 (0.5 vCPU, 1 GiB, 5 GiB storage) | R5–R200 | R5–R200 | R5–R200 |
| High availability (multi-node) | — | ✓ | ✓ | ✓ |
| Members | 1 | Unlimited | Unlimited | Unlimited |
| Database analytics (metrics, 7-day retention) | — | ✓ | ✓ | ✓ |
| Support | Community | Priority | SLA + TAM | |
| Masking, query firewall, access grants | — | ✓ | ✓ | ✓ |
| Query-audit retention (longest window you can set) | 7 days | 30 days | 1 year | Unlimited |
| External secret sources | 1 | ✓ | ✓ | ✓ |
| Connections (per workspace) | 3 | Unlimited | Unlimited | Unlimited |
| Self-hosted agents (per workspace) | 2 | Unlimited | Unlimited | Unlimited |
| Custom roles / RBAC | — | — | ✓ | ✓ |
| Private networking / private-link | — | — | ✓ | ✓ |
| SSO (OIDC) | — | — | — | ✓ |
| Org-wide session policy | — | — | — | ✓ |
| Invoicing / PO, SLA, DPA | — | — | — | ✓ |
Plan summaries
- Free — a single-user sandbox with one free database per organization: an
R5 (0.5 vCPU, 1 GiB) single node with up to 5 GiB of storage. Every account
starts with a sample database named
testin that slot; delete it to create your own, with any engine and region, from Quick mode or the CLI (--tier R5). Up to 3 connections and 2 self-hosted agents per workspace, so you can try the CLI and the agent against your own databases; the default connections Relay creates for a managed database don't count toward the 3. Masking, the query firewall, and access grants start on Team; Free can set a query-audit retention window of up to 7 days. - Team — self-serve, pay-as-you-go managed databases with analytics, plus the full governance layer, with query-audit retention windows of up to 30 days.
- Business — everything in Team, plus custom roles/RBAC and private networking, with query-audit retention windows of up to 1 year.
- Enterprise — everything in Business, plus SSO (OIDC), org-wide session policy, unlimited audit retention, and contractual terms (invoicing/PO, SLA, DPA).
Some capabilities are plan-gated, not usage-unlocked: custom RBAC and private networking start on Business, and SSO and org-wide session policy are Enterprise only. They're available on the plan that includes them regardless of usage.
Related
- Why Relay — how Relay prices managed PostgreSQL.
- Usage & metering
- SSO (OIDC) · RBAC · Private networking