Cloudflare adds spending caps for Workers and Durable Objects
Brief
Cloudflare has launched Spend Management in beta, letting pay-as-you-go customers set caps for Workers and Durable Objects and automatically pause billable activity when a limit is reached.
Limits and alerts
- Set spending limits, alert thresholds, and a notification email in the dashboard, cf CLI, or REST API.
- When a cap is reached, new cost-incurring invocations are rejected. For Workers, Cron Triggers and Queue consumer invocations pause, while static assets continue to be served.
- Current-cycle costs are shown in the dashboard in near real time, under 10 minutes; the billing cycle follows the paid subscription start date.
Availability
- The beta is available to any pay-as-you-go customer, initially for Workers and Durable Objects.
- A cap can be lifted by raising it above current-cycle spend, disabling or deleting the policy, or waiting for the next billing cycle.
Generated by AI from the original article. Check the source for full details.