billflare.

D1 free tier hard limits: budgeting a small app’s database after the September 2026 enforcement

涂阿燃 reads Cloudflare’s September 2026 D1 free tier enforcement notice and turns it into a budget for small apps: how rows are metered, which query patterns burn the daily quota, how to find them, and how to degrade gracefully when the quota runs out.

Products
D1Workers
Source
Author experience涂阿燃的网络日志 (2aran.com)
Author
涂阿燃

Key points

  • The author summarizes the change: on Workers Free, once an account’s daily D1 rows read or rows written are exceeded, queries fail until 00:00 UTC (08:00 Beijing time); the quotas themselves (5 million rows read and 100,000 rows written per day) are unchanged, the limit is shared across all projects in the account, and data is not lost. Cloudflare’s September 1, 2026 changelog confirms the enforcement, the midnight UTC reset and that stored data is unaffected.
  • He notes the announcement only promises an email when the limit is reached, not earlier warnings, so projects that need advance notice must watch Metrics or build their own monitoring on the GraphQL Analytics API; he also flags that an older D1 release note dated February 10, 2025 already described enforcement, which conflicts with the 2026 notice.
  • On metering, he writes that D1 counts rows scanned and written, not SQL statements or rows returned; indexes cut reads but add write amplification and storage. High-risk patterns he lists: filters on unindexed columns, ORDER BY RANDOM() LIMIT 1, LIKE with a leading wildcard, unindexed joins or correlated subqueries, event tables with many indexes, and maintenance SQL run from the console or Wrangler, which also counts.
  • His troubleshooting order: find the database in D1 Metrics, rank queries by rows read with wrangler d1 insights, check plans with EXPLAIN QUERY PLAN, then fix the worst first; for graceful degradation, do not retry quota errors, pause background jobs until the reset, and handle the read-limit and write-limit errors separately.
  • If optimization is not enough, he says Workers Paid ($5 minimum) removes the free tier’s daily hard stop but bills overage monthly, while Workers requests and CPU time are billed separately.

Original sources

  1. Published

    Cloudflare D1 免费层开始硬性限额:一次规则落地如何改变小应用的数据库预算

    Open original source

    涂阿燃 reads Cloudflare’s September 2026 D1 free tier enforcement notice and turns it into a budget for small apps: how rows are metered, which query patterns burn the daily quota, how to find them, and how to degrade gracefully when the quota runs out.

    Read originalArchived

    This archive does not contain the complete text.

    Cloudflare D1 免费层开始硬性限额:一次规则落地如何改变小应用的数据库预算

    北京时间的重置点是每天 08:00。
Author experienceWorkers +3

Have a domain, don't buy a server yet: quota boundaries when using the Cloudflare free plan for DNS and going live

In an 𝕏 article on 2026-11-26, 𝕏 user Egg_2rich compiled a free-quota quick-reference table against what the author says is the 2026-11-26 Cloudflare documentation, and wrote several pitfalls: Workers Static Assets static requests do not consume the daily request quota, but the per-file limit is 25 MiB; do not set run_worker_first to true, or after Free is exceeded the related paths return 429 directly and do not fall back to static assets; the Free Worker per-invocation CPU limit is 10 ms; R2 egress is free, but Standard storage has free quotas of 10 GB-month, Class A 100 万次, Class B 1,000 万次, and others, and downloads through a Worker count toward the Workers Free daily request quota of 100,000 次.

Other

stevesprompt: an agent clicked Upgrade in the Cloudflare dashboard and charged $1.5k; the money was refunded.

X user @stevesprompt (Steve Huang) says an agent clicked Upgrade in his Cloudflare dashboard and he was charged $1.5k, and that the money was luckily refunded. The author then lists precautions before an agent can spend money or send anything. The post does not name the product that was upgraded. There is no official public Cloudflare response in the thread.

Official docsContainers +2

Cloudflare Containers pricing: vCPU, memory, disk, and egress

Official Containers pricing (dateModified 2026-11-13): billed every 10ms while actively running. Memory and disk are billed on the provisioned instance size for the time the instance is up; CPU is billed on active usage only. Workers Paid includes 25 GiB-hours of memory, 375 vCPU-minutes, and 200 GB-hours of disk per month, then per-second overage rates. Charges start when a request is sent to the container or it is started, and stop after the instance goes to sleep. Snapshots are free during the public beta; GA pricing has not been published. This official page was not yet in the catalog; it did not change in the 2026-11-22 to 2026-11-25 window.