onefifthblue: plan per-request duration on Workers, with a reply separating CPU time from wall time
@onefifthblue warns that long multi-step Worker requests can waste money: if a user closes the page because it is slow, he says the Worker keeps working and billing continues, which adds up at hundreds of thousands to millions of requests a day. @Michael_liyang replies that Workers cost is mainly CPU time, not wall-clock time.
- Products
- Workers
- Source
- Author experience𝕏 post
- Author
- 五分之1蓝
Key points
- The author advises planning the duration of every request, especially at high daily request volumes.
- @Michael_liyang's reply: log cpuTimeMs and wallTimeMs separately; if wall time is high but CPU is low, check upstream waits first, and do not estimate cost from when the page was closed.
- The current Workers pricing page lists no charge for duration on the Standard usage model and bills CPU time; Durable Objects, by contrast, are billed for wall-clock duration while active or idle but unable to hibernate.
Original sources
Published
Original post
Read on 𝕏@onefifthblue warns that long multi-step Worker requests can waste money: if a user closes the page because it is slow, he says the Worker keeps working and billing continues, which adds up at hundreds of thousands to millions of requests a day. @Michael_liyang replies that Workers cost is mainly CPU time, not wall-clock time.
五分之1蓝
@onefifthblue · Original 𝕏 post
用 Cloudflare Worker 一定得注意单个请求的时长,否则可能浪费很多钱。 比如说一个请求涉及到多步操作,整个流程耗时很长,用户觉得太慢了就直接把网页关了,但是 Worker 其实还在工作的,账单还是在计费的。 所以一定要把每一个请求的耗时规划好,用户少倒是没什么,如果用户非常多,每天有成几十万、上百万的请求量的话,那这之间的浪费就多太多了
@Michael_liyang replies that Workers cost mainly follows CPU time rather than wall time; log cpuTimeMs and wallTimeMs separately and investigate upstream waits when wall time is high but CPU low.
Read on 𝕏风易 | AI 工具链
@Michael_liyang · Original 𝕏 post
@onefifthblue 这里要把 `cpuTimeMs` 和 `wallTimeMs` 分开:Workers 成本主要看 CPU 时间,等待 I/O 跟墙钟时长不是一回事。日志同时记二者;wall 高但 CPU 低先查上游等待,别用页面关闭时刻估算费用。
More to read
qianshuixia2026: D1 free row-read cap burned twice in one day, plus R2 and Workers pitfalls after the first paid orders
浅水虾 (@qianshuixia2026) published a 16 November 2026 X article after the first $12 and $29 orders. On 14 November a 10-minute cron full-table scan burned the D1 Free 5 million daily row-read cap in 2 hours 14 minutes; the same evening the author ran wrangler d1 execute --remote statistics that scanned about 4.08 million rows in 5 minutes and hit the cap again, then paid $5 to upgrade to Workers Paid. The article also covers an R2 multipart complete() customMetadata mismatch that failed a >24 MB export five times (50 credits sent as apology), 128 MB / 10 ms / 50-subrequest walls that a paid plan does not lift, and Queues’ 10,000 daily operations with three operations per delivered message.
igorrizzom: a forgotten Durable Object alarm billed US$ 2,038; Support refunded US$ 1,533.29, leaving US$ 505.
X user @igorrizzom (Igor Rizzo), who also posted on Cloudflare Community as igorarm (urnaaovivo.com), says a personal, non-commercial prototype that collected public election data in Brazil was left running after the October 25 runoff. A Durable Object kept rescheduling itself via alarm every ~5 seconds and writing to SQLite, and the invoice reached US$ 2,038, almost all from DO rows written, with about 10k pageviews. The author says budget alerts were set up but went to an old inbox that was never checked, and that alerts do not stop usage. Spend limits for Workers and Durable Objects were only announced on November 13, after almost all of the usage; the author then set a US$ 1 spend limit, turned the collector off, and removed Cron Triggers. The author says Support refunded US$ 1,533.29 as a one-time courtesy. The remaining US$ 505, which the author later described as US$ 500 of usage plus the US$ 5 Workers Paid fee, was closed as final; the author asked for a supervisor review in case #02442826 (follow-up to #02435308) and also asked @SidChatterjee whether any goodwill path remained for pre-launch cases. There is no Cloudflare staff reply on the public X thread or the Community thread. Public Support actions are reported by the author.
runes_leo: applying for the Cloudflare for Startups $10k bootstrapped tier with an AI agent
@runes_leo describes applying for the Cloudflare for Startups $10k tier without funding: the three tiers, who qualifies, the four-page form, and three pitfalls (a sign-in button greyed out in Chrome, a required company-domain email, and a payment method required on the linked account). He later corrected the $100k/$350k criteria, said approval and credits were still pending, and on November 10 updated that Workers AI is no longer covered for new members (existing $10k-tier members up to $2,500 until December 1).