All Products
Search
Document Center

Function Compute:Resource plans

Last Updated:Dec 09, 2024

Resource plans allow you to use resources at more favorable prices. This helps you reduce costs. Function Compute provides compute unit (CU) resource plans for the CU usage billable item that bills the function invocation and resource usage. After you purchase a CU resource plan, all resource usage is converted to the CU usage based on the specified conversion factors and the usage fee is offset by using the CU resource plan.

Types and prices

Function Compute provides the following types of CU resource plans. A purchased resource plan is used to offset the fee generated when you use the Function Compute resources, such as function invocation, active vCPU usage, idle vCPU usage, memory usage, disk usage, active GPU usage, and idle GPU usage. Before you use a CU resource plan to offset fees, the resource usage must be converted to the CU usage based on the corresponding conversion factor.

Important

The following formula is used for conversion: CU usage = Resource usage × CU conversion factor. For more information about the conversion factors, see the "Conversion factors" section of the Billing overview topic.

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

The following table shows the volume of resource usage that corresponds to each size of CU resource plan. Resource usage includes the number of function invocations, active vCPU usage, idle vCPU usage, memory usage, disk usage, active GPU usage, and idle GPU usage. The following formula is used for conversion: Resource usage = CU usage/CU conversion factor.

Resource usage type

CU resource plan size (CU)

1 million

10 million

100 million

500 million

2 billion

Number of function invocations

Conversion factor

75 CU/10,000 invocations

Equivalent volume

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

Conversion factor

1 CU/vCPU-second

Equivalent volume

1 million vCPU-seconds

10 million vCPU-seconds

100 million vCPU-seconds

500 million vCPU-seconds

2 billion vCPU-seconds

Idle vCPU usage

Conversion factor

0 CU/vCPU-second

Equivalent volume

N/A

N/A

N/A

N/A

N/A

Memory usage

Conversion factor

0.15 CU/GB-second

Equivalent volume

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

Conversion factor

0.05 CU/GB-second

Equivalent volume

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

Conversion factor

2.1 CU/GB-second

Equivalent volume

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

Conversion factor

0.5 CU/GB-second

Equivalent volume

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

Conversion factor

1.5 CU/GB-second

Equivalent volume

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

Conversion factor

0.25 CU/GB-second

Equivalent volume

4 million GB-seconds

40 million GB-seconds

400 million GB-seconds

2 billion GB-seconds

8 billion GB-seconds

Important

The prices on the buy page shall prevail.

Validity period

The validity period of each type of resource plan is 12 months. A resource plan takes effect from the date when the order is placed and expires at the end of the validity period. After the resource plan expires, the resource quota in the resource plan becomes invalid.

You are charged for resource usage on a pay-as-you-go basis after the purchased resource plan expires or the quota is used up. For more information, see Pay-as-you-go.

Offset order

Resource plans and trial quotas are first used to offset fees. If you have purchased multiple resource plans, the resource plan that expire first are preferentially used. After all the trial quotas and resource plans are used up, you are charged on a pay-as-you-go basis. For more information, see Pay-as-you-go.

Purchase resource plans

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.

Refund policy

You can request a full refund for an unused resource plan within five days after purchase. You cannot request a refund for a used resource plan or after five days of purchase.

Configure alerting for resource plans

After you purchase a resource plan, you can view the purchase records and usage information in the Expenses and Costsconsole. In addition, you can enable quota alerting for resource plans to avoid resource unavailability caused by overdue payments. When the remaining quota of a resource plan is lower than the configured threshold, the system notifies you by sending text messages.

Go to the Manage Reserved Instances page and perform the following steps:

  • Click the Instances tab to view the purchase records and statistics of resource plans, including the status, remaining capacity, effective time, and expiration time of resource plans.

    You can 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.

  • Click Set Remaining Quota Alert in the upper-right corner. Configure the threshold for quota alerting and then click OK.

    Turn on Enable Alert in the Set Remaining Quota Alert Uniformly section to simultaneously enable quota alerting for all resource plans. You can also configure different quota alert rules for different resource plans.

FAQ