Cloudflare launched Spend Management beta on November 13, 2026, for pay-as-you-go customers. It offers spending alerts and blocking limits for Workers and Durable Objects. Each product has an account-wide threshold, so one application can exhaust it and interrupt others. Reporting delays, ongoing operations and enforcement failures mean these controls cannot guarantee a maximum bill. Sources: Cloudflare
Thresholds use estimated subscription-period charges after included usage, without isolation by application, Durable Object namespace or billing metric. Workers counts requests and CPU time. Durable Objects counts requests, duration, SQLite rows read and written, and legacy key-value reads, writes and deletes. Limits exclude subscription fees and stored-data charges. Workers thresholds also exclude Workers AI, Durable Objects, Workers KV and R2. Sources: Cloudflare
Workers blocking rejects new invocations, including HTTP requests, Cron Triggers and queue consumers. HTTP requests receive Cloudflare error 1103, and rejected invocations are not billed. Static assets remain available when Worker execution is unnecessary, but requests using run_worker_first can fail. Durable Objects blocking rejects new stub requests, SQL reads and writes, SQLite storage growth and setAlarm() calls, while retaining objects and data. Sources: Cloudflare
Pending Durable Objects alarms are held without consuming retries. Alarms scheduled more than seven days ago are deleted and must be rescheduled if still needed. Existing requests can accrue duration charges, existing WebSocket messages and legacy key-value operations continue, and stored data remains chargeable. Cloudflare cited an under-ten-minute enforcement benchmark, but asynchronous propagation means this is not a guaranteed deadline. Sources: Cloudflare
Raising a threshold above current spending, disabling it or deleting it restores access after propagation, which can take minutes. Separately blocked calling Workers also need recovery. Blocking expires at the next subscription billing period, which follows renewal rather than necessarily the calendar month. Enabled policies remain configured. AI Gateway budgets separately control routed inference requests by user, model or provider, blocking matching requests until their budget window resets. Sources: Cloudflare
What to do
- Inspect current subscription-period spending before setting a threshold, because a new policy evaluates charges already recorded.
- In Billing → Spend Management, save a positive dollar limit and confirm it is enabled. Add notification_email if the blocking policy should also send alerts.
- For CLI setup, install and authenticate cf, then select the account by its ID. Use Billing Read permission to inspect policies or Billing Edit to change them.
- Create a $50 Workers limit with the following command. Replace billing@example.com with the intended alert address. Sources: Cloudflare
cf billing spend-policies create --name 'Workers $50 spending limit' --product-id workers --enabled true --threshold-cents 5000 --action usage_block --notification-email billing@example.com- For REST setup, create a policy at /client/v4/accounts/{account_id}/billing/spend-policies using product_id, threshold_cents, enabled and action, including notification_email for a notification policy. Sources: Cloudflare