Serverless pricing calculator
Compare the cost of running serverless functions across major cloud providers. Adjust workload parameters to estimate monthly costs.
Cloud compute / cost model
Serverless Pricing Calculator
Compare costs across cloud providers
1,000,000
200 ms
AWS Lambda
Requests: $0.00 | Compute: $0.00
$0.00
/month
Azure Functions
Requests: $0.00 | Compute: $0.00
$0.00
/month
Google Cloud Functions
Requests: $0.00 | Compute: $0.00
$0.00
/month
Cloudflare Workers
Requests: $0.13 | Compute: $0.00
$0.13
/month
* Estimates based on published pricing. Actual costs may vary. Cloudflare Workers uses a different pricing model (CPU time, not GB-seconds).
How serverless pricing works
Serverless pricing is typically based on two main factors:
- Number of requests—each function invocation incurs a small charge
- Compute time—measured in GB-seconds (memory allocated × execution duration)
All major providers offer free tiers, making serverless cost-effective for small to medium workloads. At scale, differences in pricing models can materially affect the bill.
Key considerations
- Cold starts—initial invocation latency varies by provider and runtime
- Regional pricing—costs may vary by deployment region
- Additional services—API Gateway, storage, and networking add to total cost
- Reserved concurrency—some providers charge for guaranteed capacity