billflare.

Cloudflare D1 billing cases

Browse public Cloudflare D1 billing reports, reported amounts, and follow-ups, with links to original sources.

Total reported amount

$59,673.89

46 cases · 40 with reported amounts · 6 amount unknown

Reported cases

D1

hiromsaeden: an unindexed D1 query loop billed $2,129.00; a $953.74 courtesy credit left $645.38 due.

Cloudflare Community user hiromsaeden, in a post-mortem of a personal hobby project on Workers and D1, says an unindexed GROUP BY aggregate query scanned about 877,000 rows to return 30 rows, and an unintended loop triggered about 315,000 runs across two billing cycles. In the Oct 15 – Nov 15 cycle alone, 1,447,580,203,670 rows (1.44 trillion rows) were read, on top of the previous cycle’s usage. The author says the October invoice IN-83890481 was $529.88 USD, paid in full out of pocket; the November invoice IN-89082487 was $1,599.12 USD ($1,447.58 D1 Rows Read + $6.16 Workers CPU + $145.38 tax); and the total billed was $2,129.00 USD against an expected budget of about $20/month. After noticing the issue on Nov 2–3, the author deleted the Worker and the D1 database; Support confirmed all reads had stopped. In case #02408621, Support offered a $275.00 courtesy credit for October and advised holding it until the November invoice was issued on Nov 15. In case #02434399, Support applied a one-time courtesy credit of $953.74 (which included the held $275.00), leaving a final balance of $645.38 USD, and said the review was complete and no further adjustments can be made. The author, having already paid $529.88, says the remaining $645.38 cannot be afforded and the account will be downgraded on Nov 22. The author also says a budget alert fired once at the $37 mark but did not stop the charges, and that D1 currently has no hard spending cap. There is no Cloudflare staff reply on the public thread; the Support actions are reported by the author.

Reported amount · USD

$2,129

Reported cause: Unbounded loopcommunity.cloudflare.com
First reported: Latest update:
D1

edwardindiedev: a billing alert revealed an AI-written query scanning the whole table; the screenshot shows $98.49 of D1 Rows Read.

edwardindiedev says a Cloudflare billing alert arrived unexpectedly; the author first suspected a traffic spike on a recently launched site, but found that an AI-written query in their own backlink platform scanned the full table every time the platform was opened to check backlink-pool usage. The attached cost breakdown shows D1 Rows Read of 123.49B total, 98.49B billable, costing $98.49, with daily cost rising sharply around October 31–November 1, 2026 (UTC).

Reported amount · USD

$98.49

Reported cause: Read volumex.com
First reported: Latest update:
D1

Sindre Reino Trosterud (@STrosterud): bots hammered a side project’s public lookup for days, producing a $300 D1 bill.

Sindre Reino Trosterud (@STrosterud) asks a Cloudflare engineer whether Cloudflare will ever offer a spending limit rather than an alert, saying a $300 bill arrived after bots found a side project: even with is_bot checks, a rate limit was missing on a public lookup and it was hammered over a couple of days. Cloudflare principal engineer Dillon Mulroy replies with a link quoting the hard spending-cap preview. In a later reply the author says the resource was D1, that “they are following up personally”, and that it was an open-source side project rather than a business.

Reported amount · USD

$300

Reported cause: Traffic spikex.com
First reported: Latest update:
D1

nanyuan0412: an unnoticed bug made a personal site’s database write nonstop, burning $106 in 4 days.

nanyuan0412 says an unnoticed bug in a personal website made the database write nonstop and quietly burned 106 dollars in just 4 days. The attached spend summary shows a total cost of $106.00 for usage observed October 15–26, 2026, all on the D1 Rows Written line, plus a projected cycle cost of $273.83 (a projection, not counted as the reported amount). In a reply the author says they had used the full Cloudflare stack for convenience and that, with no circuit breaker at all, it blew up.

Reported amount · USD

$106

Reported cause: Write volumex.com
First reported: Latest update:
D1

prince (@prince_twets): a D1 full-scan bug led to an unexpected ~$200 bill for a pre-launch SaaS; asks for a one-time credit.

prince (@prince_twets) says the pre-launch JobClaw SaaS, which has no customers or revenue, received an unexpected bill of about $200 after a D1 full-scan bug. The author says their own report attributes about $182 of it to D1 read overage, that the query paths were removed and production was shut down, and that they cannot afford it. The author asks whether Cloudflare Billing could review a one-time credit, offers to share details privately, and tags Cloudflare accounts and staff in a follow-up reply.

Reported amount · USD

$200

Reported cause: Read volumex.com
First reported: Latest update:
D1

Kun Save Point (@Savepoint_kk): a D1 bug rewrote unchanged data into a $2,739.12 bill; $2,141 goodwill credit granted.

Kun Save Point (@Savepoint_kk), an indie developer who says he recently lost his job, says a bug repeatedly rewrote unchanged data while inefficient queries amplified reads, producing a $2,739.12 Cloudflare bill already paid via PayPal (D1 rows written $2,641.00, rows read $64.06, other services $34.06); he says his bills were usually under $10 a month. Cloudflare granted a $2,141 goodwill account credit under case #02391058. He asks for it to be converted into a refund to the original PayPal payment, or at least for relief on the $2,641 write charges, and later writes that the initial request was declined and has been reopened for additional review. On October 25 he adds that he missed the only alert email Cloudflare sent, whose amount was not particularly high, and received no further warning before the large card charge; on October 26 he writes that the refund request to the original payment method is still under further review. On November 10 he posts a timeline saying that after following up on November 10–11, support again stated the $2,141 could only remain as account credit and the remaining $598.12 was still undecided while the ticket was being closed.

Reported amount · USD

$2,739.12

Reported cause: Write volumex.com
First reported: Latest update:
D1

Jay (@Cyberlane): a $513.20 D1 bill for two small personal databases; Cloudflare confirms a refund.

Jay (@Cyberlane) says two small D1 databases used only by himself for two little apps produced a bill of over $500 for reads and writes. He later quotes the invoice: 452,256,462 rows written ($453) and 60,197,421,138 rows read ($60.20) for Sep 17 – Oct 16, a D1 total of $513.20 before tax. Tyson Trautmann, whose profile lists Storage & Databases at Cloudflare, replies publicly and loops in the D1 engineering team.

Reported amount · USD

$513.20

Reported cause: Write volumex.com
First reported: Latest update:
D1

Sven Guettner: a D1 bug produced a $1,868 bill from about 1.89 trillion row reads.

Sven Guettner says a wrong database setting on offercompass.app made every small update read the whole table in the background between Aug 28 and Sep 22, 2026, totaling about 1.89 trillion rows and a $1,868 D1 bill. He fixed the bug, shut the project down, opened ticket 02338870 asking for a courtesy credit, and reports only AI replies so far.

Reported amount · USD

$1,868

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

CloudPrinters.sa: an auth refresh-token bug drove about 2 billion D1 writes and a ~$2,078 charge.

Community user salman1 says D1 normally costs CloudPrinters.sa nothing, but over the August 16 to September 15, 2026 cycle an auth bug rewrote one account's entire refresh-token history every time a stale token was retried, generating roughly 2 billion D1 writes. He says the revoke logic and retry loop were fixed and that a billing ticket requests a courtesy credit for the D1 write overage of about $2,078.

Reported amount · USD

$2,078

per month

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

A $303.81 D1 charge was met with a $250 account credit instead of a refund.

Community user snailrun160, a student, says a September 12, 2026 invoice of USD 308.81 included USD 303.81 in unexpected D1 usage charges with no usage or spending warnings. After an appeal, support applied a one-time USD 250 goodwill account credit but declined a cash refund; the author asked for the full USD 303.81 back to the original payment method. A Cloudflare team member first said the billing team had been engaged, then said the credit is the latest response and no refund or other amount can be given.

Reported amount · USD

$303.81

Reported cause: Unknowncommunity.cloudflare.com
First reported: Latest update:
D1

A missing D1 index made every lookup scan a 306,000-row table, a four-figure invoice with no budget alert.

Community user stefanr0sca, who relies on an AI coding assistant, says a missing index made every lookup scan a 306,000-row table and produced a four-figure invoice; the exact amount is not given. He says the $10 budget alert created automatically when he upgraded showed $0.00 for the whole cycle and never sent a notification, that the support case was closed automatically after a decision was promised, and that he could not reopen it or open a new one.

Reported amount · USD

Not disclosed

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

A D1 migration burst far past a $10 budget; the author asks for a billing grace.

Community user maxsandrew, a hobbyist on Workers Paid whose previous cycles were under $30, says moving large tables between two D1 databases to stay under the 10 GB limit pushed the bill to 8,274% of a $10 budget alert that he missed; no dollar amount is stated. He says there is no hard per-cycle stop, that batch jobs are now gated and that a support ticket was opened, and asks whether a one-time billing grace is possible.

Reported amount · USD

Not disclosed

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

zmuleyu (yourchars.com): a $1,481.11 invoice from 1.476 trillion D1 rows read, with a $976.11 account credit.

Community user zmuleyu (yourchars.com) says an unintended query pattern repeatedly ran high-volume D1 scans during the July 17–August 16 billing period, reading about 1.476 trillion rows and producing a US$1,481.11 invoice (US$1,476.11 for D1 plus US$5 for Workers Paid). The author restricted public access, fixed the query path and added controls and alerts. Cloudflare granted a US$976.11 account credit on August 19, leaving US$500 of the D1 charge uncredited. The author asks how the credit was calculated, why US$500 was left, and how the balance can be used; support said the amount came from a case-specific review by a Finance team, the balance applies automatically to future eligible invoices, and closed the case again. The author notes budget alerts on Workers Paid are informational, not a hard limit.

Reported amount · USD

$1,481.11

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

OperonAtlas: a one-time D1 import wrote 320.76 million billable rows, about $321; the $1 alert came after.

Community user user33412 runs OperonAtlas, a non-commercial academic research database on Workers and D1, and says a one-time large database import and indexing wrote about 370.76 million D1 rows, 320.76 million billable, about $321. A $1 budget alert only arrived after the operation had finished. The author first says a support case requesting a one-time adjustment was opened, then says no billing option could be found; an MVP asked which was the case.

Reported amount · USD

$321

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

An unindexed D1 query produced a $100.90 rows-read overage.

Community user jaime.ruiz.pallares says an unindexed query in their own code caused a $100.90 D1 Rows Read overage on a $105.90 invoice dated August 13, 2026, already paid. The Billing support form appeared to end at a Back button; after an MVP pointed out that all suggested-article dropdowns must be expanded, the author opened a billing case to request a one-time goodwill credit.

Reported amount · USD

$100.90

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

Repeated full catalog reloads into D1 produced a $249.44 charge.

Community user josh129 says repeated full reloads of two D1 databases caused an unexpected $249.44 D1 usage charge. The invoice was already paid; they enabled D1 usage notifications, reduced publishing frequency and are changing the pipeline to write only changed rows, and ask for help getting an existing billing case reviewed for a one-time courtesy credit.

Reported amount · USD

$249.44

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

A runaway client sync loop read D1 619.52 billion billable rows, a $619.52 overage.

Community user hoagiaytim.hp says a bug in their own code made the client-side sync re-read the full dataset on every pass between July 16 and 23, 2026, reading 644.52 billion D1 rows in 30 days, 619.52 billion of them billable, against databases holding about 103 MB. They say a support case for the $619.52 Rows Read overage sat unassigned for 20 days across five follow-ups.

Reported amount · USD

$619.52

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

Rentier Digital: D1 billed a zero-user dev app like production traffic.

Phil (rentierdigital) reports a filing-monitor app still in development—zero users—reading about 47 million D1 rows in a day (averaging about 12.9 million against a 5 million free-tier daily cap, with a July 2 spike to 22 million). He traces the cost to a background poller scanning 18,000 rows per tick and returning empty 447 of 451 times, then migrates off D1. He does not state a dollar invoice amount.

Reported amount · USD

Not disclosed

Reported cause: Repeated pollingx.com
First reported: Latest update:
D1

A missing index on a D1 DELETE read about 4 trillion rows, a $4,114.97 charge.

Community user user11226 says a missing database index made a DELETE operation repeatedly scan the table, generating about 4.03 trillion D1 rows read in the billing period and an unexpected $4,114.97 bill on what they understood to be a $5-a-month subscription. In follow-ups they accept they should have configured billing alerts, say Cloudflare successfully challenged their chargeback while the urgent billing case took more than three weeks to get a response, and ask for someone to review the circumstances.

Reported amount · USD

$4,114.97

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

Kent C. Dodds: full-table D1 aggregates produce a $195.05 rows-read line item.

Kent C. Dodds links a pull request on X calling it "an unfortunate lesson". The pull request says the Aug 8, 2026 Cloudflare invoice ($213.79 total) included a $195.05 D1 line item for 195 billion rows read (Jul 8–Aug 7), mostly attributed to two full-table PostRead aggregates cached only in per-isolate memory. The change moves those results to a shared KV-backed cache.

Reported amount · USD

$195.05

Reported cause: Read volumex.com
First reported: Latest update:
D1

An unexpected D1 read charge grew from $176.37 to $195.85 within the billing period.

Community user akelmithat1 reports an unexpected one-time D1 charge of $176.37 in the July 20 to August 20, 2026 period from a small test-only collector project and asks for a one-time courtesy credit. The same day they update that billable D1 rows read kept backfilling to $195.85 (195.85 billion billable rows) although the Worker showed no invocations, and ask for the adjustment to apply to the final amount.

Reported amount · USD

$195.85

per month

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

557 million D1 rows written produced about $949.

Community user s0565184740 says their first-ever usage invoice, about $949, was driven almost entirely by 557 million D1 rows written from a now-fixed code bug, and that the account was restricted with "Exceeded maximum DB size" on every D1 write. They ask for a goodwill waiver and service restoration but say the Support Portal offered no way to open a billing case; an MVP replied that opening all the questions reveals the button.

Reported amount · USD

$949

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

A crawler hitting a 380k-page sitemap drove 800 billion D1 row reads and an $800.03 charge.

Community user faithalarmapp says Google crawling a 380,000-page sitemap generated 800 billion D1 row reads in one week (June 22 to 28, 2026), an unexpected $800.03 charge, and asks for a goodwill credit. A Cloudflare Customer Reliability Engineer replied that the payment redirect on the dashboard can be clicked through to open a billing ticket. After fixing caching and redirects, the author reports about four weeks later that the support case has no resolution and that the account was downgraded to the free tier.

Reported amount · USD

$800.03

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

An LLM agent wrote about 5 billion rows to D1, a $5,864.11 invoice.

Community user matthieu.marielouise says that between mid-May and mid-June 2026 an LLM coding agent shipped a change that rewrote the same data every few minutes, producing about 5 billion D1 writes and a $5,864.11 invoice on an account with a baseline of about $5 a month. He says billing alerts and budget thresholds did not fire in time and the alert emails landed in spam, and that a billing ticket filed June 11 requests a courtesy credit. About two weeks later he reports no answer and says a lawyer told him the debit breached PSD2 Article 64 consent rules.

Reported amount · USD

$5,864.11

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

Full-table scans on D1 produced $564.23 in usage for one cycle.

Community user need1026 says a hot-path query that full-scanned a large table without an index drove the May 13 to June 12, 2026 cycle to $564.23 of billable usage, almost all D1 Rows Read ($562.84). The author added the missing indexes on June 5 and asks for a one-time credit before the invoice is finalized.

Reported amount · USD

$564.23

per month

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

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

Reported cause: Read volumefullstacksveltekit.com
First reported: Latest update:
D1

contact.freeicon: inefficient D1 queries produced about $748 in four days.

Community user contact.freeicon, running a non-profit free icon library on cloudflare-icon.pages.dev, reports unexpected D1 charges of about $748 from April 13–17, 2026 after a LEFT JOIN GROUP BY query scanned about 6.4 million rows on every page request and bot crawling drove about 200 billion reads. The author replaced the query with a pre-computed indexed column and 72-hour KV caching.

Reported amount · USD

$748

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

daniel207: a dashboard left open overnight drove D1 row reads into a very large bill.

Community user daniel207 says that while getting D1 working, a dashboard generated a large number of row-read calls and was left open overnight, causing a very large bill on a Pro plan; the product is now offline. The author sent a billing request (case 02075425), escalated it, and has had no acknowledgement. The author has since set budget warnings, says they would not have helped here, and asks Cloudflare for rate limiting or a hard pause limit. No amount is stated.

Reported amount · USD

Not disclosed

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

6.3 trillion D1 row reads in one day led to a $6,781 charge and a billing dispute.

Community user markbooth63, a solo developer on Pages and D1, says a coding bug ran a full table scan on every API request on April 7, 2026, causing 6.3 trillion D1 row reads in a few hours and a $6,781 invoice. He says he fixed it and filed a billing dispute the same day, added an index, and that after 10 days without a response the balance was reduced to $6,357 with no explanation.

Reported amount · USD

$6,781

Reported cause: Read volumecommunity.cloudflare.com
First reported: Latest update:
D1

D1 import failures reset the database and inflated writes to about 550 million rows.

ken7 reports migrating a read-heavy site to Workers with D1, then repeated internal D1 failures that reset the instance and forced full re-imports. The author says about 550,456,381 rows written on the invoice reflect failed import retries rather than production usage, and requests a waiver or credit. No dollar amount is given.

Reported amount · USD

Not disclosed

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

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

Reported cause: Unbounded loopcommunity.cloudflare.com
First reported: Latest update:
D1

user1234567 (colorlabs.net): a bot attack and 1.9 trillion D1 row reads led to a huge bill.

Community user user1234567 (colorlabs.net) says a bot attack, with no-referrer requests, fake user agents and over 100,000 visits from Singapore, got through the Cloudflare proxy despite Bot Fight Mode and produced a huge D1 bill: about 500,000 requests reportedly generated 1.9 trillion D1 row reads. The author contacted support on January 8 when the bill was generated, disputes it under case 01919383, deleted the database, Worker and Pages site, and says the R2 and Workers subscriptions were then cancelled, taking the sites down. No amount is stated.

Reported amount · USD

Not disclosed

Reported cause: Traffic spikecommunity.cloudflare.com
First reported: Latest update:
D1

lieft: 51.1M D1 rows written billed $52 where the author expected $2.

Community user lieft says D1 rows written for the billing cycle were 51,129,049, only 1,129,049 above the 50 million free allowance, so the charge should have been $2 instead of the $52 on the invoice. The author asks for a refund, reposts when no one replies, and later says a support request was filed but still had not been handled.

Reported amount · USD

$52

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:
D1

user2412: failed D1 imports that hit the 30s timeout still billed 109M writes, $59.

Community user user2412 says importing the CBDB biographical database (about 80 tables, 9.5 million rows, 375 indexes) into D1 with Wrangler repeatedly hit the 30-second timeout, and each failed attempt still consumed billed writes even though the transactions rolled back. The account was charged for 109 million writes against a 50 million free tier, so 59 million writes were billed at $1 per million, $59. The author argues the platform's timeout limit is being turned into user cost, and later posts billing case 01780096.

Reported amount · USD

$59

Reported cause: Write volumecommunity.cloudflare.com
First reported: Latest update:

Related billing guides

GuideAccount-wide usage-based products

Budget alerts

Cloudflare documents account-wide spend alerts and their notification limits.

GuideAccount-wide usage-based productsWorkersDurable ObjectsR2

Optimize costs

Cloudflare lists ways to find and reduce usage-based charges by product.

GuideWorkersKVD1R2Queues

cf-usage-guard

An open-source library that reads account usage from the Cloudflare GraphQL API and circuit-breaks individual Worker bindings before overages.

GuideWorkersD1Durable ObjectsR2Queues

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.

GuideAccount-wide usage-based productsDurable Objects

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.

GuideD1Workers

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.

GuideAccount-wide usage-based products

A budget alert is a horn, not a brake

@GUYUE_LGY points to Cloudflare’s Budget alerts documentation: alerts send email when spend crosses a threshold but do not pause or cap usage. Before letting AI run unattended, the author checks what actually happens at the line.

GuideAccount-wide usage-based products

Billable Usage API

Cloudflare introduces an API that returns a self-serve account’s usage and cost by product and service period, currently updated daily.

GuideWorkersDurable ObjectsD1R2KVQueues

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.

GuideWorkersD1KVR2QueuesDurable ObjectsWorkers AIImages

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.

GuideD1Workers

A $500 D1 bill? Check rows written first

Layerbase walks through the D1 write meter using a public $513.20 invoice: writes cost 1,000× reads per row, indexes add written rows, and common causes include reprocessing jobs, upsert loops and writes on the read path.

GuideWorkersPagesD1R2

Aria: hosting on the free tier and three pitfalls

Aria (@AionVoid) describes putting sites and small tools online on Cloudflare's free tier, then lists the pitfalls: quotas reset at 08:00 Beijing time and error out when exceeded, R2 needs a card and charges overage, and it is not a VPS.

GuideWorkersD1R2KVDurable ObjectsQueues

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.

GuideWorkersKVD1

GouGeHSLU: Workers Free allowances from the official pricing page

@GouGeHSLU summarizes Workers Free from the official pricing page: 100,000 requests/day with 10 ms CPU each, unlimited free static-asset requests and no egress charge, plus KV/D1/log Free meters, notes Free has no Durable Objects and hard-stops instead of billing, and says Free quotas reset at 00:00 UTC.

GuideWorkersD1R2KVDurable ObjectsWorkers AI

Polaris: self-hosted Free-plan remaining-quota and cost dashboard on Workers

etak64n/polaris is an MIT-licensed dashboard on Cloudflare Workers that shows how much of each Free plan limit is left and the cost/metrics of Workers, D1, R2, KV, Durable Objects, Queues, Workflows, Hyperdrive, Browser Run and Workers AI. It deploys behind Cloudflare Access and reads Analytics with an API token kept as a secret.

GuideWorkersR2D1Workers AI

fantuantalk: apply for Cloudflare for Startups $10,000 credits while bootstrapped

@fantuantalk’s X article walks through applying to Cloudflare for Startups as a self-funded builder: $10,000 / $100,000 / $350,000 credit tiers, one-year non-cash credits usable on Workers/R2/D1/Workers AI (with product-specific caps; AI Gateway not covered), form steps, and a note that a payment method is still required so overages or ineligible charges can bill.

GuideWorkersWorkers AIR2D1Pages

runes_leo: applying for the Cloudflare for Startups $10k bootstrapped tier with an AI agent

@runes_leo describes applying for the Cloudflare for Startups $10k tier without funding: the three tiers, who qualifies, the four-page form, and three pitfalls (a sign-in button greyed out in Chrome, a required company-domain email, and a payment method required on the linked account). He later corrected the $100k/$350k criteria, said approval and credits were still pending, and on November 10 updated that Workers AI is no longer covered for new members (existing $10k-tier members up to $2,500 until December 1).

GuideD1

FlareCost: D1 on the Free plan, daily row caps and 500 MB per database

FlareCost's D1 Free page lists 5 million rows read and 100,000 rows written per day with 5 GB total storage, queries failing at the next row past a daily cap until midnight UTC, and per-database limits (ten databases of 500 MB each, 7 days of Time Travel, 50 queries per invocation). Reviewed against official pricing pages on 2026-11-02.

GuideD1

FlareCost: D1 Free daily row-write limit error at 100,000 rows

FlareCost's error page explains the D1 message shown when an account hits 100,000 rows written in a UTC day on Free: writes fail until 00:00 UTC, Workers Paid includes 50 million rows written a month then $1 per million, and indexes make the cap easier to hit because writing an indexed column also writes the index. Reviewed against official pages on 2026-11-02.

GuideWorkersKVD1Durable Objects

FlareCost: what the $5 Workers Paid plan includes

FlareCost's explainer says Workers Paid is a $5 monthly minimum per account that includes the Paid allowances for Workers requests and CPU, KV, Hyperdrive and Durable Objects; included usage is not extra credit on top of the $5, overages are added to it, R2 keeps its own free tier, and the plan is separate from a zone plan. Reviewed against the Workers pricing page on 2026-11-02.

GuideD1

FlareCost: what a D1 full table scan costs past 25 billion rows read

FlareCost's scenario scans the same 5-million-row table 200 times a day for 30 days: 30 billion rows read, 5 billion of them billed at $0.001 per million, totalling $10.00 on Paid including the $5 minimum. It stresses that D1 bills rows scanned, not rows returned, and that indexes cut reads but add a written row when the indexed column changes. Rates as published on 2026-11-02.

GuideDurable ObjectsD1Workers

Anti-abuse code that burned the Durable Objects allowance: heartbeats, rejected requests and D1 scans

Frank Zeng (@frankzeng2020) says an AI-written anti-abuse module pushed Durable Objects to 1.19 million requests against the 1 million included each month, costing him an extra $0.15; a budget alert email caught it, and the audit also found a D1 query path scanning 925 million rows a day and a signing key re-imported on every request. He shares a read-only self-audit prompt.

GuideWorkersQueuesD1

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.

GuideD1

D1 on the free plan: unindexed queries burn rows read

风易 (@Michael_liyang) says the costliest thing on the free plan is not writes but queries without an index: D1 bills by rows read and an unindexed query scans the whole table, multiplying rows read (a figure he marks as still to be confirmed). He recommends indexing hot query fields, selecting only needed columns and logging slow queries.

GuideWorkersKVD1

Workers Free: 50 subrequests per request is a wall, not a quota

风易 (@Michael_liyang) says a single Workers Free request can make at most 50 subrequests, counting upstream calls, KV reads and D1 writes, and going over fails with an error; he suggests counting subrequests, caching what you can, batching reads and splitting overflow work into a queue.

GuideWorkersDurable ObjectsD1R2KVQueuesWorkers AI

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.

GuideD1R2WorkersKVQueues

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.

GuideWorkersD1

AetherGate: a self-hosted OpenAI-compatible gateway on Workers with per-member RPM, TPM and monthly budgets

haiying-ai/aethergate-ai-gateway is an MIT-licensed self-hosted OpenAI-compatible gateway that runs on Cloudflare Workers and D1. It routes one public model name to several upstream providers, issues hashed per-member sk- keys, and enforces RPM, TPM, concurrency and monthly budget policies, with a usage ledger and audit logs. This is an upstream-key control plane, not a substitute for Cloudflare’s own AI Gateway spend limits or account Spend Management.

GuideD1

Community: D1 Free daily row-read block with about 12,000 rows showing after the UTC reset

On 14 November 2026, kaushalkrishna011 reported that production D1 reads on flexiyo.kaushalkrishnax.workers.dev were blocked with “Account has exceeded the daily D1 Free tier limit of 5,000,000 rows read,” while usage after the 00:00 UTC reset was only about 12,000 rows. A 24-hour dashboard view showed about 11 million rows, including usage before the reset. The account had one D1 database; Explore Data was also blocked. There was no staff reply as of this run.

GuideWorkersD1R2

FlareCost: the calculator only prices Workers, KV, D1, R2, Durable Objects and Queues

FlareCost’s calculator-leaves-out page (reviewed 2026-11-02) lists what its total omits: Hyperdrive queries, Workers Logs / Logpush, Vectorize, Containers, Workflows, Images, and registrar or zone plans. Logs today are 200,000 events a day on Free, and 20 million a month plus $0.60 per million on Paid, kept 3 or 7 days; from 1 December 2026 they move to Observability pricing, and those future rates were not copied. Extra D1 databases and R2 buckets above 100,000 each cost $0.10 per month and are also outside the total.

GuideD1

FlareCost: D1 databases: 10 on Free, 100,000 included

FlareCost’s d1-database-count page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 10 databases. Paid plan: 1,000,000 databases per account. The first 100,000 are included. Each database above that costs $0.10 per month, even when it is empty. A single Worker can bind on the order of 5,000 D1 databases, excluding environment variables, because of the script metadata limit. The $0.10 is per database per month, on top of rows and storage. The calculator does not add that line.

GuideD1

FlareCost: Cloudflare D1 database size: 500 MB Free, 10 GB Paid

FlareCost’s d1-database-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 500 MB per database, and 5 GB for the whole account. Paid plan: 10 GB per database. Account storage in the limits table is 1 TB, separate from the 5 GB included before the $0.75/GB-month charge. Hitting the per-database cap returns `Exceeded maximum DB size.` The billing storage meter is account-wide GB-month, not the per-database cap.

GuideD1

FlareCost: Cloudflare D1 queries per Worker invocation

FlareCost’s d1-queries-per-invocation page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 50 queries per invocation. Paid plan: 1,000 queries per invocation. A `db.batch()` counts as one query against this limit, even if it contains many statements. Issuing 2,000 individual queries fails with `Too many API requests by single Worker invocation`. The batch still reads and writes the rows inside it. The invocation limit is not a billing discount.

GuideD1

FlareCost: Cloudflare D1 query duration

FlareCost’s d1-query-duration page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 30 seconds, because the HTTP API itself must finish in 30 seconds. Paid plan: 30 seconds. A single statement that updates hundreds of thousands of rows can exceed execution limits. The docs say to batch work, for example 1,000 rows at a time. Time spent inside D1 still sits inside the Worker CPU and memory limits.

GuideD1

FlareCost: Cloudflare D1 rows-read allowance

FlareCost’s d1-rows-read-allowance page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 5 million rows read per day, reset at 00:00 UTC. Queries fail after that. Paid plan: First 25 billion rows a month included, then $0.001 per million. A full scan counts every row. The official example is `SELECT * FROM table` on 5,000 rows counting as 5,000 reads. Paid reads are prorated. One billion rows past the allowance cost $1.

GuideD1

FlareCost: Cloudflare D1 Time Travel retention

FlareCost’s d1-time-travel page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 7 days, and at most 10 restores per 10 minutes per database. Paid plan: 30 days, with the same restore rate limit. Time Travel is point-in-time recovery. It is not the undelete API. As of 23 October 2026, undelete only accepts databases deleted in the last 7 days. The pricing table does not list a separate Time Travel fee.

GuideD1Workers

hiromsaeden: an unindexed D1 GROUP BY loop produced $2,129.00 in invoices on a hobby project

On 2026-11-18, Cloudflare Community user @hiromsaeden published a post-mortem of a personal hobby project. An unindexed GROUP BY aggregate query scanned about 877,000 rows to return 30 rows; an unintended loop triggered about 315,000 runs across two billing cycles. In the 15 October–15 November cycle alone, 1,447,580,203,670 rows (1.44 trillion rows) were read. Invoice IN-83890481 was $529.88 USD (paid). Invoice IN-89082487 was $1,599.12 USD ($1,447.58 D1 Rows Read + $6.16 Workers CPU + $145.38 tax). Total billed was $2,129.00 USD; the expected budget was about $20/month. Support cases #02408621 and #02434399 led to a one-time courtesy credit of $953.74 (including a held $275.00), leaving a final balance of $645.38 USD; support said no further adjustments would be made. These amounts are the author’s invoices and credits, not a Billflare case total in this guide.

GuideWorkersKVD1

风易: On the free tier, what Cron fears most is task overlap; use a KV lock to skip rather than running again in parallel

On 2026-11-13, X user @Michael_liyang (风易) wrote an experience note about scheduled tasks on the Workers free tier: what is feared most is not failure, but overlap. Cron triggers once every 5 minutes; if the previous run has not finished, the next one arrives, and the same batch of data is processed twice. The approach the author gives is: take a KV lock before executing, and skip immediately if it cannot be obtained; the lock must carry an expiration time, so that a hung task does not leave the lock stuck; after the run finishes, write to D1 and then release the lock. The chain is trigger → take the lock → skip if not obtained → execute if obtained → write the result → release the lock. The author emphasizes: the lock prevents duplicates; it does not prevent slowness.

GuideD1

风易: On the free tier, do not brute-force concurrent D1 writes; queue first, then write serially

On 2026-11-17, X user @Michael_liyang (风易) wrote a new D1 write experience note: on the free tier, do not brute-force concurrent D1 writes; queue first, then write serially. The author says D1 writes are serial; when several requests write the same table at the same time and collide, the mild case is a retry and the severe case is a failure. The approach is: 1. Write requests enter the queue first; 2. The consumer writes serially, batch by batch; 3. On failure, return to the queue and wait for the next round. The chain is request → enter the queue → write D1 serially → return to the queue on failure. The author emphasizes that reads can be freely concurrent, and writes must be queued.

GuideD1Workers

hontrandev: a Workers Free D1 board list query read about 15,000 rows to return 58

On 2026-11-18, X user @hontrandev wrote that Cloudflare emailed that D1 had reached 78% of the 5 million rows-read-per-day limit on Workers Free, for a small internal ticketing app. The author says one board list query was reading about 15,000 rows to return 58, and that they wrote up why and how they fixed it, with a link in a reply. This is a usage warning on the Free daily cap, not an invoice amount.

GuideD1

yaobuilds: Auto-refresh on the stats page may use up the D1 free tier's daily quota of 5 million rows read

On 2026-11-19, X user @yaobuilds reminds: a D1 free account has a daily quota of 5 million rows read, counted by rows scanned. The author gives an example: assuming 10,000 rows are scanned per minute, 24 hours requires reading 14,400,000 rows. The suggestion is to look at meta.rows_read first, then multiply by the number of calls per day; when the total does not need to be updated in real time, it can be cached for a few minutes. The author writes that the busiest "user" may be one's own auto-refresh. This is a usage calculation method, not a bill that has already occurred.

GuideD1Workers

风易: What cache fears most is looking up things that do not exist; a crawler scanning random keys makes every request hit D1

On 2026-11-16, X user @Michael_liyang (风易) wrote: what cache fears most is looking up things that do not exist. A crawler scans random keys, penetrates every time, and hits D1 directly, so the cache is added for nothing. The approach is to cache empty results as well, and give the TTL only 5 minutes; log high-frequency nonexistent keys to D1, and blacklist them once confirmed to be a crawler. The chain is request → check cache → return on hit → query D1 on miss → write an empty-value cache if it does not exist. The author's judgment: the cache prevents repeated lookups; it does not block lookups of nonexistent things on the database's behalf.

GuideD1Workers

风易: On the free tier, do not send write operations one by one; a D1 batch can write N rows at one time

On 2026-11-17, X user @Michael_liyang (风易) wrote: on the free tier, do not send write operations one by one; what one batch write saves is the number of rows written and the number of subrequests. D1's batch can carry multiple statements at one time, and one call writes N rows. The chain is request → accumulate a batch → write once with batch → retry the whole batch on failure, and use an idempotency key as a backstop. The author's judgment: do not accumulate when real-time requirements are high; accumulate only for logs, bookkeeping, and bulk imports; write how long to accumulate into the config, and force a flush to disk on timeout.

GuideWorkersD1

风易: 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.

GuideD1Workers

风易: On the free tier, do not wait synchronously for bookkeeping and log writes; return first, then persist to the database in the background with waitUntil

On 2026-11-16, X user @Michael_liyang (风易) wrote: on the free tier, do not wait synchronously for bookkeeping and log writes; return the response first, and throw write operations to the background. A synchronous write to D1 both slows the response and burns CPU time. The approach is: the response contains only the business result; bookkeeping goes through waitUntil to persist in the background; on failure, enter the queue for a catch-up write. The chain is request → call upstream → return the result first → write the books in the background → catch-up write on failure.

GuideD1Workers

风易: On the free tier, do not log in full; logging in full burns the D1 rows-written count first

On 2026-11-14, X user @Michael_liyang (风易) wrote: on the free tier, do not log in full; what full logging burns first is the D1 rows-written count. The approach is: log all errors, with a trace id and an error code; sample only 1% of successes, enough to see the trend; write the sample rate into the config, temporarily raise it when investigating, then lower it back. The chain is request → assign a level → log all errors / sample successes → redact → persist to D1. The author's judgment: logs are for investigation, not for stockpiling for retirement; the rows written that are saved are left for real errors.

GuideD1Workers

Nash: 115,937 D1 call-log rows since 22 October, after logging every uptime-monitor 402; sampling 1 in 100 cut the noise

On 2026-11-04, X user @NashBriggsy (Nash) wrote that their D1 call log had 115,937 rows since 22 October. Every request to their agent tools wrote one row with 17 columns (tool, status, paid, price, payer, ms, country, user agent and more). The flow was: the agent asks, gets a 402 with the price, signs, the facilitator settles, the tool answers, and the Worker writes the row. What went wrong, the author says, is that they also logged every uptime monitor’s 402, and that ran up the D1 bill. On 29 October they started sampling monitor 402s at 1 in 100 and added a time index for reports. The post does not state a dollar amount.

GuideWorkers KVWorkersD1

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.

GuideWorkersD1R2

Feng Yi: AI cost weekly|11/20; watching the model unit price is not enough—first split costs across requests, CPU, tokens, writes, and retries

On 2026-11-20, X user @Michael_liyang (Feng Yi) published "AI cost weekly|11/20". The conclusion is that watching the model unit price is not enough—first split costs across requests, CPU, tokens, writes, and retries. Figures the author checked this week: creating a D1 table is rows_written=2, and inserting 1 row is rows_written=1; the Workers free tier is 100,000 requests/day; the D1 free tier is 5,000,000 row reads/100,000 row writes per day; R2 egress is 0 美元. Suggested ledger fields: requests / rows_written / cpu_ms / input_tokens / output_tokens / retry_rate / cost_per_success. The author cautions: a free quota is not 0 cost.

GuideD1R2Workers

Feng Yi: a free Cloudflare stack still needs an exit map; if a restore into a fresh account takes over 30 minutes, it is cheap but not operationally free

On 2026-11-21, X user @Michael_liyang (Feng Yi) replied to @hiromu_bdy that the free stack still needs an exit map: export D1 to SQL, R2 objects with checksums, and Worker config to version control. Test a restore into a fresh account; if that takes over 30 minutes, the stack is cheap but not operationally free. The 30-minute threshold is the author’s operational test, not an official limit or a billed amount.

GuideWorkersD1

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.