Overdue payments
An overdue payment is generated immediately when your account balance, vouchers, and coupons combined are insufficient to cover the amount due for Function Compute resources. Top up your account promptly to avoid service interruptions, and delete any resources you no longer need.
Billing cycles
Function Compute resources are billed hourly. At the start of each billing cycle, the system generates the previous cycle's bill and automatically deducts payment from your account balance or vouchers. For more information, see Billing overview.
Overdue payment timeline
Alibaba Cloud provides service suspension protection. This feature lets you continue using pay-as-you-go Alibaba Cloud services for a specific period or within a certain credit limit after your account has an overdue payment. Billing continues as normal during the protection period. For more information about the usage and rules, see Service suspension protection for overdue payments.
If service suspension protection is not enabled, the policy for handling overdue payments for Function Compute is as follows.
What happens when payment is overdue
Overdue for less than 7 days
All Function Compute services are frozen. Specifically:
Functions that are currently running are not interrupted, but will not run again once they complete. New requests are not processed.
Time triggers stop scheduling function executions.
Requests in the asynchronous invocation queue are not processed. If the account remains overdue for more than 96 hours, unprocessed requests are gradually removed from the queue.
Reminder notifications are sent at the 12th, 24th, 48th, 72nd, 96th, 120th, 144th, and 167th hours after the overdue payment is generated to warn that service suspension is imminent.
Overdue for 7 days or more
Function Compute stops providing services. All requests and tasks are no longer executed. Your function code and configurations are preserved.
If the overdue payment persists for 15 days or more, resources are permanently released and data cannot be recovered. Top up your account promptly to settle overdue bills and avoid service interruptions or data loss.
If service suspension protection is enabled, the policy for handling overdue payments for Function Compute is as follows.
If the overdue payment is within the protection period or credit limit, you can use Function Compute services as normal.
If the overdue payment exceeds the protection period or credit limit, the system starts counting the number of overdue days. The policies for payments that are overdue for less than 7 days and more than 7 days are the same as the policies for when service suspension protection is not enabled.
Settle overdue payments promptly to prevent business interruptions.
View overdue payments
Log on to Expenses and Costs. On the Homepage page, in the Overview section, view the Total Amount Due.
To view billing details for billable items across all Alibaba Cloud services, see View billing records.
Restore services
Your Function Compute service is restored after you add sufficient funds to your account. For more information, see Online top-up.
If you settle the payment within 96 hours of the overdue date, requests in the asynchronous invocation queue are processed after services resume.
After all overdue payments are settled, existing resources that you have not deleted, such as functions and services, are automatically resumed. Billing continues based on actual usage, such as CU usage and invocation count. Billing resumes without requiring manual confirmation.
To stop billing, perform one of the following:
If you no longer need Function Compute, log on to the Function Compute console and delete the relevant functions and services.
If you want to temporarily suspend the service but keep the code, disable triggers and set the maximum number of instances to 0. When there are no requests, no fees are incurred.
To verify that billing has stopped: Because Function Compute bills hourly, check your bill approximately 2 hours after recharging and processing your resources to confirm that charges have stopped.
To completely stop billing from the console, perform the following steps:
Log on to the Function Compute console.
In the top navigation bar, switch to the region where charges are being generated.
If you have configured provisioned instances, go to Elastic Management in the left-side navigation pane and release all provisioned instances first. Unreleased provisioned instances continue to incur charges.
In the left-side navigation pane, click Functions. In the function list, locate the target functions and services.
For every function and service that generates charges, click More > Delete and confirm the deletion.
After deletion, the system automatically reclaims instances and stops billing for those resources.
Integration with other services
Function Compute can be used with other Alibaba Cloud services, including Object Storage Service (OSS), Simple Log Service, and EventBridge. Each service has its own billing rules. Monitor the resource usage and account balance for both Function Compute and any integrated services, watch for overdue payment reminder text messages or emails, and plan resource invocations accordingly.
FAQ
Why are fees still generated even when my functions are not processing requests?
Can I still use Function Compute if I have overdue payments for other Alibaba Cloud services?
After I set an overdue payment credit limit, why does Function Compute not stop instances automatically and keep charging me?
Setting an overdue payment credit limit does not trigger automatic instance shutdown. When your account has an overdue payment, Function Compute does not stop running instances in order to prevent business interruptions. Therefore, even after the overdue credit limit is reached, billing continues as long as instances have not been manually released or stopped. To stop incurring charges, manually release instances or delete the functions and services you no longer need.
Do Function Compute minor overdue charges support waiver or cancellation?
Incurred charges cannot be directly waived or cancelled. If you have questions, submit a ticket in the console to request verification from Alibaba Cloud customer service. Note the following limitations on coupon usage:
Coupons cannot be used to offset existing overdue bills.
Coupons cannot be used to top up your account balance.
Coupons can only be used to pay for prepaid orders or to offset pay-as-you-go bills generated after the coupons are issued.
To resolve an overdue payment, top up your account balance to cover the outstanding amount.
Why are fees or overdue payments still generated after I claim a coupon?
Fees may still be generated for the following reasons:
Coupons cannot offset existing overdue charges.
Function Compute bills by CU usage. If functions are not deleted and the minimum number of instances is set to 1 or more, billing continues even without invocations. This is because instances stay in the idle (shallow sleep) state and are still charged.
To stop incurring charges:
Log on to the Function Compute console and delete the relevant functions and services.
If you have an overdue balance, top up your account to settle it first. Coupons can only be applied to future bills after the overdue balance is cleared.
To temporarily suspend the service instead of deleting resources, set the maximum number of instances to 0. When there are no requests, no fees are incurred. For more information, see To stop billing in this topic.
My new account received an overdue release warning after only a few invocations. Is this a false risk-control alarm?
This warning is typically caused by activating Function Compute without first claiming the available trial resources, which means normal charges apply from the start. This is not a risk-control freeze or false alarm.
The following actions are recommended:
Top up your account and continue using Function Compute normally.
If you no longer need Function Compute, back up your data and then delete your functions and services to avoid future charges.
I received an overdue payment notification but I am not sure whether I have used Function Compute. How do I investigate?
Follow these steps to identify the source of the charges:
Log on to the Function Compute console. In the top navigation bar, switch to each region one at a time, and click Functions in the left-side navigation pane to view the function list. The function list is region-scoped, so you must check each region separately. The list shows the name, runtime, number of invocations (past 24 hours), and instance specification of each function.
Click a function to open its details page. On the Configurations tab, check the creation time and the last modified time. On the Logs tab, review the invocation requests and function logs to determine whether you created the function and whether it has actually been invoked.
Take action based on what you find:
If you created the function and no longer need it, delete (or disable) the function on the details page to stop billing. For more information, see To completely stop billing from the console in this topic.
If you did not create the function, contact the Alibaba Cloud security team promptly to investigate whether your account has been compromised.