Functions Pricing

Event-driven compute on demand.

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 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. Customers can also run Functions within their App Service plan at regular App Service plan rates.

Meter Price Free Grant (Per Month)
Execution Time* $-/GB-s 400,000 GB-s
Total Executions* $- 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 and any usage will be charged at standard storage rates.

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 seconds it takes to execute the function. Memory used by a function is measured to the nearest 128MB up to the maximum memory size of 1,536MB. Functions pricing includes a monthly free grant of 400,000 GB-s.

Pricing example

A function with observed memory consumption of 1,536MB, executes 2,000,000 times during the month and has an execution duration of 1 second; monthly billing would be calculated as follows:

Resource Consumption Billing Calculation

Resource Consumption (Seconds)
Executions 2 million seconds
Execution Duration (Seconds) 1 second
Resource Consumption Total 2 million seconds
Resource Consumption (GB-s)
Resource Consumption converted to GB’s 1,536 MB / 1,024 MB
Execution Time (Seconds) 2 million seconds
Total GB-s 3 million GB-s
Billable Resource Consumption
Resource Consumption 3 million GB-s
Monthly Free Grant 400,000 GB-s
Total Billable Consumption 2,600,000 GB-s
Monthly Resource Consumption Cost
Billable Resource Consumption 2,600,000 GB-s
Resource Consumption Price $-/GB-s
Total Cost $41.600000

Executions Billing Calculation

Billable Executions
Total Monthly Executions 2 million executions
Monthly Free Executions 1 million executions
Monthly Billable Executions 1 million executions
Monthly Executions Cost
Monthly Billable Executions 1 million executions
Price per million Executions $-
Monthly Execution Cost $-

Total Consumption Billing Calculation

Total Monthly Cost
Monthly Resource Consumption Cost $41.600000
Monthly Executions Cost $-
Total Monthly Cost $-

More Information

Other information regarding Azure Functions:

Support & SLA

  • Free billing and subscription management support
  • Flexible support plans starting at $29.0/month. Find a plan
  • We guarantee that Apps running in a customer subscription will be available 99.95% of the time. Read the SLA

Resources

Sign up now and get $200 in Azure credits

Start today