Queues billing guides
Read Queues billing guides with links to original sources.
34 matching items
Guides · 33
qianshuixia2026: D1 free row-read cap burned twice in one day, plus R2 and Workers pitfalls after the first paid orders
浅水虾 (@qianshuixia2026) published a 16 November 2026 X article after the first $12 and $29 orders. On 14 November a 10-minute cron full-table scan burned the D1 Free 5 million daily row-read cap in 2 hours 14 minutes; the same evening the author ran wrangler d1 execute --remote statistics that scanned about 4.08 million rows in 5 minutes and hit the cap again, then paid $5 to upgrade to Workers Paid. The article also covers an R2 multipart complete() customMetadata mismatch that failed a >24 MB export five times (50 credits sent as apology), 128 MB / 10 ms / 50-subrequest walls that a paid plan does not lift, and Queues’ 10,000 daily operations with three operations per delivered message.
The free plan wall people miss is CPU time, not request count
风易 (@Michael_liyang) says the Workers Free wall most often missed is the 10 ms CPU time per invocation, which fails the request outright even when the daily quota is not used up; he suggests keeping cron handlers to dispatch only and moving heavy work into small queued steps with progress saved in D1.
Six free allowances and four kinds of cost: estimating a Cloudflare bill line by line
Su (@Sukiea1008) lists six common Cloudflare free allowances and four kinds of cost — separately bought items, hard stops at free limits, metered usage on enabled services, and other services such as models and email — and walks through a PDF summariser to show why each line must be estimated in its own unit.
D1 rows read and Queues operations: two free allowances that run out with few users
Su (@Sukiea1008) explains why D1’s rows-read allowance and Queues’ operation count are easy to misjudge: a query returning 10 rows may scan 10,000, and one queue message usually costs three operations plus retries. She adds notes on indexes, KV’s one-write-per-second per key and Hyperdrive’s query count.
Queues: one delivered message is usually three billed operations
FlareCost, an independent cost estimator, explains that a normal Queues delivery is a write, a read and a delete, each billed per 64 KB, with retries adding reads; its worked example of 400,000 messages a month comes to $5.08 on Workers Paid.
Three billing traps an AI left in an e-commerce backend, and a worst-case bill audit prompt
Frank Zeng (@frankzeng2020) says his AI-built e-commerce backend ran a month at $0, but a Claude audit of its Cloudflare billing found three amplification paths; he fixed them in half a day and shares a read-only audit prompt that ranks worst-case costs.
Lunora: codegen lints that name the billing meter a loop moves
Daniel (@_prisis_) says a Cloudflare bill spike is usually a loop, not traffic; his framework Lunora now flags count_without_index, queue_dispatch_cycle, cron_every_minute and container_long_sleep_after at codegen, before deploy, naming the meter each one moves.
WquGuru: a read-only Cloudflare billing audit prompt
WquGuru (@wquguru) shares a read-only audit prompt that checks account usage, D1 query plans, loops and retries, Durable Object wake-ups, high-priced operations and Worker config, then ranks risks by worst-month cost.
Writing a Cloudflare cost-guard skill for coding agents
An AIIDE List guide on turning Cloudflare billing safety into an agent skill with BUILD, AUDIT, PREDEPLOY and INCIDENT modes, plus risk rules for D1 queries, Durable Object alarms, polling, Queues and R2.
How I keep Cloudflare under $5: where surprise bills come from
Ashish Sharma (@sarmaasis) runs several sites on the $5 Workers Paid plan and lists, product by product, the usage patterns he says quietly run up a Cloudflare bill, ending with a 12-item checklist.
Cloudflare costs $5 a month, but the bill is not capped
不追高 (@Ariella1213) writes an X article explaining that Workers Paid’s $5 is a minimum, that per-product limits and budget alerts do not cap the account bill, and how denial-of-wallet requests, write amplification, delayed stops and background retries add cost.
Lanshu: an AI-assisted Cloudflare billing risk checklist
Lanshu (@LufzzLiz) shares a six-step prompt for checking account ownership, usage, runaway consumption and budget alerts. Replies add alarm logging, email delivery checks and separate notifications.
After a $10,000 loop bill: budget alerts and a cost-audit prompt for vibe-coded projects
铁柱AGI (@cgnot996) writes an X article that walks through creating a Cloudflare budget alert, explains why it is only a notice, lists cost-amplifying code patterns, and gives a read-only audit prompt and steps for when a bill has already spiked.
Four layers of cost protection for small Cloudflare projects
David Z (@davezfr) writes an X article for vibe coders on budget alerts, stop conditions for paid paths, automatic pausing, and letting a personal agent verify and pause.
mjmirza/cloudflare-cost-calculator: a single-file monthly cost and margin model for an all-Cloudflare app
A client-side calculator that models the monthly cost of an app built entirely on Cloudflare — Workers, Durable Objects, D1, R2, KV, Queues, Vectorize, email and LLM usage — against revenue, with profiles from Solo to Extreme and a breakdown of each cost row.
Cloudflare Cost Hub: free-tier vs paid allowances, cost drivers and month-end forecasts
An MIT-licensed dashboard that signs in with Cloudflare OAuth, reads account analytics across products, colour-codes usage as free, within paid allowance or billable, ranks per-instance cost drivers, forecasts month-end cost and emails threshold and budget alerts.
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.
Batching telemetry hourly through two Queues to keep R2 writes to about 720 a month
B LLC’s write-up uses two Cloudflare Queues in alternation, routed by UTC hour, and an hourly consumer that compresses each batch into one R2 object. The author says this keeps R2 writes to about 720 a month, inside the free 1 million Class A operations.
Brolly: self-hosted cost guardrails and emergency controls for Cloudflare
Brolly (standardagents/brolly, MIT) is a self-hosted Cloudflare app that watches billable usage across Workers, Durable Objects, D1, R2, KV, Queues and AI, alerts when spend moves out of line, and offers approval-first, reversible quarantine controls; automatic controls are opt-in and it never deletes resources.
cf-usage-guard
An open-source library that reads account usage from the Cloudflare GraphQL API and circuit-breaks individual Worker bindings before overages.
How to cap your Cloudflare Workers bill, and what you cannot cap
CostHex concludes there is no dollar cap that stops a Worker, and lays out what can contain a bill instead: per-invocation limits, keeping abusive traffic away, and earlier warnings.
FlareCost: Free plan limits that fail the request (not bill)
FlareCost’s free-plan-limits page lists Workers, KV, D1, R2, Durable Objects and Queues Free meters in one table: daily Free limits reset at 00:00 UTC and fail the request instead of billing, except R2 which bills past its monthly free tier on any plan. Reviewed against official pricing pages on 2026-11-02.
FlareCost: Cloudflare Queues backlog size
FlareCost’s queues-backlog page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 25 GB. send fails with Storage Limit Exceeded at the cap. Paid plan: 25 GB. An account can have 10,000 queues. Consumer invocations are limited to 250 concurrent for push consumers, with 15 minutes of wall time. Backlog is a hard stop, not a storage line in the public price table.
FlareCost: an expired Queues message is still a write and a delete
FlareCost's Queues retention page says retention is 24 hours on Free (not configurable) and 4 days by default up to 14 days on Paid, and that a message which expires unread is still billed a write and a delete per 64 KB chunk; retention itself has no separate price. Reviewed against official pages on 2026-11-02.
FlareCost: Queues messages over 64 KB count as multiple operations
FlareCost's Queues message size page says the 128 KB message limit is measured with 1 KB = 1,000 bytes and that messages over 64 KB count as multiple operations — a 65 KB and a 127 KB message are both two — so the operation meter, not the message count, is what the $0.40 rate multiplies. Reviewed against official pages on 2026-11-02.
FlareCost: Cloudflare Queues throughput
FlareCost’s queues-throughput page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 5,000 messages per second. Above that, send and sendBatch throw Too Many Requests. Paid plan: The same throughput limit. A batch can hold 100 messages, or 256 KB total. The maximum batch wait is 60 seconds. Throughput errors are not an overage charge. They are a failed send.
Cloudflare Medivh: a self-hosted near-real-time bill estimator
An open-source, self-hosted monitor that adds today’s estimated usage cost to Cloudflare’s daily-updated billable usage, sends summaries, and calls a webhook when the current cycle crosses a budget.
Cloudflare Cost Guard: a read-only agent skill for runaway-billing audits
Layer Cache’s open-source agent skill, announced by Domenico (@purposelyblnk), audits a Cloudflare codebase from source alone for paths that can run up uncontrolled billable usage, and reports findings without changing code or calling Cloudflare.
CF Usage
An open-source Go server plus Android app that polls Cloudflare GraphQL Analytics every minute, tracks Workers Paid allowances, projects the cycle, alerts, and offers confirmed kill switches.
cloudflare-runaway-bill-audit: an agent skill that checks a project for runaway-bill risks
An MIT-licensed agent skill by pc418 that combines a deterministic read-only scan of wrangler configs (optionally read-only account checks) with an agent review of the source, and writes an HTML report plus a Markdown handoff listing alarms, suggestions and unknowns.
Cloudflare Usage Guard: a read-only dashboard for free-tier risk and billable usage
ThaneJoss's self-hosted, Access-protected Worker dashboard ranks near-real-time free-tier utilization for Workers, KV, D1, R2, Queues and Pages and shows official billable usage separately, without treating missing data as zero cost.
Cloudflare AI Usage Dashboard: per-app usage and a billing estimate
An open-source Worker that collects Cloudflare platform, Workers AI, AI Gateway, Anthropic and OpenAI usage every 5 minutes, attributes it to apps and shows a usage-times-list-price billing estimate behind Cloudflare Access.
A usage circuit breaker for Cloudflare Workers
Yingjie Zhao describes a self-facing circuit breaker that pauses cron jobs on his Workers-based news aggregator as monthly usage nears plan allowances.
Skills · 1
Cloudflare billing risk audit skill
Ask your coding agent to check a Cloudflare project for loops, retries and repeated work that could drive up costs, with code locations and suggested improvements.
daftai-cloudflare-billing-audit