Resource plans let you prepurchase Function Compute capacity at a discounted rate, reducing your overall costs. Function Compute offers CU (compute unit) resource plans that cover the CU usage billable item. All resource consumption is converted to CU usage based on predefined conversion factors, and the resulting fees are deducted from your CU resource plan balance.
How resource plans work
A CU resource plan is a prepaid package of compute units (CUs). Instead of paying for each resource type separately, all usage is normalized into a single CU metric:
Purchase a CU resource plan with the capacity that fits your workload.
Use Function Compute as usual. Your resource consumption, including function invocations, vCPU time, memory, disk, and GPU usage, is automatically converted to CU usage.
Deduction happens automatically. CU usage is deducted from your resource plan balance each billing cycle.
After the plan is exhausted or expires, any additional usage is billed on a pay-as-you-go basis.
Conversion formula
CU usage = Resource usage x CU conversion factor
For example, if your functions consume 1,000 vCPU-seconds and the conversion factor for active vCPU usage is 1 CU/vCPU-second, then 1,000 CUs are deducted from your plan.
The inverse formula is: Resource usage = CU usage / CU conversion factor.
For the complete list of conversion factors, see the "Conversion factors" section of the Billing overview topic.
Items covered
A CU resource plan covers fees generated by the following billable items:
Function invocations
Active vCPU usage
Idle vCPU usage
Memory usage
Disk usage
Active GPU usage
Idle GPU usage
Plans and pricing
Prices on the buy page prevail over the prices listed below.

| Resource plan | Quota (CU per year) | Price (USD) |
|---|---|---|
| 1 | 1 million | 19 |
| 2 | 10 million | 185 |
| 3 | 100 million | 1,800 |
| 4 | 500 million | 8,500 |
| 5 | 2 billion | 30,000 |
ICP filing benefit
When you purchase any CU resource plan, you receive a free service identification number that you can use to apply for Internet content provider (ICP) filing. To check how many available service identification numbers you have, log on to the ICP Filing console, go to the Manage Instances Available for ICP Filing page, and click the FC Resource Plan tab. For more information, see How do I use the service identification number of a resource plan to apply for ICP filing?
Conversion factors and equivalent volumes
Before CU usage is deducted from your resource plan, each type of resource consumption is converted to CUs using the following factors.
Conversion factors
| Resource usage type | CU conversion factor |
|---|---|
| Number of function invocations | 75 CU/10,000 invocations |
| Active vCPU usage | 1 CU/vCPU-second |
| Idle vCPU usage | 0 CU/vCPU-second |
| Memory usage | 0.15 CU/GB-second |
| Disk usage | 0.05 CU/GB-second |
| Tesla series Active GPU usage | 2.1 CU/GB-second |
| Tesla series Idle GPU usage | 0.5 CU/GB-second |
| Ada series Active GPU usage | 1.5 CU/GB-second |
| Ada series Idle GPU usage | 0.25 CU/GB-second |
Equivalent volumes by plan size
The following table shows the approximate equivalent resource volumes for each plan size.
| Resource usage type | 1 million CU | 10 million CU | 100 million CU | 500 million CU | 2 billion CU |
|---|---|---|---|---|---|
| Number of function invocations | About 133 million invocations | About 1.33 billion invocations | About 13.3 billion invocations | About 66.6 billion invocations | About 266.6 billion invocations |
| Active vCPU usage | 1 million vCPU-seconds | 10 million vCPU-seconds | 100 million vCPU-seconds | 500 million vCPU-seconds | 2 billion vCPU-seconds |
| Idle vCPU usage | N/A | N/A | N/A | N/A | N/A |
| Memory usage | About 6.66 million GB-seconds | About 66.66 million GB-seconds | About 666 million GB-seconds | About 3.33 billion GB-seconds | About 13.3 billion GB-seconds |
| Disk usage | 20 million GB-seconds | 200 million GB-seconds | 2 billion GB-seconds | 10 billion GB-seconds | 40 billion GB-seconds |
| Tesla series Active GPU usage | About 476,000 GB-seconds | About 4.76 million GB-seconds | About 47 million GB-seconds | About 238 million GB-seconds | About 952 million GB-seconds |
| Tesla series Idle GPU usage | 2 million GB-seconds | 20 million GB-seconds | 200 million GB-seconds | 1 billion GB-seconds | 4 billion GB-seconds |
| Ada series Active GPU usage | About 666,000 GB-seconds | About 6.66 million GB-seconds | About 66 million GB-seconds | About 333 million GB-seconds | About 1.33 billion GB-seconds |
| Ada series Idle GPU usage | 4 million GB-seconds | 40 million GB-seconds | 400 million GB-seconds | 2 billion GB-seconds | 8 billion GB-seconds |
Purchase a resource plan
Log on to the Function Compute console. In the Resource Plan section on the right side of the Overview page, click Buy Now. On the page that appears, select the resource plan type and specifications.
Validity period
Each resource plan is valid for 12 months. The plan takes effect on the date you place the order and expires at the end of the 12-month period. After the plan expires, any remaining quota becomes invalid and cannot be used.
Once your resource plan expires or the quota is fully consumed, subsequent usage is billed on a pay-as-you-go basis.
Offset order
When fees are incurred, they are applied in the following order:
Trial quotas are used first.
Resource plans are used next. If you have multiple resource plans, the plan that expires first is used first.
Pay-as-you-go billing applies after all trial quotas and resource plans are exhausted.
For more information, see Pay-as-you-go.
Refund policy
You can request a full refund for an unused resource plan within five days after purchase. Refunds are not available for resource plans that have already been partially used or for requests made more than five days after purchase.
Monitor usage and configure alerts
After you purchase a resource plan, you can monitor its usage and set up alerts to avoid unexpected charges when the plan runs out.
View purchase records and usage
You can view your resource plan purchase records and usage information in the Expenses and Costs console. Go to the Manage Reserved Instances page and click the Instances tab to view purchase records and statistics, including the status, remaining quota, effective time, and expiration time of your resource plans.
You can also check the remaining quota of a resource plan in the Resource Plan section on the right side of the Overview page of the Function Compute console.
Set up quota alerts
To receive notifications when your resource plan balance is running low:
Go to the Manage Reserved Instances page.
Click Set Remaining Quota Alert in the upper-right corner.
Configure the alert threshold and click OK.
To enable alerts for all resource plans at once, turn on Enable Alert in the Set Remaining Quota Alert Uniformly section. You can also configure different alert thresholds for individual resource plans.
When the remaining quota of a resource plan drops below your configured threshold, the system sends you a text message notification.