First 1,000,000 requests free every month
Lambda max timeout: 15 minutes (900,000 ms)
Range: 128 MB to 10,240 MB
Rate: $0.0000041667/GB-second (x86)
Keeps functions warm to eliminate cold starts
No data stored. Runs entirely in your browser.
ARM Graviton2 costs 20% less than x86. Supported by Node.js, Python, Java, Go, Ruby, and .NET with no code changes required.
Reducing memory reduces cost proportionally. Use AWS Lambda Power Tuning to find the optimal memory setting for your workload.
Change runtime architecture to arm64. No code changes needed for most runtimes. Takes 30 seconds in Lambda console.
Most functions use far less memory than allocated. Use AWS Lambda Power Tuning to find the optimal memory vs cost tradeoff for your specific function.
Duration is billed in 1ms increments. Cache DB connections outside handler, use async operations efficiently, minimize cold start overhead.
Provisioned Concurrency charges even when idle. Only use it when cold start latency directly impacts user experience — not for background jobs or infrequent functions.