billflare.

FlareCost: Cloudflare Workers environment variable limits

FlareCost’s workers-environment-variables page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 64 variables per Worker, 5 KB each. Paid plan: 128 variables per Worker, 5 KB each. Secrets and text variables share the count. There is no account-wide variable count on the limits table. Variables are not a usage charge. Do not put API keys in wrangler vars; use secrets.

Products
Workers
Source
Community resourceFlareCost
Author
FlareCost

Key points

  • Secrets and text variables share the count. There is no account-wide variable count on the limits table.
  • Variables are not a usage charge. Do not put API keys in wrangler vars; use secrets.
  • FlareCost describes itself as an independent cost estimator not affiliated with Cloudflare.

Original sources

  1. Last updated

    FlareCost: Cloudflare Workers environment variable limits

    Open original source

    FlareCost’s workers-environment-variables page (reviewed 2026-11-02) is checked against the official Cloudflare pricing pages listed under Sources. Free plan: 64 variables per Worker, 5 KB each. Paid plan: 128 variables per Worker, 5 KB each. Secrets and text variables share the count. There is no account-wide variable count on the limits table. Variables are not a usage charge. Do not put API keys in wrangler vars; use secrets.

Author experienceR2 +1

风易: 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.

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.

Author experienceWorkers +1

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.