Source-linked reports: Amounts and outcomes come from the original reports and linked replies.
Mircea Trofimciuc: agent count(*) queries on D1 and a reported $700+ bill.
Mircea Trofimciuc (@MirceaTrofim) reports a $700+ bill after an AI agent ran a few count(*) queries on a large D1 table to get the number of records. He says support won't credit the account and that he was charged, and asks @CloudflareDev for help.
What happened
- Reported cause
- Read volume
- Incident date
- Date not recorded
- First reported
- 2026-05-06 15:14 UTC
- Billing outcome
- Request declinedAuthor-reported
- Case progress
- Not established
- Public Cloudflare reply
- Not linked
Latest reported outcome
The author reports that support won't credit the account and that he was charged; he asks @CloudflareDev to help.
View this update in the timelineOriginal sources
Each entry links to the report or reply it describes.
Case timeline
Agent queries lead to a $700+ D1 bill
Read on 𝕏Replying to @CloudflareDev, the author says D1 billing is “insane” with agents: an agent ran a few count(*) queries on a big table and he got a $700+ bill. He says support won't credit the account, that he was charged, and that @levelsio had been credited in a similar situation.
Mircea Trofimciuc
@MirceaTrofim · Original 𝕏 post
I don't know about that @Cloudflare (I love the company btw) but the D1 billing is INSANE when using Agents I got hit with $700+ bill because the agent did few count(*) queries on a big table to get the number of records. Now support won't credit that account and I got charged.… pic.twitter.com/aFY3F9Vysg
More to read
Workers Free: 50 subrequests per request is a wall, not a quota
风易 (@Michael_liyang) says a single Workers Free request can make at most 50 subrequests, counting upstream calls, KV reads and D1 writes, and going over fails with an error; he suggests counting subrequests, caching what you can, batching reads and splitting overflow work into a queue.
igorrizzom: a forgotten Durable Object alarm billed US$ 2,038; Support refunded US$ 1,533.29, leaving US$ 505.
X user @igorrizzom (Igor Rizzo), who also posted on Cloudflare Community as igorarm (urnaaovivo.com), says a personal, non-commercial prototype that collected public election data in Brazil was left running after the October 25 runoff. A Durable Object kept rescheduling itself via alarm every ~5 seconds and writing to SQLite, and the invoice reached US$ 2,038, almost all from DO rows written, with about 10k pageviews. The author says budget alerts were set up but went to an old inbox that was never checked, and that alerts do not stop usage. Spend limits for Workers and Durable Objects were only announced on November 13, after almost all of the usage; the author then set a US$ 1 spend limit, turned the collector off, and removed Cron Triggers. The author says Support refunded US$ 1,533.29 as a one-time courtesy. The remaining US$ 505, which the author later described as US$ 500 of usage plus the US$ 5 Workers Paid fee, was closed as final; the author asked for a supervisor review in case #02442826 (follow-up to #02435308) and also asked @SidChatterjee whether any goodwill path remained for pre-launch cases. There is no Cloudflare staff reply on the public X thread or the Community thread. Public Support actions are reported by the author.
Michael Liyang: record every AI call in D1 and downgrade before the budget runs out
@Michael_liyang argues that on a free tier the danger is not one expensive call but not knowing which call is expensive: write each call's usage to D1 by user and model, have a daily Cron check budgets and downgrade first, and look at which user is burning quota rather than only the total.