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.
- Products
- D1
- Source
- Community resourceFlareCost
- Author
- FlareCost
Key points
- 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.
- FlareCost describes itself as an independent cost estimator not affiliated with Cloudflare.
Original sources
Last updated
FlareCost: D1 databases: 10 on Free, 100,000 included
Open original sourceFlareCost’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.
More to read
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.
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.
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.