Ambersight: an open-source, read-only monitor for free-plan limits and bill spikes across Workers
Ambersight (jntegz/ambersight) runs as one Worker in your own account, reads Workers settings and metrics hourly with a read-only token, warns at 70% and 90% of each Free daily limit, and on Workers Paid alerts when a Worker's last hour is 5x its usual hour, noting there is no hard spending cap. The author announced it on X as free and read-only.
- Products
- WorkersKVD1R2QueuesDurable Objects
- Source
- Community resourceGitHub
- Author
- jntegz
Key points
- The README says on the Free plan the risk is an outage: past 100,000 requests a day every Worker in the account answers with Error 1027 until midnight UTC, and similar daily limits apply to 1,000 KV writes and 5 million D1 rows read; it warns at 70% and 90% with the time you will hit the limit at today's pace.
- On Workers Paid it says the risk is the bill because there is no hard spending cap; it compares each Worker's last hour with its usual hour and alerts at 5x for requests, CPU time, subrequests and D1, KV, R2, Queues and Durable Object operations, flags Durable Object or Queue work running while nobody uses the app, and shows an estimated bill.
- It runs as one Worker in your own Cloudflare account on Workers Free with a read-only API token and sends alerts to email, Slack, Discord, Telegram or a webhook; the license badge shows AGPL-3.0.
- Cloudflare's Workers limits page (read 2026-11-13) confirms the 100,000 requests/day Free limit returning Error 1027, and the budget alerts page says alerts notify but do not cap usage.
Original sources
Undated
Ambersight: an open-source, read-only monitor for free-plan limits and bill spikes across Workers
Open original sourceAmbersight (jntegz/ambersight) runs as one Worker in your own account, reads Workers settings and metrics hourly with a read-only token, warns at 70% and 90% of each Free daily limit, and on Workers Paid alerts when a Worker's last hour is 5x its usual hour, noting there is no hard spending cap. The author announced it on X as free and read-only.
@jantegze announces Ambersight as open source: it checks every Worker in the account each hour and flags ones about to hit the free plan limit, run up a bill, miss a cron or sit exposed; read-only, runs in your own account, free.
Read on 𝕏Jan Tegze
@jantegze · Original 𝕏 post
I open-sourced Ambersight. It checks every @Cloudflare Worker in your account each hour and flags the ones about to hit the free plan limit, run up a bill, miss a cron or sit exposed. https://t.co/oSwpClzO8p Read-only, runs in your own account, free.
More to read
Why hard spending caps take time: Ashley Peacock on billing latency
Ashley Peacock (@ashleypeacock), who works on Durable Objects at Cloudflare, explains from experience why near-real-time spending caps are hard to build, says hard billing caps are coming soon, and suggests budget alerts plus issue alerts in the meantime.
Nirant (@NirantK): card charged $6,773 out of the blue with no budget alert; asks for relief.
Nirant (@NirantK) says his card paid $6,773 out of the blue while he was finishing experiments and migrating workloads to Cloudflare, with no budget or default alerts and no warning. He says he has no invoice showing the breakdown and cannot afford the bill, and shares support case #02390828. Fayaz Ahmed, whose X profile lists him as a Sr. Dev Educator at Cloudflare, replies that he has informed the team internally; the author later says he heard back by email and asks for relief from the Cloudflare for Startups team.
sean1093/purse-strings: in-process LLM spend budgets, with optional Durable Objects or KV stores
The MIT-licensed TypeScript library purse-strings (sean1093/purse-strings) is described as a denial-of-wallet guard for apps that call LLM APIs: per-user, per-session and global token, cost and request budgets, plus step, tool-call and time limits for agent loops. It has zero runtime dependencies and can keep counters in memory, Firestore, or Cloudflare Durable Objects or Workers KV. The README warns that with multiple process replicas, each replica enforces the limit, so the effective limit is N times the configured value unless a shared store is used, and that a Durable Objects or KV store is what a hard limit needs. Reviewed from the public README on 2026-11-19. Example figures in the docs include a user-daily cap of costUsd: 1 and a fleet-daily cap of costUsd: 200.