Cloudflare cost playbook
A community playbook for Cloudflare cost retrospectives, cost models, and code review.
- Products
- WorkersR2
- Source
- Community resourceGitHub repository
- Author
- KurosawaGeeker
Key points
- The repository combines incident retrospectives with agent review rules for request paths, polling, caching, and billing alerts.
- Its calculator distinguishes direct public R2 reads from Worker-proxied reads. A cache hit can avoid an R2 read but still invoke a Worker; the model covers selected Workers and R2 usage, not the whole bill.
- The repository provides review material and a calculator template, not a hosted service or a hard spending cap.
Original sources
Undated
Cloudflare cost playbook
Open original sourceA community playbook for Cloudflare cost retrospectives, cost models, and code review.
More to read
Cloudflare costs $5 a month, but the bill is not capped
不追高 (@Ariella1213) writes an X article explaining that Workers Paid’s $5 is a minimum, that per-product limits and budget alerts do not cap the account bill, and how denial-of-wallet requests, write amplification, delayed stops and background retries add cost.
babynarc: a Durable Objects alarm loop and a surprise bill that grew from $300 to $500.
@babynarc says an alarm loop in an old Durable Object he thought was inactive left him badly burned: he watched a surprise $300 bill grow to $500 even after killing it. Replying to Cloudflare's Dane Knecht and Kenton Varda, he suggests prepending budget-alert details to every `cf` result by default.
Polaris: self-hosted Free-plan remaining-quota and cost dashboard on Workers
etak64n/polaris is an MIT-licensed dashboard on Cloudflare Workers that shows how much of each Free plan limit is left and the cost/metrics of Workers, D1, R2, KV, Durable Objects, Queues, Workflows, Hyperdrive, Browser Run and Workers AI. It deploys behind Cloudflare Access and reads Analytics with an API token kept as a secret.