PennyBar: a macOS menu bar for Cloudflare and other usage-billed services
An open-source macOS menu bar app that shows this billing period's spend across Cloudflare, Vercel, Railway, Neon and PlanetScale, with total and per-account budgets.
- Products
- Account-wide usage-based products
- Source
- Community resourceGitHub repository
- Author
- XIN (@anxndsgn)
Key points
- The README says Cloudflare spend comes from GET /accounts/{id}/billable-usage (alpha, PayGo only) as FOCUS rows and is shown as billed; Neon figures are estimates and are prefixed with ≈.
- Budgets can be set in total and per account; at 80% of any budget the icon turns yellow and once a budget is reached it shows a red !. These are in-app indicators, not caps on any provider.
- Tokens are stored in the macOS Keychain; it requires macOS 26 and is built from source with swift test and scripts/bundle.sh. The repository is MIT-licensed.
Original sources
Last updated
PennyBar: a macOS menu bar for Cloudflare and other usage-billed services
Open original sourceAn open-source macOS menu bar app that shows this billing period's spend across Cloudflare, Vercel, Railway, Neon and PlanetScale, with total and per-account budgets.
The author shares PennyBar on 𝕏 as a menu bar app he vibe-coded for quickly checking the cost of serverless services including Cloudflare.
Read on 𝕏XIN
@anxndsgn · Original 𝕏 post
分享两个我 vibe 的 mac menubar app: - pennybar:快速查看 serverless 服务(Vercel、Cloudflare、Neon、railway、planetscale)的费用 https://t.co/nMqkaiWVSK - git-switch:可以快速切换 git username 和 email https://t.co/6hsBFee4PK https://t.co/03ngvT8S14
More to read
Feng Yi: On the free tier, the cheapest rollback is not a release—it's a switch in KV
On 2026-11-21, X user @Michael_liyang (Feng Yi) wrote: on the free tier, the cheapest rollback is not a release—it's a switch in KV. Steps: 1 put the switch in KV; 2 read the switch first on the request—on takes the new path, off takes the old path; 3 canary-split by user hash, 10% first and then full rollout; 4 if something goes wrong, change KV and roll back immediately, without waiting for a release. Path: request → read switch → split → new/old path → log to D1. Switches also need expiry cleanup; don't let them pile up into dead config.
igorrizzom: a forgotten Durable Object alarm billed US$ 2,038; Support refunded US$ 1,533.29, leaving US$ 505.
X user @igorrizzom (Igor Rizzo), who also posted on Cloudflare Community as igorarm (urnaaovivo.com), says a personal, non-commercial prototype that collected public election data in Brazil was left running after the October 25 runoff. A Durable Object kept rescheduling itself via alarm every ~5 seconds and writing to SQLite, and the invoice reached US$ 2,038, almost all from DO rows written, with about 10k pageviews. The author says budget alerts were set up but went to an old inbox that was never checked, and that alerts do not stop usage. Spend limits for Workers and Durable Objects were only announced on November 13, after almost all of the usage; the author then set a US$ 1 spend limit, turned the collector off, and removed Cron Triggers. The author says Support refunded US$ 1,533.29 as a one-time courtesy. The remaining US$ 505, which the author later described as US$ 500 of usage plus the US$ 5 Workers Paid fee, was closed as final; the author asked for a supervisor review in case #02442826 (follow-up to #02435308) and also asked @SidChatterjee whether any goodwill path remained for pre-launch cases. There is no Cloudflare staff reply on the public X thread or the Community thread. Public Support actions are reported by the author.
风易: Do not call the upstream response live every time; use the Cache API for edge caching
On 2026-11-18, X user @Michael_liyang (风易) wrote: do not call the upstream response live every time; use the Cache API for edge caching. The approach is: the request checks the Cache API first and returns directly on a hit; on a miss, call upstream, write the successful response into the cache with a TTL; write operations do not enter the cache, and the hit rate is recorded in the D1 daily report. The chain is request → check cache → return on hit → call upstream on miss → write back → return. The author's judgment: what is cached is the upstream result, not your business state.