Realtime limits
Look up Realtime limits by plan and the errors Realtime returns when you exceed one. Check this page when you see any of the following:
- A Channel join refused with
too_many_channels,too_many_connections, ortoo_many_joins, or a disconnect fortenant_events - A join error whose
reasonstarts withChannelRateLimitReached,ConnectionRateLimitReached, orClientJoinRateLimitReached - The Realtime Messages or Realtime Concurrent Peak Connections section of your organization's Usage page
To increase a limit, upgrade your plan or contact support.
Limits by plan
The following table lists the limits for each plan.
| Limit | Free | Pro | Pro (no spend cap) | Team | Enterprise |
|---|---|---|---|---|---|
| Concurrent connections | 200 | 500 | 10,000 | 10,000 | 10,000+ |
| Messages per second | 100 | 500 | 2,500 | 2,500 | 2,500+ |
| Channel joins per second | 100 | 500 | 2,500 | 2,500 | 2,500+ |
| Channels per connection | 100 | 100 | 100 | 100 | 100+ |
| Presence keys per object | 10 | 10 | 10 | 10 | 10+ |
| Presence messages per second | 20 | 50 | 1,000 | 1,000 | 1,000+ |
| Presence calls per client, per 30 seconds | 5 | 5 | 5 | 5 | 5 |
| Broadcast payload size | 256 KB | 3,000 KB | 3,000 KB | 3,000 KB | 3,000+ KB |
| Postgres change payload size (read more) | 1,024 KB | 1,024 KB | 1,024 KB | 1,024 KB | 1,024+ KB |
| Broadcast replay retention (read more) | 72 hours | 72 hours | 72 hours | 72 hours | 72 hours |
| Broadcast replay messages per request | 25 | 25 | 25 | 25 | 25 |
The following notes apply to every limit in the table:
- All limits are configurable per project. Beyond the Free and Pro Plan, you can customize your limits by contacting support.
- Without a spend cap, or on an Enterprise plan, some limits are still in place to protect budgets.
Postgres changes payload limit
When this limit is reached, the new and old record payloads only include the fields with a value size of less than or equal to 64 bytes.
Limit errors
When you exceed a limit, errors appear in the following places:
- Logs: check the Realtime logs inside your project Dashboard.
- WebSocket errors: Use your browser's developer tools to find the WebSocket initiation request and view individual messages.
Some limits can cause a Channel join to be refused. Realtime will reply with one of the following WebSocket messages:
too_many_channels
Too many channels currently joined for a single connection.
too_many_connections
Too many total concurrent connections for a project.
too_many_joins
Too many Channel joins per second.
tenant_events
Connections will be disconnected if your project is generating too many messages per second. supabase-js will reconnect automatically when the message throughput decreases below your plan limit. An event is a WebSocket message delivered to, or sent from a client.
Related resources
To set, pay for, or troubleshoot these limits, see the following pages:
- Realtime settings: set a project's limits, up to the ceilings your plan allows.
- Realtime pricing: how messages and peak connections are billed.
- Operational error codes: every operational error code Realtime returns, including the ones for these limits.
- Realtime Inspector: reproduce an error and share those connection details with Supabase support.