Function billing
Edge Functions and Pages offers a Free and a Paid to meet different needs:
-
Free (default): For developers and personal projects, such as blogs.
-
Paid (pay-as-you-go): For enterprise online services.
|
Item |
Free mode |
Paid mode |
|
Requests and concurrency |
|
No limits on requests or concurrency. |
|
Log delivery |
Not supported |
Supported |
|
Functions per account |
20 |
100 |
|
Versions per function |
5 |
20 |
|
Site bindings per function |
20 |
100 |
|
SLA |
Not provided |
99.95% |
Switching account mode
-
Log on to the ESA console, and in the left navigation bar, select .
-
On the Functions & Pages page, click Change.

-
In the dialog box, select Free or Paid, select the I confirm the switch to Free Mode checkbox, and click OK.
Note-
In Free mode, function requests are capped at 100,000 per day. Excess requests return a 503 error until the quota resets at 00:00 the next day.
-
Switching from Paid to Free mode fails if your account exceeds Free mode limits, such as the maximum number of functions.
-
The new mode takes effect immediately.
-
You can switch modes only once every 24 hours.
-
Billing cycle
Charges are calculated daily and deducted at 00:00 on the following day.
Pricing
Edge Functions are billed at USD 0.72 per million requests.
Billing example
Assume on January 1, 2024, Function A handled 1 million requests and Function B handled 2 million requests.
Calculation: (USD 0.72 per million requests × 1 million requests) + (USD 0.72 per million requests × 2 million requests) = USD 2.16.
Deduction: January 1 fees are deducted at 00:00 on January 2, 2024.
Pages billing
Access Pages through a domain binding or route. Traffic costs are deducted from the site's plan traffic quota. Dynamic function invocations are billed as requests per the Function billing rules.