AWS Lambda pricing works by counting how many times your function runs and how long it runs with how much memory. Each request counts, and each second of execution with allocated memory counts as GB-seconds. AWS gives you a free tier of 1 million requests and 400,000 GB-seconds per month. You pay only for what you use beyond that. For example, if you run 3 million requests with 512 MB memory and 200 ms duration, you calculate total GB-seconds by multiplying requests, duration in seconds, and memory in GB. Then subtract free tier amounts. The remaining billable requests and compute are multiplied by their rates to get the total cost. This step-by-step calculation helps you understand your Lambda bill clearly.