billflare.

Budget alerts · Content tag

Browse cases and guides discussing budget alerts.

24 matching items

Cases · 5

Durable Objects

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.

Reported amount · USD

$500

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

shmily7: a Durable Object alarm loop and a reported US$10,811.41 bill.

@shmily7 reports a Durable Object alarm loop in an unused test project, then says he paid the full US$10,811.41 bill to avoid service suspension. Cloudflare’s Ashley Peacock publicly says he is looking into it internally and will follow up. Cloudflare’s Dane Knecht later replies that he escalated it too. On October 9 the author declares the case closed: he reports that, with Ashley Peacock’s help, Cloudflare decided to refund the charges incurred during the bug in full, with the money still to arrive, and posts the support ticket reply he received.

Reported amount · USD

$10,811.41

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

Guides · 19

GuideAccount-wide usage-based products

A budget alert is a horn, not a brake

@GUYUE_LGY points to Cloudflare’s Budget alerts documentation: alerts send email when spend crosses a threshold but do not pause or cap usage. Before letting AI run unattended, the author checks what actually happens at the line.

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

Budget alerts

Cloudflare documents account-wide spend alerts and their notification limits.

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.