Source-linked reports: Amounts and outcomes come from the original reports and linked replies.
Sindre Reino Trosterud (@STrosterud): bots hammered a side project’s public lookup for days, producing a $300 D1 bill.
Sindre Reino Trosterud (@STrosterud) asks a Cloudflare engineer whether Cloudflare will ever offer a spending limit rather than an alert, saying a $300 bill arrived after bots found a side project: even with is_bot checks, a rate limit was missing on a public lookup and it was hammered over a couple of days. Cloudflare principal engineer Dillon Mulroy replies with a link quoting the hard spending-cap preview. In a later reply the author says the resource was D1, that “they are following up personally”, and that it was an open-source side project rather than a business.
What happened
- Reported cause
- Traffic spike
- Incident date
- Date not recorded
- First reported
- 2026-10-30 11:31 UTC
- Billing outcome
- Not recorded
- Case progress
- Not established
- Public Cloudflare reply
- Personnel reply linked
Original sources
Each entry links to the report or reply it describes.
Case timeline
Author reports the bill
Read on 𝕏The author says bots hammered a public lookup missing a rate limit, producing a $300 bill.
Sindre Reino Trosterud
@STrosterud · Original 𝕏 post
@dillon_mulroy Any chance to some day get a spending limit on Cloudflare? Not an alert but limit Got fucked for a 300 dollar bill as bots found a side project. And even with is_bot checks, a rate limit was missing for a public lookup, and it got hammered over a couple of days
Cloudflare engineer reply
Read on 𝕏A Cloudflare principal engineer replies with a link to the spending-cap preview.
Dillon Mulroy
@dillon_mulroy · Original 𝕏 post
@STrosterud https://t.co/rIWLAN3abh
Product and follow-up
Read on 𝕏The author says the resource was D1 and that they are following up personally.
Sindre Reino Trosterud
@STrosterud · Original 𝕏 post
@krystiangebis @dillon_mulroy D1 They are following up personally, so so far so good. Is the price of doing stuff And it’s clearly a limitation they know about. Even though spending limits are table stakes. Luckily just an open source side project and not business related
More to read
风易: Do not call the upstream response live every time; use the Cache API for edge caching
On 2026-11-18, X user @Michael_liyang (风易) wrote: do not call the upstream response live every time; use the Cache API for edge caching. The approach is: the request checks the Cache API first and returns directly on a hit; on a miss, call upstream, write the successful response into the cache with a TTL; write operations do not enter the cache, and the hit rate is recorded in the D1 daily report. The chain is request → check cache → return on hit → call upstream on miss → write back → return. The author's judgment: what is cached is the upstream result, not your business state.
JeffScottDev: spent $300 by accident enabling 10 of something instead of one, and got it all back through the refund process.
X user @JeffScottDev (Jeff Scott), replying to @stevemcniven, says $300 was spent by accident when enabling 10 of something on Cloudflare while only one was wanted, that there is a refund process, and that all of it was refunded. He does not name the product.
Turn free allowances into daily budgets with alerts at 70% and 90%
风易 (@Michael_liyang) says 100,000 requests a day and 5 million rows read a day are hard walls, not a safety margin: split production and test into different Workers and D1 databases, alert at 70% and 90%, and degrade before the site returns 500s.