cloudflare-cost-notify: a Worker cron that posts daily billable usage and free-tier counts to Discord
yutamoty/cloudflare-cost-notify is an unlicensed GitHub repository, pushed on 16 November 2026. A Cloudflare Worker cron at 00:00 UTC (described as 09:00 JST) reads the Billable Usage API and GraphQL Analytics API and posts yesterday’s cost, the day-over-day change, month-to-date spend, and Workers request / R2 storage / R2 Class A and B counts to a Discord webhook. A default $0.00 alert threshold turns the message red. Because the repository has no license, this entry is a summary only and the README is not archived in sources.json.
- Products
- WorkersR2
- Source
- Community resourceGitHub repository
- Author
- yutamoty
Key points
- The README says the Worker stays inside the Cloudflare free tier and has no public HTTP endpoint (workers_dev = false). Required secrets include a token with Account Billing Read, plus optional Account Analytics Read, the account ID, a Discord webhook URL, and ALERT_THRESHOLD_USD (default 0).
Original sources
Last updated
cloudflare-cost-notify: a Worker cron that posts daily billable usage and free-tier counts to Discord
Open original sourceyutamoty/cloudflare-cost-notify is an unlicensed GitHub repository, pushed on 16 November 2026. A Cloudflare Worker cron at 00:00 UTC (described as 09:00 JST) reads the Billable Usage API and GraphQL Analytics API and posts yesterday’s cost, the day-over-day change, month-to-date spend, and Workers request / R2 storage / R2 Class A and B counts to a Discord webhook. A default $0.00 alert threshold turns the message red. Because the repository has no license, this entry is a summary only and the README is not archived in sources.json.
More to read
Self-hosted Ember chat on Workers Free: daily limits stop saving messages until 00:00 UTC
Two replies about Kevin Rose's Ember chat app note that on the Cloudflare free tier the allowances are daily, and once they run out Ember stops saving new messages until midnight UTC; one cites the README's estimate of about 100 people sending 30 messages a day before the $5 Workers Paid plan is needed.
stevesprompt: an agent clicked Upgrade in the Cloudflare dashboard and charged $1.5k; the money was refunded.
X user @stevesprompt (Steve Huang) says an agent clicked Upgrade in his Cloudflare dashboard and he was charged $1.5k, and that the money was luckily refunded. The author then lists precautions before an agent can spend money or send anything. The post does not name the product that was upgraded. There is no official public Cloudflare response in the thread.
Ru Bite: In Spend Management, turn on Block usage under Billing → Spend limits; limits reset on the subscription billing period, the notification email must be filled in separately, and after Durable Objects are paused storage fees may still continue
On 2026-11-19, X user @JustLikeBit (Ru Bite) wrote a set of notes on metered cloud services having their free quota burned through by bots, and on Cloudflare Spend Management. The author says the entry point is Billing → Spend limits: select Workers or Durable Objects, set a limit, and turn on Block usage; once the limit is hit, supported operations are blocked automatically, and it does not rely only on email alerts. A follow-up adds: limits reset on the subscription billing period, not necessarily on the 1st of each month—for example, if the renewal date is the 15th, counting starts from the 15th; to receive emails at the 80% and 100% thresholds, notification_email must also be configured separately, and setting a limit does not fill in the notification email automatically; after Durable Objects are paused, storage fees for existing data may still continue. The author attached a link to the official documentation. These are the author's restatement of official capabilities and operational reminders, not an actual bill.