管理实时消息使用
你被收费的项目 #
🌐 What you are charged for
你会根据整个计费周期通过 Supabase Realtime 发送的消息数量收费。包括数据库更改、广播和在线状态。
🌐 You are charged for the number of messages going through Supabase Realtime throughout the billing cycle. Includes database changes, Broadcast and Presence.
数据库变更 每个数据库变更都算作每个监听该事件的客户端的一条消息。例如,如果发生一次数据库变更,而有5个客户端监听该数据库事件,则算作5条消息。
广播 每条广播消息算作一条已发送消息,加上每个接收该消息的订阅客户端算作一条消息。例如,如果你广播了一条消息,有 4 个客户端接收,那么就算作 5 条消息——1 条已发送,4 条接收。
费用是怎么计算的 #
🌐 How charges are calculated
实时消息按套餐计费,每个套餐代表 100 万条消息。如果你的使用量介于两个套餐之间,会按下一个整套餐收费。
🌐 Realtime Messages are billed using Package pricing, with each package representing 1 million messages. If your usage falls between two packages, you are billed for the next whole package.
示例 #
🌐 Example
为了简单起见,假设每个封装的数量是1,000,000,每个封装在没有配额的情况下收费 $2.50 。
| 消息数 | 计费封装 | 费用 |
|---|---|---|
| 999,999 | 1 | $2.50 |
| 1,000,000 | 1 | $2.50 |
| 1,000,001 | 2 | $5.00 |
| 1,500,000 | 2 | $5.00 |
在你的发票上的用途 #
🌐 Usage on your invoice
在你的发票上,用量会显示为“实时消息”。
🌐 Usage is shown as "Realtime Messages" on your invoice.
价格 #
🌐 Pricing
$2.50 每 100 万条消息。只有超过订阅计划配额的使用量才会收费。
| 计划 | 配额 | 超额使用 |
|---|---|---|
| 免费 | 200万 | - |
| 专业 | 500万 | $2.50 每100万条消息 |
| 团队 | 500万 | $2.50 每100万条消息 |
| 企业 | 自定义 | 自定义 |
计费示例 #
🌐 Billing examples
在配额内 #
🌐 Within quota
该组织的实时消息在配额范围内,所以不会产生费用。
🌐 The organization's Realtime messages are within the quota, so no charges apply.
| 项目 | 单位 | 成本 |
|---|---|---|
| 专业计划 | 1 | $25 |
| 小型计算小时 | 730 小时 | $15 |
| 实时消息 | 180 万条消息 | $0 |
| 小计 | $40 | |
| 计算积分 | -$10 | |
| 总计 | $30 |
超出配额 #
🌐 Exceeding quota
该组织的实时消息超出了配额 350 万条,因此需要为这部分额外使用支付费用。
🌐 The organization's Realtime messages exceed the quota by 3.5 million, incurring charges for this additional usage.
| 项目 | 单位 | 成本 |
|---|---|---|
| 专业计划 | 1 | $25 |
| 小型计算小时 | 730 小时 | $15 |
| 实时消息 | 850 万条消息 | $10 |
| 小计 | $50 | |
| 计算积分 | -$10 | |
| 总计 | $40 |
查看使用情况 #
🌐 View usage
你可以在组织的使用页面查看实时消息的使用情况。默认情况下,页面会显示所有项目的使用情况。要查看特定项目的使用情况,请从下拉菜单中选择它。你也可以选择不同的时间段。
🌐 You can view Realtime Messages usage on the organization's usage page. The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.

在实时消息部分,你可以看到所选时间段的使用情况。
🌐 In the Realtime Messages section, you can see the usage for the selected time period.

超额 #
🌐 Exceeding Quotas
如果你使用的是付费计划并且已关闭花费上限,或者你的组织使用的是团队计划及以上,你将需要支付任何超出部分的费用。
🌐 If you are on a paid plan and have Spend Cap disabled or your organization is on Team Plan or above, you will pay for any overages.
当你在使用免费计划或启用了消费上限时超出配额,你会收到发送到账单邮箱的通知,并进入宽限期。更多细节请参阅我们的公平使用政策。
🌐 When you are exceeding your quotas while being on a Free Plan or having Spend Cap enabled, you will get a notification to your billing email address and put under a grace period. For more details, refer to our Fair Use Policy.