Quick answer
Neither AWS Lambda nor Cloudflare Workers is cheaper for everything. Monthly costs at official US East list prices checked October 14, 2026: 5M requests, $0.80 on Lambda and $5.40 on Workers; 50M requests, $26.40 on Workers and $86.47 on Lambda; 500M requests, $351.40 on Workers and $1,759.80 on Lambda. For requests at 200 ms, 512 MB and 10 ms of CPU each, Cloudflare Workers becomes cheaper than AWS Lambda above about 6.8 million requests a month.
- Official list prices
- 3 usage levels
- 12 regions
- Feature comparison
- Free calculator
How to compare AWS Lambda and Cloudflare Workers costs
- 1Pick a usage level (5M requests, 50M requests, 500M requests), then change the numbers or add more items with the + buttons.
- 2Choose the Region where your users are. Prices differ by region.
- 3Adjust the numbers in each card. Every field has an i tip explaining it.
- 4Compare the two monthly totals, then open Cost breakdown to see exactly how AWS Lambda and Cloudflare Workers bill each line.
Which is cheaper, AWS Lambda or Cloudflare Workers?
Monthly list prices in US East with the always-free allowances applied:
| Usage per month | AWS Lambda | Cloudflare Workers | Cheaper |
|---|---|---|---|
| 5M requests: 100 ms, 256 MB, 10 ms CPU each | $0.80 | $5.40 | AWS Lambda by $4.60 |
| 50M requests: 200 ms, 512 MB, 10 ms CPU each | $86.47 | $26.40 | Cloudflare Workers by $60.07 |
| 500M requests: 200 ms, 1 GB, 20 ms CPU each | $1,759.80 | $351.40 | Cloudflare Workers by $1,408.40 |
Cloudflare Workers is cheaper for 50M requests a month in all 12 regions the calculator covers. For requests at 200 ms, 512 MB and 10 ms of CPU each, Cloudflare Workers becomes cheaper than AWS Lambda above about 6.8 million requests a month. Every level assumes code that spends most of its time waiting: 10–20 ms of CPU per request.
What are the Lambda and Workers unit prices?
List prices in AWS us-east-1 (N. Virginia) and Cloudflare (one global price), read on October 14, 2026:
| Price (US East, on-demand) | AWS | Cloudflare |
|---|---|---|
| Serverless, per million requests | $0.20 | $0.30 after 10M included |
| Serverless compute | $0.0000166667 per GB-s | $0.02 per million CPU ms |
Is AWS Lambda or Cloudflare Workers cheaper in your region?
50 million requests a month at 200 ms, 512 MB and 10 ms of CPU each, priced in each of the 12 regions the calculator covers:
| Region | AWS Lambda | Cloudflare Workers | Cheaper |
|---|---|---|---|
| US East | $86.47 | $26.40 | Workers |
| US West | $86.47 | $26.40 | Workers |
| Canada | $86.47 | $26.40 | Workers |
| Brazil (São Paulo) | $86.47 | $26.40 | Workers |
| Ireland | $86.47 | $26.40 | Workers |
| UK (London) | $86.47 | $26.40 | Workers |
| Germany (Frankfurt) | $86.47 | $26.40 | Workers |
| India | $86.47 | $26.40 | Workers |
| Singapore | $86.47 | $26.40 | Workers |
| Japan (Tokyo) | $86.47 | $26.40 | Workers |
| South Korea (Seoul) | $86.47 | $26.40 | Workers |
| Australia (Sydney) | $86.47 | $26.40 | Workers |
How do AWS Lambda and Cloudflare Workers compare on features?
| AWS Lambda | Cloudflare Workers | |
|---|---|---|
| Billing | Requests + duration × memory, per 1 ms | Requests + CPU time only; $5/month plan |
| Maximum run time | 15 minutes | 5 minutes of CPU; no wall-clock limit for HTTP |
| Memory | 128 MB to 10,240 MB | 128 MB per isolate |
| Free tier | 1M requests + 400,000 GB-s a month | Free plan: 100,000 requests a day |
| Requests per instance | 1 at a time | Many per isolate |
| Where code runs | One AWS region | Near the user, in 335+ cities |
| Languages | Node.js, Python, Java, .NET, Ruby | JavaScript, TypeScript, Python, Rust, WebAssembly |
Facts from each provider's own documentation, checked October 14, 2026.
What are the key differences between AWS Lambda and Cloudflare Workers?
- What you pay for. Lambda charges for the whole duration × memory, per millisecond. Workers charge only for CPU time: time waiting on databases and APIs is free.
- Minimum. Lambda has no monthly fee and a free tier of 1 million requests; Workers Paid costs $5 a month and includes 10 million requests.
- Limits. Lambda allows up to 10,240 MB of memory and 15 minutes; Workers give each isolate 128 MB and up to 5 minutes of CPU.
- Location. Lambda runs in one AWS region; Workers run in the data center nearest each user, in 335+ cities.
Should you choose AWS Lambda or Cloudflare Workers?
Choose AWS Lambda if
- your functions need more than 128 MB of memory or long runs
- your traffic is small enough to stay inside Lambda's free tier
- your code runs next to other AWS services in one region
Choose Cloudflare Workers if
- your API mostly waits on databases or other APIs
- you want low latency for users worldwide
- you serve a lot of data and want free egress
More comparisons: AWS vs Cloudflare · AWS Lambda vs Google Cloud Run · AWS Lambda vs Azure Functions · Google Cloud Run vs Cloudflare Workers · Amazon S3 vs Cloudflare R2 · Amazon CloudFront vs Cloudflare CDN.
Where do these prices come from?
Both sides use the provider's own published price list, read on October 14, 2026, for the same region, with the always-free allowances applied.
- AWS: AWS Lambda pricing
- Cloudflare: Workers pricing
Prices are in US dollars, on-demand, for Linux, with no commitments. Every figure on this page is generated from the same price snapshot as the calculator, and automated tests check each claim whenever the prices change. A month is 730 hours and 1 TB is 1,024 GB. Providers change prices from time to time, so for a purchase decision confirm the final figure in the provider's console.
Moving between AWS Lambda and Cloudflare Workers?
Playxoft builds and runs production backends on AWS, Google Cloud, Azure and Cloudflare, and plans migrations between them with no surprise downtime, including white-label work for agencies. Send us your architecture or last month's invoice and we will tell you, free, which side is cheaper for your real usage. Get a free cloud cost review.
Frequently asked questions
Last updated by the Playxoft engineering team.