CostHex

Cloudflare Workers pricing and cost examples

For example, 15 million Worker requests at 7 ms CPU each cost an estimated $8.00 per month on Workers Paid Standard. Use your monthly requests and CPU milliseconds in the formula below. Other product charges and taxes are extra.

The rates to use

Workers Paid Standard, per account
MeterMonthly inclusionAdditional usage
Base charge$5.00Plus usage below
Requests10,000,000$0.30 per million
CPU milliseconds30,000,000$0.02 per million CPU ms

Source: Cloudflare's official Workers pricing. This estimates Paid Standard, not Free or Enterprise contracts. Combine usage across your account; subtract each monthly inclusion once.

Calculate your monthly request and CPU cost

Let R be monthly billable requests and C be total CPU milliseconds:

$5 base
+ max(0, R - 10,000,000) / 1,000,000 × $0.30
+ max(0, C - 30,000,000) / 1,000,000 × $0.02

If every billable request runs Worker code, use C = R × average CPU ms. With Workers Caching, calculate CPU from the requests that run code. Do not substitute P99 CPU for the average. Keep the units consistent: 1 second is 1,000 milliseconds.

For the first-screen example, 15 million × 7 ms gives 105 million CPU ms. Subtract the inclusions: requests add $1.50 and CPU adds $1.50 to the $5 base.

Compare four illustrative workloads

Every request in these examples runs Worker code. No cache hits, discounts or other product usage are modeled.

Monthly estimates with both inclusions deducted
RequestsMean CPURequest chargeCPU chargeTotal with base
1,000,0005 ms$0.00$0.00$5.00
15,000,0007 ms$1.50$1.50$8.00
100,000,0007 ms$27.00$13.40$45.40
1,000,000,0005 ms$297.00$99.40$401.40

Static assets and Workers Caching

Static asset requests are free unless Workers Caching is enabled. With Workers Caching, cache hits count toward billed requests, including static assets and Worker-to-Worker calls. CPU is charged only when code runs.

For the 100 million-request example, an 80% cache hit rate leaves 20 million code executions at 7 ms each. Requests cost $27.00, CPU costs $2.20, and the $5 base brings the total to $34.20. These are illustrative estimates.

Before using this as your budget

List every service your request touches. This table covers Workers requests and CPU only. Check storage, database operations, queues and logs separately before adding up an application budget.

A calculation also needs a traffic assumption. Recalculate with a higher request count and with slower code. Decide which result you can tolerate, then choose who will respond if usage rises.

Cloudflare's Workers spending limit counts request and CPU charges after included usage. It excludes the subscription fee and other products. Blocking takes time, so it is not an exact bill cap. Follow our spend-limit and budget-alert setup guide.

For monitoring, see CostHex's Cloudflare cost alerts. An estimate or an alert cannot guarantee a maximum bill.

Official sources

Cloudflare: Workers pricing, Workers Caching billing and Workers spending limits. Checked November 25, 2026.