Skip to content

AWS Lambda

Amazon Web Services

Run code in response to events or HTTP requests without managing servers; pay per request and per millisecond.

Always freeLast checked 17 Nov 2026Official siteSuggest an edit

1 million per month

Requests

Resets monthly

400,000 GB-seconds per month

Compute time

Resets monthly

Card required
Yes
Commercial use
Yes
Custom domain
Not applicable
Over the limit
Bills you

Free limits

Free limits for AWS Lambda
ResourceFree amountResetsTypeSource
Requests1 million per monthMonthlyAlways freerepost.aws · Verified 17 Nov 2026
Compute time400,000 GB-seconds per monthMonthlyAlways freerepost.aws · Verified 17 Nov 2026

If you go over

Bills you. See the gotchas below for the details.

How it works

Lambda runs a function you upload (Node.js, Python, Java, Go and others) whenever an event arrives: an HTTP request, a file landing in S3, a message on a queue or a schedule. AWS starts as many copies as needed and stops them when idle, so there is nothing to keep running.

You are billed per request and for compute time, measured in GB-seconds: the memory you give the function multiplied by how long it runs. 400,000 GB-seconds is, for example, a 128 MB function running for about 3.2 million seconds in a month.

What you can build

  • HTTP APIs behind API Gateway or a function URL
  • Processing uploads, queue messages and database changes
  • Scheduled jobs such as nightly clean-ups and reports

Gotchas

  • On the Free plan, usage beyond the allowance comes out of your credits; on the Paid plan it is billed at normal rates.
  • API Gateway, data transfer and CloudWatch logs from your functions are charged separately.
  • AWS asks for a payment method at sign-up and holds USD $1 for a few days to verify the account.

Alternatives

  • Cloudflare Workers · Serverless functions on Cloudflare's global network, started in milliseconds with no cold-start containers.
  • Vercel Hobby · Free Vercel plan for personal projects: Git deploys, previews and serverless functions.

Used in stacks