SpendFuse: a usage checker that converts Cloudflare usage to dollars and can pause a runaway Worker
@hao_ok72927 introduces SpendFuse: after a one-time API token, it installs an open-source agent in your own Cloudflare account, converts Workers, D1, KV and R2 usage to dollars, alerts on budget overruns or spikes, and on paid tiers can pause the offending Worker.
- Products
- WorkersD1KVR2Durable Objects
- Source
- Community resource𝕏 thread
- Author
- hao_ok72927 (@hao_ok72927)
Key points
- The author says Cloudflare has no spending cap: a D1 query missing a WHERE clause, or Durable Object alarms waking each other, can burn money all night before the bill arrives.
- Per the thread, you paste an API token once; it installs a small open-source agent in your own Cloudflare account, the token is not kept on their servers, and the agent converts Workers, D1, KV and R2 usage to dollars, pushing alerts to WeChat, Feishu or Telegram on budget overruns or sudden spikes.
- Tiers as posted: free (1 account, hourly checks, alerts), Pro $9.90/month (5 accounts, per-minute checks, automatic cutoff) and Team $29.90/month (20 accounts). The paid tiers can pause the problem Worker and restore it with one click after the fix.
- The site, read on 2026-10-28, says the agent removes routes and pauses crons after backing up the config, and notes that "every minute" is the check frequency while the actual stop time also depends on Cloudflare data latency.
Original sources
Published
Original post
Read on 𝕏@hao_ok72927 introduces SpendFuse: after a one-time API token, it installs an open-source agent in your own Cloudflare account, converts Workers, D1, KV and R2 usage to dollars, alerts on budget overruns or spikes, and on paid tiers can pause the offending Worker.
ilikex
@hao_ok72927 · Original 𝕏 post
Cloudflare 没有消费上限。D1 漏写一个 WHERE,或者 Durable Objects 的 alarm 互相唤醒,能烧一整晚,等账单来了才知道。 我做了 SpendFuse 来管这件事:https://t.co/3QOlneRDxL
Thread: the token installs an open-source agent in your own account that converts Workers, D1, KV and R2 usage to dollars and alerts via WeChat, Feishu or Telegram; Pro can auto-pause the problem Worker and restore it in one click.
Read on 𝕏ilikex
@hao_ok72927 · Original 𝕏 post
粘贴一个 API Token,它会在你自己的 Cloudflare 账号里装一个开源的小 agent,把 Workers、D1、KV、R2 的用量折算成美元。超预算或突然暴涨,就推送到微信、飞书、Telegram。专业版还能自动暂停出问题的 Worker,修好后一键恢复。
Thread: the token is used once and not stored; free tier 1 account with hourly checks, Pro $9.90/month with per-minute checks and automatic cutoff, Team $29.90/month for 20 accounts.
Read on 𝕏ilikex
@hao_ok72927 · Original 𝕏 post
Token 只用一次,装好 agent 就丢,我们的服务器不保存。 免费版:1 个账号,每小时检查,异常报警 专业版 $9.90/月:5 个账号,每分钟检查,自动熔断 团队版 $29.90/月:20 个账号 被 Cloudflare 账单坑过的朋友,欢迎来试,也欢迎提意见。
Product site (read 2026-10-28): routes removed and crons paused after a config backup, one-click restore; the per-minute check interval does not remove Cloudflare data latency.
Open original source
More to read
A personal AI agent on the free tier: what runs out first
A dev.to guide by akaranjkar08 builds a Telegram agent on Workers, Durable Objects and Workers AI and works through the free quotas: at about 30 chats a day, Workers AI neurons run out first, then Durable Object row writes, then CPU time. Cost figures are the author's examples.
cqlhmyxw: a misconfigured R2 backup cron produced a $686.40 overage; $250 courtesy adjustment, $436.40 left.
Cloudflare Community user cqlhmyxw, a work-study student, says a backup script for R2 buckets had its cron misconfigured to run every 2 minutes, generating a huge number of Class A operations over about a month; on May 8, the day the bill was seen, the cron job and script were deleted and the buckets emptied. The author says the total overage was $686.40, that the first case (#02119165) was closed on July 16 without an invoice-level review, and that in a new case (#02391604) Support confirmed the cause, voided a duplicate invoice and on October 27 applied a one-time $250 courtesy adjustment described as the maximum Support can apply, bringing the balance to $436.40; a secondary review on October 28 said no further waiver is possible at Support level. The author asks for help escalating. A Community MVP replies that there is no escalation via the Community.
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.