billflare.

Source-linked reports: Amounts and outcomes come from the original reports and linked replies.

D1justin-ahinon-d1-row-reads

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.

What happened

Reported cause
Read volume
Incident date
Date not recorded
First reported
2026-04-25
Billing outcome
Not recorded
Case progress
Not established
Public Cloudflare reply
Not linked

Latest reported outcome

The author projects about a 95% reduction in row reads after adding indexes and running ANALYZE, and then describes adding a KV cache to read-heavy routes.

View this update in the timeline

Original sources

Each entry links to the report or reply it describes.

Case timeline

  1. D1 invoice and row reads reported

    Open original source

    The author reports a $134.14 invoice, $127.60 of it from about 127.6 billion D1 row reads, after previous bills of a dollar or two. He links it to unindexed queries in a layout that ran on every page and describes indexes, ANALYZE and KV caching as fixes.

    Read originalArchived

    This archive does not contain the complete text.

    I got a $134 Cloudflare D1 bill. Here's how I cut it 95%.

    On April 21, 2026, my Cloudflare invoice was $134.14.
Author experienceWorkers +2

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

R2

maisui: a migration script's recursive R2 listings produced 14.38M Class A operations, about $63; a one-time goodwill credit requested.

Cloudflare Community user maisui says that on November 11–12, 2026, while migrating about 425 GB (1.31M objects) out of an R2 bucket, a script listed the bucket recursively through the S3 API without fast-list; with nearly one object per directory each listing issued about 1.31M Class A operations, and about 11 runs produced 14.38M Class A operations (13.38M billable), about USD 63 on the cycle invoice. The author calls it a one-off script defect, says the usage alert only fired after daily aggregation, has fixed the script and set low billing alerts, and asks for a one-time goodwill credit; the Free plan support portal did not show a Billing case form.

Community resourceWorkers +7

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.