Source-linked reports: Amounts and outcomes come from the original reports and linked replies.
mcwangcn reports $1,300 in D1 charges after a bot attack.
@mcwangcn says D1 writes previously cost over a thousand dollars and separately mentions Workers CPU charges without giving an amount. He later shares a Cloudflare bill and says $1,300 of its $3,600 came from D1 after a bot attack.
What happened
- Reported cause
- Write volume
- Incident date
- Date not recorded
- First reported
- 2026-10-05 13:50 UTC
- Billing outcome
- Not recorded
- Case progress
- ResolvedAuthor-reported
- Public Cloudflare reply
- Not linked
Latest reported outcome
The author gives no incident date. He attributes $1,300 of a $3,600 Cloudflare bill to D1 after a bot attack. His reference to keking99 describes another author’s case. On October 19 the author said he paid the bill in the end because it was mainly his own fault; no refund or credit was requested.
View this update in the timelineOriginal sources
- Original billing thread
- Firsthand D1 amount range
- Separate CPU context
- Alert-delay follow-up
- Author-shared bill
- Author recalls the D1 bill
- Author says he paid
Each entry links to the report or reply it describes.
Case timeline
Thread of billing lessons begins
Read on 𝕏The author starts a thread about Cloudflare billing experiences.
yvonuk
@mcwangcn · Original 𝕏 post
这个帖子今天得到很多关注,看得出大家对Cloudflare的账单计费很感兴趣,我就再写个串推说说Cloudflare比较容易爆账单的几个点,都是我自己交学费换来的血泪教训,可能并不全面,欢迎大家补充🧵 https://t.co/MrerzXCOJR
Past D1 write charge disclosed broadly
Read on 𝕏The author says D1 writes previously cost over a thousand dollars.
yvonuk
@mcwangcn · Original 𝕏 post
1. Cloudflare D1 D1绝对称得上是CF账单杀手,我自己就被搞过上千刀。最大的坑是写入费用(每百万行1美元),如果你在workers里不注意sql用法,随便update all,当表格变大之后这个费用是很惊人的,尤其当数据库update与网络请求连在一起时更是分分钟爆单 pic.twitter.com/FvVKrYlnLf
Separate CPU-charge experience mentioned
Read on 𝕏The author separately mentions Workers CPU charges without giving an amount.
yvonuk
@mcwangcn · Original 𝕏 post
3. Workers Cloudflare Workers计费分两块:Requests和CPU time,这两部分都有可能爆单。比如@keking99最近的1000刀账单就主要来自海量Requests,而我自己之前则是被CPU time搞过。
Author adds alert-delay experience
Read on 𝕏Quoting his thread, the author says Cloudflare alerts are delayed and that alerts during his earlier overages often arrived hours or a day late.
yvonuk
@mcwangcn · Original 𝕏 post
关于Cloudflare的账单问题,再多说两句: 有网友说不想爆单可以在Cloudflare上设一个预警(Alert),超额就会收到Email提醒。 这没错,但是依旧有个漏洞:Cloudflare Alert发送都是有延迟的,我之前被爆单的Alert常常是晚了几小时或一天。 https://t.co/ip3t7fgHE6 pic.twitter.com/3un1SwuL9w
Author shares bill: $1,300 from D1
Read on 𝕏Quoting shmily7’s update, the author shares an earlier Cloudflare bill and says $1,300 of $3,600 was Cloudflare D1 charges after a bot attack.
yvonuk
@mcwangcn · Original 𝕏 post
跟风晒一个自己之前被Cloudflare背刺的帐单,$3600里有$1300是被bot攻击后Cloudflare D1带来的无妄之灾 https://t.co/Z1baSf9L0v pic.twitter.com/1OWQHNjaBN
Author recalls a $1,300 D1 bill for writes
Read on 𝕏Replying to another user’s D1 bill, the author says he got a $1,300 Cloudflare bill for D1 writes a couple of months earlier.
yvonuk
@mcwangcn · Original 𝕏 post
@Cyberlane @Cloudflare I was in the same boat a couple of months ago. Got a $1300 Cloudflare bill for D1 writes. https://t.co/itOl3Cr9Hj
Author says he paid the bill
Read on 𝕏The author says carelessly updating every row of a table on certain Worker requests, combined with a bot attack, made writes explode, and that he paid the bill without much complaint because it was mainly his own fault.
yvonuk
@mcwangcn · Original 𝕏 post
@Cyberlane @Cloudflare Mine was due to table updates. I carelessly updated all rows in a table for certain workers requests. When the table grows and I got attacked by massive bots, the write operation exploded. Because it was mainly my own fault, I paid the bill in the end without much compaint.
More to read
Feng Yi: AI cost weekly|11/20; watching the model unit price is not enough—first split costs across requests, CPU, tokens, writes, and retries
On 2026-11-20, X user @Michael_liyang (Feng Yi) published "AI cost weekly|11/20". The conclusion is that watching the model unit price is not enough—first split costs across requests, CPU, tokens, writes, and retries. Figures the author checked this week: creating a D1 table is rows_written=2, and inserting 1 row is rows_written=1; the Workers free tier is 100,000 requests/day; the D1 free tier is 5,000,000 row reads/100,000 row writes per day; R2 egress is 0 美元. Suggested ledger fields: requests / rows_written / cpu_ms / input_tokens / output_tokens / retry_rate / cost_per_success. The author cautions: a free quota is not 0 cost.
ivebenfreed: a Dynamic Workers bill came to nearly $80 in October after unique-worker charges.
X user @ivebenfreed (Ben Freed) says the Dynamic Workers bill came to nearly $80 last month because each Code Mode call spun up a new instance, including via Cloudflare's official @cloudflare/codemode package, at $0.002 per unique worker per day past the first 1,000 a month; on the worst day in October there were over 12,000 of them. The author later stopped using Dynamic Workers (the count went from roughly 2,600 a day in October to zero since November 13). “October's pace would have come to about $155 a month” is a projection and is not used as the event amount. Replies in the thread are not official Cloudflare responses.
How to cap your Cloudflare Workers bill, and what you cannot cap
CostHex concludes there is no dollar cap that stops a Worker, and lays out what can contain a bill instead: per-invocation limits, keeping abusive traffic away, and earlier warnings.