Function Compute Pricing
Alibaba Cloud Function Compute is billed on a Pay-As-You-Go basis. The fee consists of three parts and the Internet Traffic Fee is optional. Users are only charged the Internet Traffic Fee when using the Internet to transfer function data.
Total Fee = Request Fee + Duration Fee + Public Network Traffic Fee (optional)
The monthly free quota is shared by the primary account and sub-account.
Requests: The first 1 million calls per month are free of charge.
Duration: The first 400,000 GB-seconds per month are free of charge.
NOTE: Free calls and execution duration are automatically cleared at the beginning of each calendar month, rather than accrued to the next month.
The call count indicates the total number of function calls.
Price: $0.2 / 1 million calls
An execution duration starts when your code begins to be executed and ends when the result is returned or execution is terminated. The measurement granularity is 100 milliseconds. The duration price depends on the memory size that you have allocated to functions.
Price: $0.00001668 / GB-second ($0.000001668 / GB-100 milliseconds)
The unit of duration fee is GB-second, which means that when the memory size is 1 GB, the duration is charged by the second. If your function memory size is 512 MB, the duration price is calculated as follows: $0.00001668/2 = $0.00000834/second. The duration measurement granularity is 100 milliseconds. Therefore, your execution duration is rounded up to a multiple of 100 milliseconds. For example, if your function execution duration is 1,010 milliseconds, the duration is measured as 1,100 milliseconds. Therefore, if the execution duration of a function with a 512 MB memory is 1,010 milliseconds, the execution duration fee is calculated as follows: (0.5 × 1.1) GB-second × $0.00001668/GB-second = $0.000009174.
Public Network Traffic Fee
|Asia Pacific SE 1 (Singapore)||0.117|
|Asia Pacific SE 2 (Sydney)||0.130|
|US East 1 (Virginia)||0.078|
|US West 1 (Silicon Valley)||0.078|
|Germany 1 (Frankfurt)||0.070|
Quick Calculation Table For Monthly Free Quota
The table below shows the free tier seconds and the approximate price per 100ms.
|Memory (MB)||Free Tier Seconds Per Month|