Cloudflare Recognizer
An open-source Workers + KV tool that polls Cloudflare analytics on a cron, tracks usage against a contract commit on a custom billing cycle, and alerts on surges, aimed at Enterprise accounts.
- Products
- WorkersKVR2Images
- Source
- Community resourceGitHub repository
- Author
- Bob Stolzberg (@BobStolzberg)
Key points
- The README says it runs on a scheduled cron, totals data transfer across zones, compares it with your commit, supports billing cycles anchored on a chosen day (for example the 15th to the 14th), and alerts by email or webhooks. It is Apache 2.0 licensed.
- The token it asks for is read-only: Account Analytics Read, Zone Analytics Read and Zone Read.
- The author’s blog adds surge detection comparing the current window with the previous one plus a volume noise floor, 50/80/100% commitment digests, five meters (bandwidth, Workers, R2, Images, Spectrum) and an MCP endpoint. He says it is not an official Cloudflare product, and that native billing alerts are currently disabled for Enterprise accounts (his claim).
Original sources
Undated
Cloudflare Recognizer
Open original sourceAn open-source Workers + KV tool that polls Cloudflare analytics on a cron, tracks usage against a contract commit on a custom billing cycle, and alerts on surges, aimed at Enterprise accounts.
The author’s write-up on why he built it and how the surge detection, alert routing and MCP server work.
Open original sourceThe author announces the open-source release on 𝕏.
Read on 𝕏Bob Stolzberg
@BobStolzberg · Original 𝕏 post
I built and open sourced a solution for a Fortune 5 to monitor their PB’s of Cloudflare holiday traffic and notify them Before the CDN bill blows up. Use Recognizer to tell you when your @Cloudflare bandwidth surges or you’re 50% away from your spend limits. Fully configurable. https://t.co/fMcox5Cjxm
The author’s reply lists the GraphQL datasets behind each meter: httpRequestsAdaptiveGroups, workersInvocationsAdaptive, r2OperationsAdaptive, imagesAdaptiveGroups and spectrumNetworkAnalyticsAdaptive.
Read on 𝕏Bob Stolzberg
@BobStolzberg · Original 𝕏 post
Multi-Product Grid Control (it’s in the blog post) and covers: 1. Bandwidth / Data Transfer: httpRequestsAdaptiveGroups (sum.edgeResponseBytes) 🌐 2. Cloudflare Workers Invocations: workersInvocationsAdaptive (sum.requests, CPU quantiles) ⚡ 3. Cloudflare R2 Object Storage: r2OperationsAdaptive (Class A writes, Class B reads, storage bytes) 🗄️ 4. Cloudflare Images & Transformations: imagesAdaptiveGroups (Resizing requests and delivery bytes) 🖼️ 5. Spectrum L4 Egress: spectrumNetworkAnalyticsAdaptive (TCP/UDP ingress/egress bytes) 📡
More to read
Feng Yi: Classify the error before retrying; retrying a 4xx error a hundred times still burns quota for nothing
On 2026-11-19, X user @Michael_liyang (Feng Yi) wrote: classify the error before retrying; retrying a 4xx error a hundred times still burns quota for nothing. Steps: 1 retry only 429/5xx/timeouts/network disconnects; 2 for 400/401/403/404, return directly and do not enter backoff; 3 for non-retriable errors, only log to D1 and do not burn the upstream. The error code is the switch for retries. Path: failure → determine the error code → back off only if retriable → return directly if not retriable. The author's conclusion: retrying is a way to save money; misclassifying the error is where burning money begins.
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.
Jonhoni99: Workers AI's 10,000 Neurons per day reset at 8:00 Beijing time, but some models must have a payment method bound first
On 2026-11-13, X user @Jonhoni99 wrote: Cloudflare's 10,000 Neurons are cleared to zero every day at 8:00 Beijing time. The catch is that models such as Kimi K2.6, GLM-5.3, and DeepSeek V4 Pro require a payment method to be bound; the official list has 9, and the free quota cannot be used. On the same day @Nyerishi also pointed out that DeepSeek V4.1 Flash on the Workers AI free plan requires a Workers Paid subscription to actually access it. These are the author's checks against the official catalog, not a bill that has already occurred.