Header Place holder
Azure Functions

Azure FunctionsAzure Functions

Process events with serverless code

Apply for 1RMB Trial Buy Now

Azure Functions provide a serverless development experience supporting a robust set of event triggers and data bindings.

Azure Functions pricing

Azure Functions consumption plan is billed based on per-second resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 400,000 GB-s of resource consumption per month per subscription in pricing across all function apps in that subscription. Customers can also run Functions within their App Service plan at regular App Service plan rates.

*The following prices are tax-inclusive.

*Monthly price estimation is based on a usage of 31 days per month.
METER PRICE FREE GRANT (PER MONTH)
Execution Time* ¥ 0.000113/GB-s 400,000 GB-s
Total Executions* ¥ 1.30 per million executions行 1 million executions
* Free grants apply to paid, consumption subscriptions only.

Note - A storage account is created by default with each Functions app. The storage account is not included in the free grant. Standard storage rates and networking rates charged separately as applicable.

View details on region availability

Pricing details

Executions

Functions are billed based on total number of requested executions each month for all functions. Executions are counted each time a function is executed in response to an event, triggered by a binding. The first million executions are included free each month.

Resource consumption

Functions are billed based on observed resource consumption measured in gigabyte seconds (GB-s). Observed resource consumption is calculated by multiplying average memory size in gigabytes by the time in milliseconds it takes to execute the function. Memory used by a function is measured by rounding up to the nearest 128 MB, up to the maximum memory size of 1,536 MB, with execution time calculated by rounding up to the nearest 1 ms. The minimum execution time and memory for a single function execution is 100 ms and 128 mb respectively. Functions pricing includes a monthly free grant of 400,000 GB-s.

Pricing example

A function with observed memory consumption of 512 MB executes 3,000,000 times during the month and has an execution duration of one second. Monthly billing would be calculated as follows:

Resource Consumption Billing Calculation

Resource consumption (seconds)
Executions
Execution duration (seconds)

3 million executions
x 1 second
Resource consumption Total 3 million seconds
Resource consumption (GB-s)
Resource consumption converted to GBs
Execution time (seconds)

512 MB / 1,024 MB
x 3 million seconds
Total GB-s 1.5 million GB-s
Billable resource consumption
Resource consumption
Monthly free grant

1.5 million GB-s
- 400,000 GB-s
Total billable consumption 1.1 million GB-s
Monthly resource consumption cost
Billable resource consumption
Resource consumption price

1.1 million GB-s
x ¥ 0.000113/GB-s
Total cost ¥ 124.3

Executions billing calculation

Billable executions
Total monthly executions
Monthly free executions

3 million executions
- 1 million executions
Monthly billable executions 2 million executions
Monthly executions cost
Monthly billable executions
Price per million executions

2 million executions
x ¥ 1.3
Monthly execution cost ¥ 2.6

Total consumption billing calculation

Total monthly cost
Monthly resource consumption cost
Monthly executions cost

¥ 124.3
+ ¥ 2.6
Total monthly cost ¥ 126.9

More information

Support & SLA

If you have any questions or need help, please visit Azure Support and select self-help service or any other method to contact us for support.

We guarantee that apps running in a customer subscription will be available 99.95% of the time. To learn more about the details of our Service Level Agreement, please visit the Service Level Agreements page.

Are you ready to start?

Apply for a 1RMB Trial, and get an ¥ 1,500 free credit limit with Azure

1RMB Trial