FlareCost: Cloudflare Worker script size
FlareCost’s workers-script-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 64 MiB uncompressed. There is no compressed-size limit. Paid plan: 64 MiB uncompressed. Wrangler's `Total Upload` figure is the uncompressed size that counts. Large bundles also push against the 1 second startup limit. Script size is not billed. Move assets to KV, R2, D1, or static assets instead of bundling them.
- Products
- Workers
- Source
- Community resourceFlareCost
- Author
- FlareCost
Key points
- Wrangler's `Total Upload` figure is the uncompressed size that counts. Large bundles also push against the 1 second startup limit.
- Script size is not billed. Move assets to KV, R2, D1, or static assets instead of bundling them.
- FlareCost describes itself as an independent cost estimator not affiliated with Cloudflare.
Original sources
Last updated
FlareCost: Cloudflare Worker script size
Open original sourceFlareCost’s workers-script-size page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 64 MiB uncompressed. There is no compressed-size limit. Paid plan: 64 MiB uncompressed. Wrangler's `Total Upload` figure is the uncompressed size that counts. Large bundles also push against the 1 second startup limit. Script size is not billed. Move assets to KV, R2, D1, or static assets instead of bundling them.
More to read
风易: On the free tier, do not wait synchronously for bookkeeping and log writes; return first, then persist to the database in the background with waitUntil
On 2026-11-16, X user @Michael_liyang (风易) wrote: on the free tier, do not wait synchronously for bookkeeping and log writes; return the response first, and throw write operations to the background. A synchronous write to D1 both slows the response and burns CPU time. The approach is: the response contains only the business result; bookkeeping goes through waitUntil to persist in the background; on failure, enter the queue for a catch-up write. The chain is request → call upstream → return the result first → write the books in the background → catch-up write on failure.
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.
Anti-abuse code that burned the Durable Objects allowance: heartbeats, rejected requests and D1 scans
Frank Zeng (@frankzeng2020) says an AI-written anti-abuse module pushed Durable Objects to 1.19 million requests against the 1 million included each month, costing him an extra $0.15; a budget alert email caught it, and the audit also found a D1 query path scanning 925 million rows a day and a signing key re-imported on every request. He shares a read-only self-audit prompt.