billflare.

Workers · Product category

Browse cases and guides explicitly labeled Workers.

29 matching items

Cases · 7

Workers

Jovan Jester: a recursive image-processing Worker and about $2.2k in charges.

Jovan Jester (@JovanJester), a solo developer, asks CloudflareHelp and CloudflareDev for help with a surprise bill from an accidental recursive loop in an image-processing Worker. Weeks later he says the bug left about $2.2k in charges and asks for tips on getting a credit or a deferred payment plan, worried his domains and DNS could be shut down over the unpaid charges.

Reported amount · USD

$2,200

Reported cause: Unbounded loopx.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 · 22

GuideDurable ObjectsWorkers

Put the spending ceiling into AI-generated code

Prasenjit Sarkar (@stretchcloud) uses the Durable Objects alarm loop to argue that alarms bill without traffic, that a single console cap cannot cover multi-vendor agent work, and that generated code needs execution quotas, idempotency checks and a kill switch.

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.

GuideD1Workers

Watch D1’s daily row quotas while testing

Michal Raczka (@michalraczka) warns that D1’s daily row read and write quotas can stop all D1 queries until midnight UTC, notes that indexes trade reads for extra writes, and moves heavy tests to local Miniflare.

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.