Azure functions billing on linux consumption plan

Jacob Thomas 21 Reputation points

I have a function app using linux consumption plan under an enterprise subscription. It is a java based function connected to application insights. As per documentation, there are 2 cost line items related to functions usage-

Execution time - calculated as product of memory used * execution time in seconds.
Total executions
Both have free monthly grants of 400,000 GB-s and 1 million executions resp. Beyond this, cost is calculated as -

Execution Time* €0.000017/GB-s
Total Executions* €0.201 per million executions
In my monthly bill, I can see a cost incurred against the execution time but nothing against total executions. Although a small amount, I am not sure how it would have exceeded the monthly free grant of 400,000 GB-s.

How can I verify the actual execution time to confirm the cost is calculated correctly?

I checked the metric named "Function Execution Units" with aggregation as "Sum" for the whole month under the metrics page of my function app. It shows 838 M. Is this the execution time? If yes, it is very low compared to free grant?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,027 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
1,190 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,221 Reputation points

    Hi @Jacob Thomas ,

    I would suggest you use the Functions pricing calculator to calculate the costs. You will have to choose the appropriate region (select closest if your region isnt available) , memory size , execution time, and the number of executions. This would provide the monthly cost.

    Pricing calculator:


    Feel free to reach out to me if you have any queries or concerns.