∑
DevFormula
AI Tokens & Cloud ComputeVerified 2026-10-21

Cloudflare Workers Serverless Cost Calculator

Simulate edge serverless execution costs on Cloudflare Workers Standard Paid plan ($0.30 per 1M requests).

Parameters & Config

calls
calls
1,000calls1,000,000,000calls

Total function executions triggered per month

MB
MB
128MB10,240MB

RAM allocated to the serverless container

ms
ms
1ms900,000ms

Average latency per execution in milliseconds

$
$
0.01$5$

Cloud provider fee per 1,000,000 invocation requests

$
$
0$0.001$

Charge per GB-second of compute runtime consumed

Total Monthly Cloud BillLIVE ESTIMATE
$8.09

Combined monthly charge for invocations and compute runtime

Effective Cost per 1M CallsLIVE ESTIMATE
$0.32

Blended cost to execute 1,000,000 function requests

Key Metrics & Sub-Totals

3 items
Compute Runtime ChargeCost based on memory allocated and total execution duration (GB-seconds)
$0.59
Invocation Request ChargeCost for incoming API function invocations
$7.50
Monthly GB-Seconds ConsumedTotal memory-time compute units utilized
46,875 GB-s

Calculation Summary & Unit Breakdown

MetricCalculated ValueNotes / Logic
Monthly Invocations25,000,000requests/month
Allocated Function Memory128 MB0.125 GB
Average Execution Duration15 msper call
Total Compute Volume46,875 GB-sGB-seconds
Request Surcharge$7.50Invocation fee
Compute Runtime Charge$0.59Memory-duration fee
Effective Cost per 1M Calls$0.32Blended rate
Total Monthly Cloud Bill$8.09USD

Overview & Methodology

Cloudflare Workers runs on Chrome V8 isolates distributed across 330+ edge data centers. The Paid plan ($5/mo includes 10M requests) charges $0.30 per 1M requests plus $0.0000125 per GB-second of active wall-clock CPU time.

Mathematical Formulation

Total Cost = $5.00 Base + ((Billable Requests / 1M) × $0.30) + (Compute GB-s × $0.0000125).

Optimization Best Practices

1

Unlike AWS Lambda which bills idle I/O wait time, Cloudflare Workers bills strictly for active CPU time, slashing costs for fetch/network heavy proxies.

2

Zero cold starts: V8 isolates instantiate in less than 5 milliseconds worldwide.

3

Pair with Cloudflare KV, D1 (SQL), or R2 object storage with zero egress fees.

Frequently Asked Questions

Q.How much does 25,000,000 Cloudflare Workers requests cost?
A.

Invocations cost ~$7.50 plus ~$0.59 compute time, totaling around $8.09 on top of the $5 base plan.

Q.How is Cloudflare Workers CPU billing different from AWS Lambda?
A.

Cloudflare only bills while JavaScript code is actively computing; while waiting for external database or fetch calls, CPU billing pauses.

Q.Is there a free tier for Cloudflare Workers?
A.

Yes. Cloudflare Workers offers 100,000 requests per day for free on the Free tier.