Prompt
Lambda pricing is getting weird for idle services
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
Yeah — AWS Lambda pricing can feel a bit “weird” for idle or mostly-idle services because the model is optimized for spiky, event-driven workloads, not always-on services.
A few key points:
- No charge for idle compute time: If your Lambda isn’t invoked, you’re not paying for execution time.
- But you may still pay for surrounding infrastructure:
- Provisioned Concurrency: charged even when idle
- CloudWatch Logs: ingestion/storage can add up
- Event sources / polling services: e.g. SQS, MSK, DynamoDB Streams can create ongoing costs
- API Gateway / ALB / NAT Gateway: often more expensive than the Lambda itself for low traffic
- Data transfer and VPC networking can also surprise people
Why it gets “weird” for idle services:
- If a service is low-traffic but must stay warm, provisioned concurrency can dominate the bill.
- If it’s behind API Gateway, the gateway cost may exceed Lambda cost at low request volumes.
- If it’s in a VPC, NAT Gateway hourly + per-GB costs can be a bigger idle cost than Lambda.
- If you use scheduled jobs or health checks, small recurring invocations still create a baseline bill.
Rule of thumb:
- Very low traffic / bursty → Lambda is usually cost-effective
- Always-on, predictable, low-latency service → containers or small instances may be cheaper
- Low traffic but latency-sensitive → compare Lambda + provisioned concurrency vs ECS/Fargate/EC2
If you want, I can help you:
- break down the pricing components for your specific architecture, or
- compare Lambda vs ECS/Fargate/EC2 for an idle service.