Files
supabase/apps/docs/content/guides/realtime/limits.mdx
Miranda Limonczenko 494c7460ed docs: restructure five lookup pages onto the reference template (#54484)
Part of DOCS-1619

## Problem

Five lookup pages predate the reference template from #54454. They're
missing descriptions, mix context into the lookup, or list every entry
in the right-hand table of contents.

## Solution

- Restructure the five pages onto the reference template, with facts
unchanged.
- Add or rewrite each description, and put titles in sentence case.
- Turn the Edge Functions limits lists into tables, and move the 9
status codes to H4s under three categories.

## Preview links

| Page | Live | Preview |
| --- | --- | --- |
| Analytics bucket limits |
[Live](https://supabase.com/docs/guides/storage/analytics/limits) |
[Preview](https://docs-git-docs-reference-rework-supabase.vercel.app/docs/guides/storage/analytics/limits)
|
| Vector bucket limits |
[Live](https://supabase.com/docs/guides/storage/vector/limits) |
[Preview](https://docs-git-docs-reference-rework-supabase.vercel.app/docs/guides/storage/vector/limits)
|
| Realtime limits |
[Live](https://supabase.com/docs/guides/realtime/limits) |
[Preview](https://docs-git-docs-reference-rework-supabase.vercel.app/docs/guides/realtime/limits)
|
| Edge Functions limits |
[Live](https://supabase.com/docs/guides/functions/limits) |
[Preview](https://docs-git-docs-reference-rework-supabase.vercel.app/docs/guides/functions/limits)
|
| Edge Functions status codes |
[Live](https://supabase.com/docs/guides/functions/status-codes) |
[Preview](https://docs-git-docs-reference-rework-supabase.vercel.app/docs/guides/functions/status-codes)
|

## Review category (docs PRs only)

<!--
If this PR changes docs and you're on the Supabase team, select one
category.
PRs from forks are always reviewed as Low, so you can skip this section.
-->

- [ ] Critical: needs a review as soon as possible
- [ ] Urgent: the feature ships soon, or it's blocking something else
- [ ] Moderate: good to have soon, not urgent
- [ ] Low: get to it when you can

## Review instructions

1. Open each preview next to its live page. The limits and codes match.
2. Open the status codes preview. **On this page** lists the three
categories, not each code.

## Checklist

Check all before review:

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-12-04 14:45:07 -08:00

76 lines
5.2 KiB
Plaintext

---
id: 'limits'
title: 'Realtime limits'
description: 'Look up Realtime limits by plan, such as concurrent connections, messages per second, and payload sizes, and the errors Realtime returns when you exceed one.'
sidebar_label: '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`, or `too_many_joins`, or a disconnect for `tenant_events`
- A join error whose `reason` starts with `ChannelRateLimitReached`, `ConnectionRateLimitReached`, or `ClientJoinRateLimitReached`
- The **Realtime Messages** or **Realtime Concurrent Peak Connections** section of your organization's [**Usage**](/dashboard/org/_/usage) page
To increase a limit, upgrade your plan or [contact support](/dashboard/support/new).
## 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**](#postgres-changes-payload-limit))** | 1,024 KB | 1,024 KB | 1,024 KB | 1,024 KB | 1,024+ KB |
| **Broadcast replay retention ([**read more**](/docs/guides/realtime/broadcast#broadcast-replay))** | 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](/dashboard/support/new).
- 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](/dashboard/project/_/database/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](/kb/troubleshooting/realtime-too-many-channels-error) for a single connection.
### `too_many_connections`
[Too many total concurrent connections](/kb/troubleshooting/realtime-concurrent-peak-connections-quota-jdDqcp) 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](/docs/guides/realtime/settings): set a project's limits, up to the ceilings your plan allows.
- [Realtime pricing](/docs/guides/realtime/pricing): how messages and peak connections are billed.
- [Operational error codes](/docs/guides/realtime/error_codes): every operational error code Realtime returns, including the ones for these limits.
- [Realtime Inspector](https://realtime.supabase.com/inspector/new): reproduce an error and share those connection details with Supabase support.