AWS Lambda Pricing
With AWS Lambda, you pay only for what you use. You are charged based on the number of requests for your functions and the time your code executes.
You are charged for the total number of requests across all your functions. Lambda counts a request each time it starts executing in response to an event notification or invoke call, including test invokes from the console.
¥ 1.36 per 1 million requests (¥ 0.00000136 per request)
Duration is calculated from the time your code begins executing until it returns or otherwise terminates, rounded up to the nearest 100ms. The price depends on the amount of memory you allocate to your function. You are charged ¥ 0.000113477 for every GB-second used.
The table below shows the approximate price per 100ms associated for different memory sizes.
|Memory (MB)||Price per 100ms (¥) (Beijing)||Price per 100ms (¥) (Ningxia)|
You may incur additional charges if your Lambda function utilizes other AWS services or transfers data. For example, if your Lambda function reads and writes data to or from Amazon S3, you will be billed for the read/write requests and the data stored in Amazon S3.
For details on AWS service pricing, see the pricing section of the relevant AWS service. Links to pricing for some of the commonly used services are listed below.
Data transfer (If your Lambda function initiates external data transfers, they will be charged at the EC2 data transfer rate)
Amazon S3 pricing (includes pricing for storage, requests, and data transfer)
Amazon DynamoDB (includes pricing for data storage, throughput capacity, and data transfer)