When Workers Free hits its daily limit: error 1027 (fail closed) or bypassing the Worker (fail open)
Morley (@Morley_Zhou) explains that when the Workers Free daily request limit runs out, a site either shows error 1027 (fail closed) or bypasses the Worker (fail open), which can silently drop edge auth checks. He recommends fail closed or Workers Paid for auth, paywalls and admin routes.
- Products
- WorkersPages
- Source
- Author experience𝕏 article
- Author
- Morley (@Morley_Zhou)
Key points
- Two outcomes after the daily limit: fail closed shows Cloudflare error 1027; fail open sends requests past the Worker as if none were configured, so static pages or the origin may still respond while login checks written in the Worker are no longer in the path.
- The ledger: Workers Free is about 100,000 requests a day, reset at midnight UTC, shared between Workers and Pages Functions; static requests that do not trigger Functions generally do not count. The zone’s Free plan (CDN, DNS, SSL) is separate from Workers Free.
- Do not confuse 1027 (daily request limit) with 1102 (resource limit, commonly about 10 ms CPU per request on Free); time waiting on fetch or KV usually does not count as CPU. Pages has its own fail open/closed setting for when the daily allowance is exhausted.
- His practice: watch usage, not just whether the homepage loads; prefer fail closed or Workers Paid for auth, paywalls and admin entry points; go static where possible; remember crawlers and preview deployments also count toward 100,000; track the reset in UTC.
- The Workers limits page read on 2026-11-04 confirms the 100,000-request daily limit resetting at midnight UTC, error 1027, and the fail open (bypass the Worker) and fail closed (1027 page, for security-critical Workers) modes.
Original sources
Published
Original post
Read on 𝕏Morley (@Morley_Zhou) explains that when the Workers Free daily request limit runs out, a site either shows error 1027 (fail closed) or bypasses the Worker (fail open), which can silently drop edge auth checks. He recommends fail closed or Workers Paid for auth, paywalls and admin routes.
Morley
@Morley_Zhou · Original 𝕏 post
https://t.co/jfcue5turH
Read originalArchived
Morley · @Morley_Zhou
Cloudflare Workers Free 日限额触顶之后:1027 红页,还是站「还活着」?
Workers Free 日请求打满之后,你的站不一定「挂了」。 两种常见结果: Fail closed:用户看到 Cloudflare Error 1027 错误页。难看,但至少诚实——边缘逻辑停了。 Fail open:请求绕过 Worker,表现得像从没配过。静态页可能还在;源站也可能还在响应。看起来像正常,写在 Worker 里的登录校验却可能已经不在链路上。 所以「还会不会活」是个坏问题。该问的是:额度没了之后,你的安全边界还在不在执行。 典型路径:side project 挂边缘鉴权或轻量 API → 用户、爬虫、预览部署、自己狂刷,一起吃同一本账 → 日限额触顶 → 体感完全取决于你当初选的 fail 模式。 账本本身不玄乎。Workers Free 大约 10 万请求/日,午夜 UTC 重置。Workers 和 Pages Functions 共用这一本(官方举过 5 万 + 5 万用满的例子)。没触发 Functions 的静态请求,一般不跟这本账抢。站点套餐的 Free(CDN/DNS/SSL 那层)和 Workers Free 不是一回事——护站层还在,不代表边缘代码配额还在。 https://developers.cloudflare.com/workers/platform/limits/ https://developers.cloudflare.com/pages/functions/pricing/ https://www.cloudflare.com/plans/free/ 别混:1027 是日请求限额;1102 是资源墙(Free 上常见 CPU 约 10ms/请求)。等 fetch/KV 的时间通常不算进 CPU。红页长得像,排查不是一条路。 Pages 在日额度耗尽时也有 Fail open/closed(大致在项目 Settings → Runtime)。Fail open 仍可能出静态——选之前先想清楚:这个 Functions 是在做门锁,还是可有可无的装饰。 https://developers.cloudflare.com/workers/observability/errors/ https://developers.cloudflare.com/pages/functions/routing/ 实务上:看用量别只看首页还在不在;鉴权/付费墙/后台入口,优先 fail closed 或直接升 Workers Paid;能静态就静态;爬虫和预览部署也算进 10 万;重置按 UTC 记。 日限额是账本问题。Fail 模式是安全问题。1027 之后最坑的,往往不是红页,是假活。
More to read
风易: the easy leak on a free R2 public bucket is the public URL, not the quota itself
风易 (@Michael_liyang) argues that a public R2 bucket’s direct URL can be hotlinked by anyone, so other sites’ traffic is billed to the bucket owner. The recommended three steps are a custom domain instead of a bare r2.dev link, a Worker Referer allowlist that returns 403 otherwise, and signed expiring URLs for images.
Kun Save Point (@Savepoint_kk): a D1 bug rewrote unchanged data into a $2,739.12 bill; $2,141 goodwill credit granted.
Kun Save Point (@Savepoint_kk), an indie developer who says he recently lost his job, says a bug repeatedly rewrote unchanged data while inefficient queries amplified reads, producing a $2,739.12 Cloudflare bill already paid via PayPal (D1 rows written $2,641.00, rows read $64.06, other services $34.06); he says his bills were usually under $10 a month. Cloudflare granted a $2,141 goodwill account credit under case #02391058. He asks for it to be converted into a refund to the original PayPal payment, or at least for relief on the $2,641 write charges, and later writes that the initial request was declined and has been reopened for additional review. On October 25 he adds that he missed the only alert email Cloudflare sent, whose amount was not particularly high, and received no further warning before the large card charge; on October 26 he writes that the refund request to the original payment method is still under further review. On November 10 he posts a timeline saying that after following up on November 10–11, support again stated the $2,141 could only remain as account credit and the remaining $598.12 was still undecided while the ticket was being closed.
Ru Bite: In Spend Management, turn on Block usage under Billing → Spend limits; limits reset on the subscription billing period, the notification email must be filled in separately, and after Durable Objects are paused storage fees may still continue
On 2026-11-19, X user @JustLikeBit (Ru Bite) wrote a set of notes on metered cloud services having their free quota burned through by bots, and on Cloudflare Spend Management. The author says the entry point is Billing → Spend limits: select Workers or Durable Objects, set a limit, and turn on Block usage; once the limit is hit, supported operations are blocked automatically, and it does not rely only on email alerts. A follow-up adds: limits reset on the subscription billing period, not necessarily on the 1st of each month—for example, if the renewal date is the 15th, counting starts from the 15th; to receive emails at the 80% and 100% thresholds, notification_email must also be configured separately, and setting a limit does not fill in the notification email automatically; after Durable Objects are paused, storage fees for existing data may still continue. The author attached a link to the official documentation. These are the author's restatement of official capabilities and operational reminders, not an actual bill.