Function billing
Functions and Pages offers a Free and a Paid. You can select a mode based on your needs:
Free (default): Suitable for developers or personal projects, such as personal blogs.
Paid (pay-as-you-go): Suitable for enterprise online businesses.
Item | Free mode | Paid mode |
Requests and concurrency |
| No limit on requests and concurrency. |
Log delivery | Not supported | Support |
Functions per account | 20 | 100 |
Versions per function | 5 | 20 |
Site bindings per function | 20 | 100 |
SLA | Not provided | 99.95% |
Switch account mode
Log on to the ESA console. In the navigation pane on the left, choose .
On the Functions And Pages page, click Change.

In the dialog box that appears, select Free Mode or Paid Mode. Select the Confirm mode switch checkbox, and then click Confirm Change.
NoteIn Free Mode, your account is limited to 100,000 function requests per day. If this limit is exceeded, requests return a 503 error until the quota resets at 00:00 the next day.
When you switch from Paid Mode to Free Mode, the system checks your account's configuration. If your account has configurations that are available only in Paid Mode, the switch fails. For example, the switch fails if the number of functions in your account exceeds the quota for Free Mode.
The new mode takes effect immediately after the switch.
You can switch modes only once every 24 hours.
Billing cycle
Billing is calculated on a daily basis. Fees incurred each day are deducted at 00:00 on the following day.
Pricing
Edge functions are billed based on the number of requests. The price is USD 0.72 per million requests.
Billing example
Assume that you have created two edge functions. On January 1, 2024, Function A was invoked 1 million times and Function B was invoked 2 million times.
The fees for the edge functions on January 1, 2024 are calculated as follows: USD 0.72 per million requests × 1 million requests + USD 0.72 per million requests × 2 million requests = USD 2.16.
The fees incurred on January 1, 2024 are deducted at 00:00 on January 2, 2024.
Pages billing
You can make Pages accessible by adding a domain binding or a route. All traffic fees incurred are deducted from the site's plan traffic quota. If your Pages site makes dynamic function invocations, the invocations are billed according to the Function billing rules.