LambdaCost

How Much Does AWS Lambda Cost?

AWS Lambda pricing is promising – you don’t pay for idle, and you are billed for 100 milliseconds intervals. The pricing model is described thoroughly in this page, but honestly – do you really know what the cost of each function is?

There are too many parameters that you need to take into account when calculating the cost of each function, which turns out to be tough work. Also, what about monthly cost estimation?

At Epsagon, we love sharing open source tools for making day-to-day tasks quicker and easier! This time we decided to focus on the cost analysis for Lambda functions. The lambda-cost-calculator enumerates your functions as well as the following data:

  • Count of invocations
  • Average duration
  • The cost on the last day
  • Monthly estimated cost

Following is an example output for CLI and CSV:

CLI output

CSV output

The tool is available for use, and we would love to hear your feedback!