Functions pricing
Event-driven compute on demand
- No upfront cost
- No termination fees
- Pay only for whole minutes
- Extra seconds are free
Azure Functions provide a serverless development experience supporting a robust set of event triggers and data bindings.
US government entities are eligible to purchase Azure Government services from a licensing solution provider with no upfront financial commitment or directly through a pay-as-you-go online subscription.
Important—The price in R$ is merely a reference; this is an international transaction and the final price is subject to exchange rates and the inclusion of IOF taxes. An eNF will not be issued.
Azure Germany is available to customers and partners doing business in the European Union (EU), the European Free Trade Association (EFTA), and in the United Kingdom (UK). It provides data residency in Germany with additional levels of control and data protection. You can also sign up for a free Azure Germany trial.
Functions is not available in the Germany Central region. Please select another region.
Functions is not available in the Germany Northeast region. Please select another region.
Functions is not available in the Korea Central region. Please select another region.
Functions is not available in the Korea South region. Please select another region.
Functions is not available in the UK West region. Please select another region.
Functions is not available in the West Central US region. Please select another region.
Functions is not available in the West India region. Please select another region.
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. 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 |
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 regional 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 seconds 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 100 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 1,536 MB executes 2,000,000 times during the month and has an execution duration of over 1 second. Monthly billing would be calculated as follows:
Resource Consumption Billing Calculation
| Resource consumption (seconds) | |
| Executions | 2 million executions |
| Execution duration (seconds) | 1 second |
| Resource consumption Total | 2 million seconds |
| Resource consumption (GB-s) | |
| Resource consumption converted to GBs | 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.6 |
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.6 |
| Monthly executions cost | $- |
| Total monthly cost | $- |
More information
- Functions can also be hosted on App Service Virtual Machines
- Check out Azure Functions documentation for the latest information
- Azure Functions developer reference
Support & SLA
- Free billing and subscription management support
- Flexible support plans starting at $29/month. Find a plan
- We guarantee that apps running in a customer subscription will be available 99.95% of the time. Read the SLA