billflare.

FlareCost: D1 row width is not a second meter — rows read are rows scanned

FlareCost's D1 row and statement limits page lists 2 MB per row, 100 columns, 100 KB per statement and 100 bound parameters, and says a row's width does not change the row-read price: a 1 KB row and a 100 KB row are both one row, and rows read are rows scanned. Reviewed against official pages on 2026-11-02.

Products
D1
Source
Community resourceFlareCost
Author
FlareCost

Key points

  • It says the same query-shape limits apply on Free and Paid.
  • Cloudflare's D1 pricing page (read 2026-11-13) bills queries as rows read and rows written rather than by row size.
  • FlareCost describes itself as an independent cost estimator not affiliated with Cloudflare.

Original sources

  1. Last updated

    FlareCost: D1 row width is not a second meter — rows read are rows scanned

    Open original source

    FlareCost's D1 row and statement limits page lists 2 MB per row, 100 columns, 100 KB per statement and 100 bound parameters, and says a row's width does not change the row-read price: a 1 KB row and a 100 KB row are both one row, and rows read are rows scanned. Reviewed against official pages on 2026-11-02.

Author experienceWorkers +4

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.

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.

Author experienceWorkers +3

Turn free allowances into daily budgets with alerts at 70% and 90%

风易 (@Michael_liyang) says 100,000 requests a day and 5 million rows read a day are hard walls, not a safety margin: split production and test into different Workers and D1 databases, alert at 70% and 90%, and degrade before the site returns 500s.