All Products
Search
Document Center

Function Compute:Billing overview

Last Updated:Feb 28, 2026

Function Compute uses the Compute Unit (CU) as its unified billing metric. To calculate CU usage, multiply the following factors by their corresponding CU conversion factors: the number of function invocations, active vCPU usage, idle vCPU usage, memory usage, disk usage, and active and idle GPU usage (including Tesla series and Ada series).

Function Compute supports three billing methods: free trial quotas, pay-as-you-go, and resource plans.

How CU usage is calculated

Your CU consumption is determined by multiplying each of the following factors by its corresponding CU conversion factor:

Billing factorDescription
Function invocationsThe number of times your functions are invoked
Active vCPU usagevCPU time consumed while a function is actively processing a request
Idle vCPU usagevCPU time consumed while a provisioned function instance is idle after idle mode is enabled
Memory usageMemory consumed by function instances
Disk usageDisk space consumed by function instances
Active GPU usageGPU time consumed while actively processing (Tesla series and Ada series)
Idle GPU usageGPU time consumed while idle after idle mode is enabled (Tesla series and Ada series)

For detailed pricing information, see Billing overview.

Billing methods

Billing methodHow it works
Free trial quotasA complimentary trial CU plan for first-time users. If you do not purchase additional resource plans, any usage exceeding the trial quota in each billing cycle is billed on a pay-as-you-go basis.
Resource plansFunction Compute provides five tiers of CU resource plans. After you purchase a resource plan, it is preferentially used to offset your resource usage. When the quota in the resource plan is exhausted, you are charged on a pay-as-you-go basis. Resource plans allow you to use a fixed amount of resources at a discounted rate, helping you reduce costs.
Pay-as-you-goYou are charged based on the computing resources that you use.

Billing of other Alibaba Cloud services

When you use Function Compute, you may incur charges from other Alibaba Cloud services that your functions access. These services include:

  • Object Storage Service (OSS)

  • Simple Log Service (SLS)

  • File Storage NAS

Charges for these services are billed separately according to each service's own pricing model.

References