What this estimate includes
On-demand request and compute SKUs for AWS Lambda, Azure Functions consumption, Google Cloud Run / Cloud Functions list prices, and Cloudflare Workers Paid, plus public internet egress from the function when you enter outbound GB. Free-tier request and compute grants are applied when the toggle is on.
What it does not include
- Provisioned concurrency, min instances, or always-on Cloud Run
- API Gateway, load balancer, or Workers KV / R2 operations in front of the function
- Log ingest and trace export (often larger than compute at scale)
- Cold-start retries and minimum billed duration rounding beyond what the public page states
- Committed-use discounts and private contracts
How to read the ranking
Short, tiny functions are usually dominated by the per-request line. Long, memory-heavy jobs are dominated by GB-seconds or vCPU-seconds. Workers’ CPU-time model will not match Lambda GB-seconds even when both serve JSON; treat the ranking as a directional compare, then read the breakdown.
Duration should be average billed duration, not wall-clock p50 from a local test. Providers round up (Lambda to the millisecond with a 1 ms minimum on current docs, older generations used 100 ms). If your observability already shows billed duration, paste that.