On this page · 13 sections
- What Cloudflare shipped on 13 November 2026
- Hard cap or email alert: the decision
- What counts towards a limit
- What gets blocked when a limit hits
- Why recorded spend can overshoot the cap
- Setting limits with the cf CLI
- Setting limits in the dashboard
- Resuming service after a block
- Where AI Gateway fits
- India-specific considerations
- A checklist for this week
- How eCorpIT can help
- References
Summary. On 13 November 2026 Cloudflare added spending limits and email alerts for Workers and Durable Objects, set per account in US dollars for the current subscription billing period. A limit with blocking turned on stops the product's supported operations once recorded spend reaches it; an email alert only notifies, and the product keeps running. The two products have separate limits, and each covers all usage of that product across the account, so a test Worker can exhaust the cap and take a production Worker down with it. Workers limits count requests and CPU time after included usage; Durable Objects limits count requests, duration, SQLite rows and key-value operations, but not stored data. Cloudflare states that a limit is not a maximum invoice: metering delays, work already in progress and enforcement failures can all push spend past it. You can set limits in the dashboard or with cf billing spend-policies create, where --threshold-cents 5000 means $50. Our verdict: put email alerts on every paid account now, add a blocking limit only where an outage costs less than a runaway bill, and size the cap at roughly twice a normal month so reporting lag cannot bite.
About this article. This is for engineering leads, platform teams and finance owners who run Workers or Durable Objects on the Workers Paid plan. On 25 November 2026 we checked every rule, command and price here against Cloudflare's 13 November changelog post, the spending limits guide and its cf CLI page, the cf CLI setup pages, the Workers and Durable Objects spending limit pages, the Workers and Durable Objects pricing pages, the budget alerts guide and the AI Gateway spend limits page. Cloudflare publishes no figure for how long reporting and blocking take, so the headroom advice below is our judgement, not a vendor number. Exchange rates use the ECB reference rates of 24 November 2026. This is not financial advice, prices can change, and no vendor paid for inclusion. Researched with AI assistance and checked against the primary sources listed in the references.
What Cloudflare shipped on 13 November 2026
The changelog entry, tagged Billing, Workers and Durable Objects, adds three things.
- Spending limits. A dollar threshold per product. When spend reaches it and blocking is on, Cloudflare blocks the product's supported operations until the next billing period or until you change the limit.
- Email alerts. The same threshold with blocking turned off. Cloudflare emails a configured address and the product keeps running.
- A cf CLI command group.
cf billing spend-policiescreates, lists, updates, deletes and audits limits and alerts. In the billing API each limit or alert is called a spend policy.
Cloudflare says support for more products is coming but names none. For now the controls cover Workers and Durable Objects only.
These sit beside two older controls. Budget alerts, introduced in April 2026, email you when account-wide usage-based spend crosses a dollar amount; they never block anything and are available to pay-as-you-go accounts only, not Enterprise contract accounts. AI Gateway spend limits are per-gateway budgets on AI requests, scoped by model, provider or a metadata key such as a user ID, and return HTTP 429 once a budget is used up.
| Control | Scope | What happens at the threshold |
|---|---|---|
| Workers spending limit | All Workers usage in the account | New Worker invocations are blocked |
| Durable Objects spending limit | All Durable Objects usage in the account | Stub requests, SQL queries, storage growth and new alarms are blocked |
| Workers or Durable Objects email alert | One product, whole account | Email at the alert points, nothing stops |
| Budget alert | All usage-based spend in the account | One email per period, nothing stops |
| AI Gateway spend limit | AI requests through one gateway, by model, provider or metadata | Requests get HTTP 429 until the window resets |
The table summarises Cloudflare's spending limits guide, the two product pages, the budget alerts guide and the AI Gateway documentation.
Hard cap or email alert: the decision
The choice is between an outage and a bill. Cloudflare's own guidance is blunt: a limit can interrupt every application in the account that uses the affected product, so pick an alert if you want notification without an interruption.
| Question | Lean towards a hard cap | Lean towards an email alert |
|---|---|---|
| Is the account production? | No: dev, test, hackathon or a side project | Yes: customer traffic depends on it |
| Who pays if it runs away? | A small team with a fixed budget | A business where downtime costs more than compute |
| Do other products depend on it? | Little else runs in the account | Durable Objects, Queues, Cron Triggers or Email Workers call it |
| Is someone watching email out of hours? | No | Yes, with an on-call rota |
| Are tenants or agents spending on your behalf? | Yes, and AI Gateway already limits the AI side | No untrusted spenders |
The rows are our decision rules, built on the blocking behaviour Cloudflare documents. Most teams will end up with both: an alert set at a level that means something has gone wrong, and a cap set high enough that only a true runaway reaches it.
Separate accounts make this much easier. Because a Workers limit cannot target one Worker, environment or billing metric, the only way to cap a staging environment without risking production is to run it in a different Cloudflare account. Our comparison of Cloudflare Workers and Vercel Functions costs covers how Workers bills compare before you split accounts.
What counts towards a limit
Limits use estimated usage charges for the product's current subscription billing period, after included usage is deducted, in US dollars.
| Product | Counted | Not counted |
|---|---|---|
| Workers | Requests and CPU time above the included amounts | The Workers Paid subscription fee, Durable Objects, Workers AI, KV, R2 and other products |
| Durable Objects | Requests, duration, SQLite rows read and written, key-value read, write and delete operations | Stored data and the shared subscription fee |
That is from the spending limits guide. Two consequences follow. First, a Workers cap does nothing about a runaway Durable Object, a KV bill or an R2 bill; each needs its own control or an account-wide budget alert. Second, the period follows your subscription renewal date, not the calendar month: if your subscription renews on the 15th, the limit resets on the 15th.
The limit also counts spend already recorded in the period. Save a $50 limit after the product has accrued $60 and it can block almost at once. Check the billable usage dashboard, which shows daily usage-based charges from the same system that builds the invoice, before you save a number.
What gets blocked when a limit hits
Workers
Once a Workers limit takes effect, Cloudflare rejects new invocations: incoming HTTP requests, Cron Triggers, Queue consumer invocations, Email Worker invocations, and calls from other Workers or Durable Objects. HTTP visitors see error 1103, which has other causes too, so check the spending limits page before you open a support case. Rejected requests are not billed as invocations.
Static assets served without running Worker code stay available. Requests that need the Worker, for example routes set to run the Worker first, can fail. Nothing is deleted: your Workers and assets remain. A marketing site built from static assets therefore keeps loading while its API, form handlers and scheduled jobs stop.
Durable Objects
A Durable Objects limit rejects new requests through a stub, rejects SQL reads and writes, rejects SQLite storage growth and rejects new alarms set with setAlarm(). Pending alarms are held until the block ends. Affected operations can return the message Exceeded the account's spending cap for Durable Objects. Your objects and their data are not deleted.
Some things keep running and keep costing money:
- Requests already in progress can continue to accrue duration charges.
- Messages on WebSocket connections that are already open are not blocked.
- Key-value operations in legacy key-value-backed objects are not blocked, even though their charges count towards the limit.
- Stored data keeps incurring storage charges.
Those four points come from Cloudflare's Durable Objects spending limits page. The open WebSocket case matters for chat, multiplayer and agent apps: a cap stops new sessions but not live ones.
The alarm trap
Held alarms do not use their normal retry budget, but an alarm scheduled more than seven days earlier is deleted while held. After you restore service, your code must schedule it again if the work still matters. If a limit could sit in force over a long weekend, audit which alarms carry business-critical work, such as billing runs, reminders or cleanup, and make sure they can be rebuilt. Our production guide to Cloudflare agents on Durable Objects covers alarm-driven designs in more depth.
Cross-product failures
The limits are independent, but your application is not. A Durable Object that calls a blocked Worker fails, and a Worker that depends on a blocked Durable Object fails, even if its own limit is nowhere near. When restoring service, Cloudflare advises restoring the calling Worker before retrying the application.
Why recorded spend can overshoot the cap
Cloudflare says plainly that a limit does not guarantee a maximum invoice. Usage reporting and blocking take time, some charges continue during a pause, and metering delays, operations already in progress and enforcement failures can all let spend exceed a limit. The invoice is the final record.
Three more details change how you read the dashboard:
- The status Limit reached records a threshold event. It does not confirm that blocking has finished propagating.
- The status On means the policy is enabled, not that the product is running.
- Threshold events at 80% and 100% are recorded as evaluations, not proof that blocking or email delivery worked.
Cloudflare does not publish how long reporting or enforcement takes. Our working rule: leave at least one day of peak spend between your normal month and the cap, and never treat the cap as the most you can be charged.
A sizing example for Workers
Take a Worker that serves 200 million requests a month at an average of 5 ms of CPU time. On the Standard usage model, 10 million requests and 30 million CPU milliseconds are included each month, then requests cost $0.30 per million and CPU time $0.02 per million milliseconds.
- Requests: (200 million minus 10 million) is 190 million, times $0.30 per million, is $57.00.
- CPU time: 200 million times 5 ms is 1,000 million ms; minus 30 million included leaves 970 million ms, times $0.02 per million, is $19.40.
- Counted towards the limit: $57.00 plus $19.40 is $76.40. The $5 monthly minimum for Workers Paid is extra and is not counted.
A sensible set-up for that account:
| Policy | Threshold | Fires at | Effect |
|---|---|---|---|
| Email alert | $100 | $80 and $100 | Email only; a normal month ends near $76 |
| Spending limit with email | $150 | $120 and $150 | Email at $120, block at $150 |
Each policy with an email address notifies at 80% and 100% of its threshold, which gives the fire points above; the changelog also shows the dashboard letting you pick your own alert amounts, such as $5 and $9 under a $10 limit. If spend jumps past both points between evaluations, you may get only the 100% email. At the ECB reference rates of 24 November 2026, crossed and rounded to two decimals, $1 is about ₹92.92 and £0.76, so the $150 cap is roughly ₹13,938.00 (150 times 92.92) or £114.00.
A sizing example for Durable Objects
Durable Objects on Workers Paid include 1 million requests and 400,000 GB-s of duration a month, then charge $0.15 per million requests and $12.50 per million GB-s. SQLite includes 25 billion rows read and 50 million rows written, then $0.001 per million rows read and $1.00 per million rows written. Billable usage is rounded up to the next billable unit before the rate applies.
- Requests: 51 million minus 1 million is 50 million, times $0.15, is $7.50.
- Duration: 2.4 million GB-s minus 400,000 is 2 million GB-s, times $12.50 per million, is $25.00.
- Rows written: 110 million minus 50 million is 60 million, times $1.00 per million, is $60.00.
- Rows read: 2 billion is inside the 25 billion included, so $0.
- Counted towards the limit: $92.50. Stored data at $0.20 per GB-month is not counted.
A WebSocket server that calls accept() instead of the hibernation API pays duration for the whole connection, so duration is the line most likely to run away. An alert at about $120 and a cap near $185 to $200 follow the same two-times rule.
Setting limits with the cf CLI
Before you begin
Install the CLI with npm install --global cf, sign in with cf auth login and check with cf auth whoami. The cf CLI keeps its own credentials and does not reuse a Wrangler login. For API tokens, Billing Read lets you inspect policies and Billing Edit lets you change them; use the account ID, not a zone ID. In a script or CI job with access to several accounts, set CLOUDFLARE_ACCOUNT_ID, or the command fails rather than guessing.
Cloudflare announced the cf 1.0 release candidate on 17 November 2026. It says the project commands are stable but a few less common API commands may still change before 1.0, so pin the version in CI.
Create a limit and an alert
export CLOUDFLARE_ACCOUNT_ID=<ACCOUNT_ID>
# Block Workers at $150 and email at $120 and $150
cf billing spend-policies create \
--name 'Workers $150 spending limit' \
--product-id workers \
--enabled true \
--threshold-cents 15000 \
--action usage_block \
--notification-email billing@example.com
# Email only, at $80 and $100
cf billing spend-policies create \
--name 'Workers $100 email alert' \
--product-id workers \
--enabled true \
--threshold-cents 10000 \
--action notification \
--notification-email billing@example.com
The options come from Cloudflare's CLI guide: --product-id is workers or durable_objects, --threshold-cents is a positive whole number of US cents with zero not allowed, --action is usage_block for a limit or notification for an alert, and --name can be up to 200 bytes. Add --dry-run to preview the request first.
Two details catch people out:
- The changelog's own example omits
--notification-email. A limit with no address sends no email at all, and the guide says limits created in the dashboard have no recipient until you add one. Always pass an address, ideally a shared billing inbox rather than one person.
- Only one enabled limit per product is allowed. A second returns HTTP 409; update the existing one or turn it off first. You can create several email alerts, including alongside a limit.
List, update and delete
cf billing spend-policies list
cf billing spend-policies get <POLICY_ID>
# Updates replace the whole policy: pass every required option
cf billing spend-policies update <POLICY_ID> \
--if-match <VERSION> \
--name 'Workers $200 spending limit' \
--product-id workers \
--enabled true \
--threshold-cents 20000 \
--action usage_block \
--notification-email billing@example.com
cf billing spend-policies delete <POLICY_ID> --if-match <VERSION>
Updates replace the whole policy, so leaving out --notification-email silently stops the emails. --if-match takes the version from the last get and protects against overwriting someone else's newer change; a stale version returns HTTP 412 and a missing one 428. The same update can turn a policy off, switch a limit to an alert or the reverse.
Audit trail
cf billing spend-policies activity --limit 50 lists configuration changes across the account, including deleted policies, with the actor and before and after settings. cf billing spend-policies audit <POLICY_ID> lists threshold events, approaching_limit at 80% and limit_reached at 100%, but that history has no pagination and disappears when the policy is deleted. Both commands default to 50 entries and accept up to 100. Changes also land in the account-wide Audit Logs, which record user and system actions across the API and dashboard. Export the threshold history before you delete a policy if you need it for a cost review.
Setting limits in the dashboard
You need permission to edit billing settings. In the dashboard, go to Billing, select Spend Management, choose Edit the spending limit in the Workers or Durable Objects row, enter an amount greater than zero with up to two decimal places in Monthly limit (USD), then Save limit and confirm the limit shows On. The changelog calls the same page Spend limits; the guide's label is the one to look for.
Saving a new limit turns it on, while editing an existing one keeps its on or off setting. The changelog says that to keep alerts while applications run, you turn off blocking on that policy. Despite the field name Monthly limit, the reset follows your subscription billing date, not the first of the month.
Resuming service after a block
Three actions lift a spending-limit block before the period ends: raise the limit above current spend, turn the limit off, or remove it. Changes can take a few minutes to apply, usage after that is charged as normal, and turning the same limit off and on again does not reset the period's spend. At the next billing period the block expires automatically and an enabled limit stays in place. These actions lift only a spending-limit block, not other account restrictions.
A short runbook we would put in the on-call wiki:
- Confirm the cause: error 1103 on Workers or the Durable Objects spending cap message, and the status in Spend Management.
- Find what drove the spend in billable usage before you raise anything. A cap that fired on a bug should be fixed, not lifted.
- Raise the limit or switch it to an alert. Restore Workers before retrying applications that call Durable Objects.
- Reschedule any Durable Object alarms that were set more than seven days before the block.
- Record the event and the new threshold in your cost review.
Where AI Gateway fits
Spending limits stop compute; they do not cap model spend. Cloudflare positions AI Gateway spend limits as the companion control: rules per gateway, up to 20 of them, with budgets per model, provider or metadata key and a rolling or fixed window. When a rule is over budget the gateway returns HTTP 429, or routes to a cheaper fallback model if you set up a dynamic route. Like the billing limits, these are eventually consistent: a burst of concurrent requests can briefly exceed the budget. For a multi-tenant or agent product, per-user AI budgets in the gateway plus a generous Workers cap is a better shape than a tight Workers cap alone. Our AI gateway comparison weighs Cloudflare's gateway against the alternatives.
India-specific considerations
Workers charges are priced in US dollars and the limits are set in US cents, so rupee budgets move with the exchange rate. At the 24 November 2026 ECB cross rate of about ₹92.92 to the dollar, the $5 Workers Paid minimum is about ₹464.60 and a $50 cap about ₹4,646.00. Set the cap from a rupee budget with a margin for currency moves and card or bank charges, and review it each quarter. Indian teams that run staging and production in one Cloudflare account face the shared-limit risk more often; splitting accounts is the cheaper fix. The same logic runs through our guide to cutting cloud bills for Indian teams.
A checklist for this week
- Turn on an account-wide budget alert if you are on pay-as-you-go billing.
- Add a Workers email alert and a Durable Objects email alert at about 1.3 times a normal month, each with a shared billing inbox.
- Decide per account whether a hard cap is safer than an outage. Cap dev, test and side-project accounts first.
- Size any cap at about twice a normal month, and check current-period spend before saving it.
- Add
--notification-emailto every limit, including those made in the dashboard.
- List alarms and WebSocket flows that a Durable Objects block would affect.
- Move staging into its own account if you want to cap it without risking production.
- Put the cf commands in version control and pin the CLI version in CI.
How eCorpIT can help
eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our cloud computing team can size Workers and Durable Objects spending limits from your billing history, split staging from production accounts and script the cf policies into your deployment pipeline. Talk to us at /contact-us/.
Last updated: 25 November 2026.