Billing
The billing mode for FunctionGraph is pay per use, and the price is calculated based on the number of requests and execution duration. There are no minimum charges required.
Total price = Price for requests + Price for execution duration
Free Tier
FunctionGraph offers a free tier for your account, which you can share with your IAM users.
- Requests: 1 million free requests every month.
- Execution duration: 400,000 GB-seconds free execution duration every month. For example, if the memory for a function is 1 GB, the free execution duration every month is 400,000s. If the memory is 512 MB, the free execution duration is 800,000s.
The free tier is reset at the beginning of every calendar month.
Table 1 shows the free execution duration for different memory specifications.
Billing Rules
Price for requests
- You will be billed based on the number of requests, which is the total number of times all functions are invoked.
- The first 1 million requests every month are free of charge. After 1 million free requests are used up, you will be billed based on the rates specified at FunctionGraph Pricing Details.
Price for execution duration
FunctionGraph provides reserved and pay-per-use instances, which are metered differently.
- You can create and release RIs and will be billed based on their execution duration. RIs stay alive in the execution environment, eliminating the influence of cold starts on latency.
- If you call an API to create an RI, billing will begin as soon as the RI creation is complete.
- If you call another API to release an RI, new requests will not be routed to the RI. The RI will be released within a certain period, and the billing will stop.
As shown in Figure 1, the billing lasts from T1 to T4.
RIs are metered at a granularity of second. If an RI runs for any fraction of a minute, you will be billed for the full minute. Otherwise, you will be billed based on the actual execution duration.
For example, if an RI runs for 51s, you will be billed for 1 minute. If the RI runs for 61s, you will be billed for 61s.
- For pay-per-use instances of a function, they are created and released by FunctionGraph, and you will be billed based on the actual execution duration. The execution duration is calculated from the time the function code is executed until it terminates, and is rounded up to the nearest 100 ms. If a function is executed for 1005 ms, you will be billed for 1100 ms.
- The unit of execution duration is GB-second, which means 1 GB per second.
Additional charges
Additional charges will apply if other cloud services are used with FunctionGraph. For more information, see FunctionGraph Pricing Details.
Last Article: Quotas and Usage Restrictions

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.