billflare.

Usage monitoring · Content tag

Browse cases and guides discussing usage monitoring.

27 matching items

Cases · 6

Other

sylwair: nearly $900 of usage in under two days after a project mistake.

@sylwair says a recent project mistake ran up nearly $900 in less than two days. He says he spotted it in Cloudflare's billable-usage view and stopped the abnormal service, and in a reply adds that the daily billing figures appeared with a delay, so the amount did not visibly drop after he stopped it.

Reported amount · USD

$900

Reported cause: Unknownx.com
First reported: Latest update:
Durable Objects

Will Moss: an alarm loop, 20 trillion Durable Object reads and a reported $34,895 invoice.

@itswillmoss reports 20,213,871,155,804 Durable Object reads, a dashboard mismatch and lost project access. He attributes the loop to health checks waking onStart and repeatedly setting an alarm. The X thread estimates the cost above $30,000; a same-day Hacker News post by thewillmoss describing the same alarm loop reports a $34,895 invoice and a support case awaiting a billing response.

Reported amount · USD

$34,895

Reported cause: Unbounded loopx.com
First reported: Latest update:
Durable Objects

Steven Menke: an Agents SDK bug and a reported $1,700 Durable Objects invoice.

Steven Menke (@Galorious_) reports that runaway Durable Objects caused by an Agents SDK bug produced a $1,700 invoice in three days, citing one trillion SQLite reads (a later post says writes). He says his support ticket, even after a maintainer escalated it, received no reply for months.

Reported amount · USD

$1,700

Reported cause: Read volumex.com
First reported: Latest update:
Workers

Paweł Mioduszewski: an R2-event queue loop, a $302 charge and a reported $284 account credit.

Paweł Mioduszewski (@mioduszewsky) says buggy Worker code created an infinite loop on an "R2-object-created" queue, with the consumer saving files back into the same bucket. He first estimated at least $343 across Workers, Image Transformations and Queues, then says Cloudflare charged him $302 while his support case waited. About three weeks after contacting support, he reports no cash refund but a $284 account credit that basically wiped the Image Transformations charges.

Reported amount · USD

$302

Reported cause: Unbounded loopx.com
First reported: Latest update:
Workers

RetainDB: a reported $36k bill from a queue loop with 81 users.

Reddit user alameenswe, building RetainDB on Workers, KV, Durable Objects and Queues, reports a Cloudflare bill of about $36k for one month with 81 users; the post body says $35,000. He attributes it to a queue consumer that re-queued async writes, 12 unbatched Durable Object writes per memory write and a kv.list() authentication fallback.

Reported amount · USD

$36,000

per month

Reported cause: Unbounded loopwww.reddit.com
First reported: Latest update:

Guides · 21

GuideWorkersD1Durable ObjectsR2Queues

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.

GuideAccount-wide usage-based productsDurable Objects

Why hard spending caps take time: Ashley Peacock on billing latency

Ashley Peacock (@ashleypeacock), who works on Durable Objects at Cloudflare, explains from experience why near-real-time spending caps are hard to build, says hard billing caps are coming soon, and suggests budget alerts plus issue alerts in the meantime.

GuideAccount-wide usage-based products

Billable Usage API

Cloudflare introduces an API that returns a self-serve account’s usage and cost by product and service period, currently updated daily.

GuideWorkersKVD1R2Queues

cf-usage-guard

An open-source library that reads account usage from the Cloudflare GraphQL API and circuit-breaks individual Worker bindings before overages.

GuideDurable ObjectsWorkers

cloudflare-cost-guard

Louis Cai’s open-source rules and TypeScript base class for keeping Durable Object alarms and Worker schedulers from runaway loops.

GuideAccount-wide usage-based productsWorkersDurable ObjectsR2

Optimize costs

Cloudflare lists ways to find and reduce usage-based charges by product.