Plan limits
Feature gates, resource limits, and retention by plan.
The plan matrix is the full comparison. This page summarizes the hard gates, resource limits, and retention limits.
Feature gates
| Capability | Minimum plan |
|---|---|
| More than one database, larger than R5, more than 5 GiB of storage, or high availability | Team |
| Data masking, query firewall, access grants | Team |
| Database analytics (metrics, kept 7 days) | Team |
| Custom roles / RBAC | Business |
| Private networking / private-link | Business |
| SSO (OIDC) | Enterprise |
| Org-wide session policy | Enterprise |
Resource limits
Concurrent tunnels is the only per-resource count that paid plans cap; everything else is billed as you go. Team and Business also cap retention (see below).
| Resource | Counted per | Free | Team | Business | Enterprise |
|---|---|---|---|---|---|
| Databases | Organization | 1 | Unlimited | Unlimited | Unlimited |
| Nodes | Database | 1 | Unlimited | Unlimited | Unlimited |
| Members (seats) | Organization | 1 | Unlimited | Unlimited | Unlimited |
| Concurrent tunnels | Organization | 2 | 10 | 50 | Unlimited |
| Connections | Workspace | 3 | Unlimited | Unlimited | Unlimited |
| Self-hosted agents | Workspace | 2 | Unlimited | Unlimited | Unlimited |
| Query-firewall policies | Workspace | 1 (cannot be attached) | Unlimited | Unlimited | Unlimited |
| External secret sources | Workspace | 1 | Unlimited | Unlimited | Unlimited |
The sample database counts toward the Free database limit. Default connections
that Relay creates for a managed database don't count toward the connection
limit. Managed agents,
including default, don't count toward the self-hosted agent limit.
Backup retention
The longest backup retention you can configure:
| Plan | Maximum backup retention |
|---|---|
| Free | 1 year |
| Team | 2 years |
| Business | 5 years |
| Enterprise | No limit |
Query-audit retention
Query-audit entries are kept indefinitely until your organization sets a retention window; the plan sets the longest window you can set. The activity log is not purged automatically.
| Plan | Longest window you can set |
|---|---|
| Free | 7 days |
| Team | 30 days |
| Business | 1 year |
| Enterprise | Custom |
Machine tiers
Compute tiers range from R5 (0.5 vCPU / 1 GiB, the free-tier size) to R200 (64 vCPU / 244.5 GiB). The free plan gets one R5 standalone database per organization; the sample database counts toward it. See Provisioning.