管理分支使用
你被收费的项目 #
🌐 What you are charged for
每个预览分支都是一个独立环境,包含所有 Supabase 服务(数据库、认证、存储等)。你在该环境中的使用会按你从中分支出来的项目收费——比如计算、磁盘大小、出口流量和存储都是一样的。
🌐 Each Preview branch is a separate environment with all Supabase services (Database, Auth, Storage, etc.). You're charged for usage within that environment—such as Compute, Disk Size, Egress, and Storage—the same as the project you branched from.
费用是怎么计算的 #
🌐 How charges are calculated
有关费用如何计算的详细信息,请参阅各个使用项目。分支费用是所有这些项目的总和。
🌐 Refer to individual usage items for details on how charges are calculated. Branching charges are the sum of all these items.
在你的发票上的用途 #
🌐 Usage on your invoice
预览分支产生的计算费用在你的账单上显示为“分支计算小时”。其他使用项目不会单独列出分支,会汇总到整个项目中。
🌐 Compute incurred by Preview branches is shown as "Branching Compute Hours" on your invoice. Other usage items are not shown separately for branches and are rolled up into the project.
价格 #
🌐 Pricing
预览分支没有固定费用。你只需为使用产生的费用付费。运行在默认微型计算规范的分支每小时起价 $0.01344 。
计费示例 #
🌐 Billing examples
这个项目有一个预览分支“XYZ”,运行时间为30小时,会产生计算和外发费用。磁盘使用量保持在订阅计划包含的8 GB以内,所以不会产生额外费用。
🌐 The project has a Preview branch "XYZ", that runs for 30 hours, incurring Compute and Egress costs. Disk Size usage remains within the 8 GB included in the subscription plan, so no additional charges apply.
| 项目 | 费用 |
|---|---|
| Pro 计划 | $25 |
| 小型项目 1 计算小时 | $15 |
| 项目 1 出站流量 | $7 |
| 项目 1 磁盘大小 | $3 |
| 微型分支 XYZ 计算小时 | $0.4 |
| 分支 XYZ 出站流量 | $1 |
| 分支 XYZ 磁盘大小 | $0 |
| 小计 | $51.4 |
| 计算积分 | -$10 |
| 总计 | $41.4 |
查看使用情况 #
🌐 View usage
你可以在组织的使用页面查看分支使用情况。该页面默认显示所有项目的使用情况。要查看特定项目的使用情况,请从下拉菜单中选择它。你也可以选择不同的时间段。
🌐 You can view Branching 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 Usage Summary section, you can see how many hours your Preview branches existed during the selected time period. Hover over "Branching Compute Hours" for a detailed breakdown.

优化使用 #
🌐 Optimize usage
- 预览分支一准备好就合并
- 删除不再使用的预览分支
- 检查你的持久分支是否需要定义为持久分支,或者它们是否可以是临时分支。持久分支即使在底层的 PR 关闭后也会保持活跃。
常见问题 #
🌐 FAQ
计算积分适用于分支计算吗? #
🌐 Do Compute Credits apply to Branching Compute?
不,计算积分不适用于分支计算。
🌐 No, Compute Credits do not apply to Branching Compute.