All Products
Search
Document Center

Function Compute:FAQ about billing

Last Updated:Jan 24, 2025

When you use Function Compute, you may encounter billing issues, such as overdue payments, unexpected fees, and problems with resource plan purchases. This topic provides answers to some commonly asked questions about billing in Function Compute.

How do I release Function Compute instances or deactivate Function Compute?

You cannot directly delete the running instances of a Function Compute function. If you want to release instances or stop using Function Compute, you need to delete the functions themselves or the associated services.

Important
  • When the system detects that a function is deleted, it reclaims all running instances associated with the function. Proceed with caution when you delete a function.

  • If you use provisioned instances, you must release them in the auto scaling rules before you delete functions. For more information, see Configure provisioned instances and auto scaling rules.

  • Delete a function

    In the Function Compute console, click the desired service, find the function that you want to delete, and then choose More icon > Delete in the Actions column. In the message that appears, click Delete {functionName}.

    image

    image

  • Delete a service

    In the Function Compute console, find the service that you want to delete and choose More icon > Delete in the Actions column. In the message that appears, click Delete {serviceName}. Before you delete a service, make sure that the service has no functions, provisioned instances, versions, aliases, or triggers associated with it. Otherwise, the service will fail to be deleted.

    image

    image

Can I switch between elastic instances and GPU-accelerated instances?

No, you cannot switch between elastic instances and GPU-accelerated instances.

When does a resource plan expire?

The validity period of resource plans in Function Compute is 12 months. For example, if you purchase a resource plan on August 14, 2023, it expires on August 14, 2024.

You can log on to the Function Compute console and view the expiration time of your resource plans in the Resource Plan section on the right side of the Overview page.

Can I use my resource plan to offset resource usage across regions?

Yes, you can use your resource plan to offset resource usage across regions, but only for resource usage generated in regions on the China site (aliyun.com). You cannot use a resource plan purchased in a region on the China site to offset resource usage generated in a region on the International site (alibabacloud.com). For example, if you purchase a resource plan in the China (Hangzhou) region on the China site, you cannot use the plan to offset resource usage generated in the China (Hangzhou) region on the International site.

How do I deactivate Function Compute when I have an overdue payment? How do I settle the overdue bill?

If you no longer want to use Function Compute, you can delete your services and functions. For more information, see How do I release Function Compute instances or deactivate Function Compute?

To settle an overdue bill, log on to the Expenses and Costs console. Find Current Amount in the Available Credit section of the Account Overview page. If the value is less than 0, your account has an overdue payment. You can click Pay Now to settle the overdue bill.

Why am I still charged after I deactivate Function Compute?

Function Compute resources used during each clock hour will be billed at the conclusion of the following clock hour. For example, if you invoke a function sometime between 13:00 and 14:00, and you stop the service at 14:00, you may receive the bill at around 15:00. Therefore, the bills that you receive after deactivating Function Compute are for the resource usage that took place prior to the deactivation.

You can also view the billing details to check whether bills are generated by other Alibaba Cloud services that are associated with Function Compute. In cases where bills are indeed generated by other Alibaba Cloud services, check whether those service instances or resources are still needed. If not, you can delete them in the corresponding consoles.

Why are fees still generated even when my functions are not processing requests?

If the billing continues when your functions are not processing requests, check whether provisioned instances are configured. The billing of provisioned instances begins when Function Compute starts the instances and ends when you release them. Delete any provisioned instances that are no longer needed at your earliest opportunity. For more information, see Configure provisioned instances and auto scaling rules.

You can also check whether instances of other Alibaba Cloud services within your account are generating fees. You can log on to the Expenses and Costs console to view the billing details and check whether bills of other Alibaba Cloud services exist. For more information, see View bills.

Why am I still charged after I purchase a resource plan?

You are charged on a pay-as-you-go basis after your resource plan is used up or expires. For more information about how to view the remaining quota of a resource plan, see Manage resource plans.

Does Function Compute support auto-renewal of resource plans? If so, how do I disable auto-renewal?

No, Function Compute does not support auto-renewal of resource plans. You can purchase new resource plans when the existing ones expire.

Can I unsubscribe from notifications of Function Compute?

Yes, you can unsubscribe from notifications of Function Compute. To do so, log on to the Alibaba Cloud portal and click Console in the upper-right corner. In the Alibaba Cloud Management Console, click the bell icon in the top navigation bar to go to the Message Center console. In the left-side navigation pane, choose Message Settings > Common Settings. On the Common Settings page, click Manage Contacts in the upper-right corner. On the Manage Contacts page, add or remove contacts as prompted based on your business requirements.

Am I charged after I purchase a free trial plan?

Function Compute provides a free trial plan for first-time users. You are charged on a pay-as-you-go basis if the trial quota is exhausted or expires. For more information, see Billing overview.

After I purchase a trial plan, my account has overdue payments. How do I view the overdue payments, and why are overdue payments generated?

Overdue payments occur if your resource usage exceeds the quota in the free trial plan or you have not purchased resource plans for other Alibaba Cloud services that you use.

If your account has an overdue payment, log on to the Expenses and Costs console to view the details. For more information, see View overdue payments. You can view the billing details to check the fees of billable items. For more information, see View bills.

What resource usage items are involved in the running of GPU-accelerated instances?

If you configure GPU-accelerated instances for a function, the following resource usage items are involved during function executions: the number of function invocations, active vCPU usage, idle vCPU usage, memory usage, disk usage, active GPU usage, idle GPU usage, and outbound Internet traffic (if Internet access is involved). For more information, see Billing overview.

CPU resources are also required for GPU-accelerated instances. The following table shows the specifications of GPU-accelerated instances.

Instance type

Full GPU size (GB)

Computing power of full GPUs (TFLOPS)

Available specifications

On-demand mode

Regular provisioned mode

Idle provisioned mode

FP16

FP32

vGPU memory (MB)

vGPU computing power (GPU)

vCPU

Memory size (MB)

fc.gpu.tesla.1

16

65

8

Valid values: 1024 to 16384 (1 GB to 16 GB)

Note: The value must be a multiple of 1024.

The value is calculated based on the following formula: vGPU memory (GB)/16 × GPU computing power. For example, if you set the vGPU memory to 5 GB, the maximum available vGPU computing power is 5/16 × GPU computing power.

Note: The computing power is automatically allocated by Function Compute.

Valid values: 0.05 to the value of [vGPU memory (GB)/2].

Note: The value must be a multiple of 0.05. For more information, see GPU specifications.

Valid values: 128 to the value of [vGPU memory (GB) x 2048].

Note: The value must be a multiple of 64. For more information, see GPU specifications.

Y

Y

Y

fc.gpu.ada.1

48

119

60

Valid value: 49152 (48 GB)

Note: Only the 48 GB vGPU memory specification is supported.

By default, the computing power of a full GPU is allocated.

Note: The computing power is automatically allocated by Function Compute.

Valid value: 8.

Note: Only the 8-vCPU specification is supported.

Valid value: 65536 (64 GB).

Note: Only the 64 GB memory specification is supported.

N

Y

Y