Starting from August 27, 2024, Function Compute applies CU usage as a unified billable item for the original billable items, including the number of function invocations and amount of resource usage. The original billable items are converted to CU usage, in CU, based on conversion factors. In addition, Function Compute introduces CU resource plans. Existing resource plans can be converted and used to deduct CU usage based on the conversion factors. In light of this change, trial quotas for new users are also changed. The original trial quotas, which include GPU resource quota, vCPU resource quota, memory resource quota, and function invocation quota, are combined into the CU resource quota.
Bills of Function Compute no longer include the original billable items, including the number of function Invocations, active vCPU usage, idle vCPU usage, memory usage, active GPU usage, idle GPU usage, and disk usage. You can query the number of function invocations and resource usage in the Function Compute console.
To show appreciation for both new and existing users, Function Compute offers a 20% discount from August 27, 2024, to August 27, 2025.
Changes of billable items
CU prices
CU usage is billed monthly on a tiered basis. The following table describes the details.
Tier | CU usage (CU) | Unit price | Discounted unit price August 27, 2024 to August 27, 2025 |
1 | (0, 100 million] | USD 0.000020/CU | USD 0.0000160/CU |
2 | (100 million, 500 million] | USD 0.000017/CU | USD 0.0000136/CU |
3 | > 500 million | USD 0.000014/CU | USD 0.0000112/CU |
Conversion factors
The original billable items of Function Compute, including the number of function invocations, active vCPU usage, idle vCPU usage, memory usage, active GPU usage, idle GPU usage, and disk usage, are converted to CU usage based on the following formula: Resource usage × Conversion factor = CU Usage.
The following table lists the conversion factors.
Billable item | Number of function invocations | Active vCPU usage | Idle vCPU usage | Memory usage | Disk usage | Tesla series active GPU usage | Tesla series idle GPU usage | Ada series active GPU usage | Ada series idle GPU usage |
Unit | CU/10,000 invocations | CU/vCPU-second | CU/vCPU-second | CU/GB-second | CU/GB-second | CU/GB-second | CU/GB-second | CU/GB-second | CU/GB-second |
CU conversion factor | 75 | 1 | 0 | 0.15 | 0.05 | 2.1 | 0.5 | 1.5 | 0.25 |
Billing examples
Assume that you have consumed the following resources in a month: 800 million vCPU-seconds of vCPU usage, 2 billion GB-seconds of memory usage, 0 GB-seconds of disk usage, 100 million GB-seconds of active GPU usage (Tesla series), 400 million GB-seconds of idle GPU usage (Tesla series), and 12 billion function invocations. The following table shows the CU usage and total cost.
Resource usage type | Total usage | Conversion factor | Converted CU usage |
Active vCPU usage | 800,000,000 vCPU-seconds | 1 CU/vCPU-second | 800,000,000 CU |
Memory usage | 2,000,000,000 GB-seconds | 0.15 CU/GB-second | 300,000,000 CU |
Disk usage | 0 GB-seconds | 0.05 CU/GB-second Note: The disk size of 512 MB is free. You are charged for disk capacity exceeding 512 MB. | 0 CU |
Tesla series active GPU usage | 100,000,000 GB-seconds | 2.1 CU/GB-second | 210,000,000 CU |
Tesla series idle GPU usage | 400,000,000 GB-seconds | 0.5 CU/GB-second | 200,000,000 CU |
Number of function invocations | 12,000,000,000 invocations | 0.0075 CU/invocation | 90,000,000 CU |
Total CU usage: 1,600,000,000 CUs |
Fee = Tier 1 unit price × Tier 1 usage + Tier 2 unit price × Tier 2 usage + Tier 3 unit price × Tier 3 usage = USD 0.000020/CU × 100,000,000 CUs + USD 0.000017/CU × 400,000,000 CUs + USD 0.000014/CU × 1,100,000,000 CUs = USD 24,200
Change of resource plans
Function Compute provides CU resource plans of five sizes. You can buy a resource plan based on your business requirements.
Resource plan | Quota (CUs per year) | Unit 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 |
You can no longer purchase the original vCPU resource plans, memory resource plans, function invocation plans, and GPU resource plans provided by Function Compute. Existing resource plans can be used to offset CU usage. For more information, see Conversion factors.
Change of trial quotas
Starting from August 27, 2024, users who activate Function Compute for the first time can obtain a free trial quota of 150,000 CUs per cycle for three cycles. Each cycle lasts a month.