D1 · Product category
Browse cases and guides explicitly labeled D1.
23 matching items
Cases · 11
mcwangcn reports $1,300 in D1 charges after a bot attack.
@mcwangcn says D1 writes previously cost over a thousand dollars and separately mentions Workers CPU charges without giving an amount. He later shares a Cloudflare bill and says $1,300 of its $3,600 came from D1 after a bot attack.
Reported amount · USD
$1,300
D1 status writes: an author reports a 150-dollar charge and refund.
@wofuhuola describes a generated tool writing Reddit post statuses globally every five minutes and deleting expired rows. The author says one month cost 150 dollars, went unnoticed for three months, and was later refunded after an appeal.
Reported amount · USD
$150
per month
OpenCils: a $231 D1 charge reported waived after a three-month ticket.
@OpenCils reports emailing Cloudflare on June 24 about a D1 charge. He says billing support forwarded the ticket to billing engineering on August 27, and that Cloudflare later waived the $231 D1 charge as a one-time courtesy and lifted account restrictions.
Reported amount · USD
$231
A 12 MB D1 database, a reported USD 1,966.35 invoice.
@imselmon reports a USD $1,966.35 D1 invoice for a roughly 12 MB database with over two billion row writes. The author says the activity is abnormal and is investigating the database usage.
Reported amount · USD
$1,966.35
D1 row reads: an author reports a $108 bill in seven days.
@shivek_khurana reports a $108 Cloudflare D1 bill over seven days after a workflow read more rows than needed. The author says adding an index reduced reads by about 90%.
Reported amount · USD
$108
D1 migration: the author reports a $911.56 charge after stopping the job.
@m0xandrew says a hobby-project D1 migration reached 8,274% of a budget alert, so he stopped it and requested a one-time waiver. He later reports a $911.56 charge, closure of the old case and opening a new support case.
Reported amount · USD
$911.56
D1: an author reports a $3,500 bill in 48 hours and a full waiver.
@darylginn reports about $3,500 in D1 charges over 48 hours. He says an AI-assisted Postgres migration omitted indexes and caused about 970 billion row reads daily, and that Cloudflare waived the bill.
Reported amount · USD
$3,500
MXGA: a reported $209.37 bill after a D1 query bug.
@luoleiorg describes a D1 query bug that raised usage roughly 1,400-fold. An initial $200-plus report becomes $209.37 in a later post; the author says Cloudflare waived the previous month’s entire invoice after a support request.
Reported amount · USD
$209.37
Mircea Trofimciuc: agent count(*) queries on D1 and a reported $700+ bill.
Mircea Trofimciuc (@MirceaTrofim) reports a $700+ bill after an AI agent ran a few count(*) queries on a large D1 table to get the number of records. He says support won't credit the account and that he was charged, and asks @CloudflareDev for help.
Reported amount · USD
$700
D1 row reads: a $134.14 invoice from unindexed queries.
Justin Ahinon reports that his April 21, 2026 Cloudflare invoice was $134.14, with $127.60 from 127,599,130,859 D1 row reads on a 765,000-row database. He attributes it to full table scans in queries that ran on every page load.
Reported amount · USD
$134.14
Little Bear Apps: a D1 write loop and a reported full US$4,586.64 invoice waiver.
Nathan Schram reports that two bugs wrote 4.83 billion D1 rows in January 2026 on an account that usually costs $5 a month, an overage he estimated at about $4,868. After a support ticket, a Community post, direct emails and a Reddit post, he says Cloudflare waived the full $4,586.64 invoice on February 19.
Reported amount · USD
$4,586.64
per month
Guides · 12
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.
Cloudflare billing pitfalls thread
The author organizes Cloudflare billing risks by product and shares experience with budget alert emails.
Watch D1’s daily row quotas while testing
Michal Raczka (@michalraczka) warns that D1’s daily row read and write quotas can stop all D1 queries until midnight UTC, notes that indexes trade reads for extra writes, and moves heavy tests to local Miniflare.
cf-usage-guard
An open-source library that reads account usage from the Cloudflare GraphQL API and circuit-breaks individual Worker bindings before overages.
D1 pricing and free daily row limits
Cloudflare explains D1 read/write billing, free daily limits, and usage tracking.
D1 billing incident and circuit breakers
Nathan Schram describes D1 write risks and circuit-breaker approaches.
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.
Overmind: a macOS menu bar meter for Cloudflare usage and bill
An open-source macOS menu bar app that reads a Cloudflare account’s Workers and D1 usage and bill with a read-only token and warns before a free-tier limit runs out.