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.
- Products
- D1Workers
- Source
- Author experience𝕏 post
- Author
- Nash (@NashBriggsy)
Key points
- The 115,937 row count and the 1-in-100 sampling change are the author’s figures. This is a logging-volume lesson, not a priced invoice, and it does not identify a D1 unit price.
Original sources
Published
Original post
Read on 𝕏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.
Nash
@NashBriggsy · Original 𝕏 post
115,937 rows in our D1 call log since Oct 22. Every request to our agent tools writes one row: tool, status, paid, price, payer, ms, country, user agent and more. 17 columns. The flow: agent asks, gets a 402 with the price, signs, the facilitator settles, the tool answers, the Worker writes the row. What went wrong: we logged every uptime monitor's 402 too, and that ran up the D1 bill. On Oct 29 we started sampling monitor 402s at 1 in 100 and added a time index for reports. Built with Grok Bot on Cloudflare Workers. What do you log on every call, and what did you stop logging?
More to read
Why a per-request key pool did not fit KV's free tier, and moving it to a Durable Object
A Reddit user who built an MCP reverse proxy on Workers says keeping the API-key pool in KV cost 1 list, N reads and 1 write per request, so the Free plan's 1,000 writes and 1,000 lists a day capped it at roughly 500 calls a day; moving the pool to a SQLite-backed Durable Object (100,000 rows written and 5 million rows read a day on Free) removed the wall and a race condition.
MrSaneApps: Workers AI usage above the startup-credit cap left $2,473.38 due; Cloudflare declined an invoice adjustment.
MrSaneApps posts what the author describes as a customer-service reply: Cloudflare is not able to adjust invoice IN-85233588 and $2,473.38 remains due; the plan covers Workers AI up to $2,500 over the program term, $2,503.84 in credits was applied to Workers AI usage and the rest billed at standard rates, and startup credits cannot be moved to cover Workers AI above that cap. The quoted reply says the dashboard Credits page showing a $50,000 Workers AI cap applies to the $350,000 tier, that an October 7 reply on case 02359041 should have pointed out the $2,500 cap, apologizes for both, and says the dashboard text was reported for correction without changing the program terms. The author says they were misdirected while trying to understand the plan terms, asks for a human to review the screenshots, and asks Cloudflare to forgive this month’s error.
D1’s 100,000 daily row writes: how naive upserts took a sanctions app offline
A DEV Community post by Oleksandr (alexcodebytes) describes a Workers + D1 compliance app whose ingestion hit D1’s free daily write limit (error 7500) because every upsert counted as a write, and the fixes: a WHERE clause on DO UPDATE, per-run page caps, and staging raw files in R2.