Cloudflare DevelopersCD
Cloudflare Developers8mo ago
14 replies
scotto

We are planning to migrate a big project to cloudflare workers but we have a question regarding cost

We are evaluating compute platforms for a large-scale deployment and would like to confirm Cloudflare Workers pricing based on the following usage:

100 million requests per day (approximately 3 billion per month)

Each request runs for approximately 50 milliseconds of CPU time

Each request requires a public HTTP endpoint

Approximate memory footprint per request: 128 MB (understood that Workers are billed by CPU time)

Based on the published pricing model:

$0.30 per 1 million requests

$0.02 per 1 million CPU milliseconds

Our internal estimate for Cloudflare Workers is:

Request cost: 3,000 million × $0.30 = $900

CPU time cost: 150,000 million ms × $0.02 = $3,000

Total estimated monthly cost: $3,900

For comparison, the equivalent workload on AWS Lambda (128 MB, 100 ms duration) would cost:

Request cost: 3,000 million × $0.20 = $600

Duration cost: 37.5 million GB-seconds × $0.0000166667 = ~$625

Total estimated monthly cost on AWS Lambda: ~$1,225

Could you please confirm whether the Cloudflare estimate is accurate and if there are any other factors we should consider at this level of usage?

Thank you.
Was this page helpful?