Skip to content
Platform

管理计算使用

你被收费的项目 #

🌐 What you are charged for

Supabase 平台上的每个项目都包含一个独立的 Postgres 实例,运行在自己的服务器上。你需要为该服务器的 计算 资源付费,这和你的数据库使用情况无关。

🌐 Each project on the Supabase platform includes a dedicated Postgres instance running on its own server. You are charged for the Compute resources of that server, independent of your database usage.

费用是怎么计算的 #

🌐 How charges are calculated

计算按小时收费,这意味着你只需为项目运行的实际小时数以及相应的计算使用量支付费用。如果一个项目只运行了部分小时,你仍然需要支付整小时的费用。

🌐 Compute is charged by the hour, meaning you are charged for the exact number of hours that a project is running and, therefore, incurring Compute usage. If a project runs for part of an hour, you are still charged for the full hour.

示例 #

🌐 Example

你的计费周期从1月1日到1月31日。在1月10日下午4:30,你把项目从微型计算量切换到小型计算量。计费周期结束时,你将按微型计算量的233小时和小型计算量的512小时收费。

🌐 Your billing cycle runs from January 1 to January 31. On January 10 at 4:30 PM, you switch your project from the Micro Compute size to the Small Compute size. At the end of the billing cycle you are billed for 233 hours of Micro Compute size and 512 hours of Small Compute size.

时间窗口计算规模计费小时描述
1月1日 00:00 - 1月10日 16:00微型232
1月10日 16:00 - 1月10日 16:30微型1按整小时计费
1月10日 16:30 - 1月10日 17:00小型1按整小时计费
1月10日 17:00 - 1月31日 23:59小型511

在你的发票上的用途 #

🌐 Usage on your invoice

在你的发票上,用“计算小时”显示使用情况。

🌐 Usage is shown as "Compute Hours" on your invoice.

计算积分 #

🌐 Compute Credits

付费计划包括 $10 计算积分,这些积分可以用于一个运行在微型/纳米计算规模的项目,或用于其他计算规模的一部分。计算积分会用于抵扣你的计算费用,每个月发放给一个组织。积分每月重置,不会累积。

价格 #

🌐 Pricing

计算规范每小时价格(美元)每月价格(美元)
Nano1$0$0
Micro$0.01344~$10
Small$0.0206~$15
Medium$0.0822~$60
Large$0.1517~$111
XL$0.2877~$210
2XL$0.562~$410
4XL$1.32~$960
8XL$2.562~$1,870
12XL$3.836~$2,800
16XL$5.12~$3,730
>16XL-联系我们

计费示例 #

🌐 Billing examples

一个项目 #

🌐 One project

这个项目在整个计费周期内使用相同的计算资源规模。

🌐 The project runs on the same Compute size throughout the entire billing cycle.

项目小时成本
专业版计划-$25
小型项目 1 计算小时730$15
小计$40
计算积分-$10
总计$30

多个项目 #

🌐 Multiple projects

所有项目在整个计费周期内都使用相同的计算规范。

🌐 All projects run on the same Compute size throughout the entire billing cycle.

项目明细小时费用
专业计划-$25
小型项目 1 计算小时730$15
小型项目 2 计算小时730$15
小型项目 3 计算小时730$15
小计$70
计算抵扣-$10
总计$60

一个关于不同计算规模的项目 #

🌐 One project on different Compute sizes

这个项目的计算资源大小会在整个计费周期中变化。

🌐 The project's Compute size changes throughout the billing cycle.

项目小时成本
高级计划-$25
微型项目 1 计算小时230$3.09
小型项目 1 计算小时500$10.30
小计$38.39
计算积分-$10
总计$28.39

项目没有运行整整一个月 #

🌐 Projects not running for full month

有一个项目运行了整整一个月,另外两个项目在几天内启动又被删除。我们只对项目运行期间的工时收费,项目一旦被删除就停止计费。计算资源总是按周期结算,当你的计费周期重置时进行结算。

🌐 One project is running for the entire month, two other projects were launched and deleted within a few days. We only bill for the hours while the project was running and billing stops once a project is deleted. Compute is always billed in arrears when your billing cycle resets.

项目明细小时费用
专业计划-$25
小型项目 1 计算小时730$15
微型项目 2 计算小时20$0.27
微型项目 3 计算小时70$0.94
小计$41.21
计算抵扣-$10
总计$31.21

查看使用情况 #

🌐 View usage

你可以在组织的使用情况页面查看计算使用情况。该页面默认显示所有项目的使用情况。要查看特定项目的使用情况,可以从下拉菜单中选择它。你还可以选择不同的时间段。

🌐 You can view Compute 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.

Usage page navigation bar

在计算小时部分,你可以看到你的项目在选定时间段内使用了多少特定计算规范的小时。将鼠标悬停在某个日期上可以查看每日明细。

🌐 In the Compute Hours section, you can see how many hours of a specific Compute size your projects have used during the selected time period. Hover over a specific date for a daily breakdown.

Usage page Compute Hours section

优化使用 #

🌐 Optimize usage

  • 从较小的计算规范开始,在仪表板上创建报告来监控你的 CPU 和内存使用情况,并根据需要升级计算规范
  • 在预发环境中对你的应用进行负载测试,以了解你的计算需求
  • 将项目转移到免费计划的组织以减少计算使用量
  • 删除未使用的项目

常见问题 #

🌐 FAQ

计算积分适用于除计算之外的其他项目吗? #

🌐 Do Compute Credits apply to line items other than Compute?

不,计算积分只适用于计算,不包括其他项目,比如只读副本计算和分支计算。

🌐 No, Compute Credits apply only to Compute and do not cover other line items, including Read Replica Compute and Branching Compute.

Footnotes#

  1. Compute resources on the Free Plan are subject to change.