Cloudflare launches Spend Management in Beta to pause activity when spending limits are reached
·2026.11.13 23:00
Key point
Available for pay-as-you-go customers, the feature uses a two-stage metering pipeline and Rating Engine to enforce caps with near real-time visibility under 10 minutes.
Details
- Cloudflare introduces Spend Management in Beta for pay-as-you-go customers, allowing them to set spending thresholds and automatically pause activity when limits are reached to prevent unexpected bills.
- The system initially supports Workers and Durable Objects, with near real-time cost visibility in the dashboard updated within 10 minutes.
- Enforcement is asynchronous, using a Rating Engine to calculate accumulated spend and propagate caps to the global network via Quicksilver, ensuring requests do not wait on the rating process.
- Future plans include expanding to more products, reducing latency to under one minute, and enabling application-based and AI agent budgets to control costs across multiple primitives.
How It Works
- A two-stage metering pipeline aggregates raw usage events into one-minute and five-minute windows to reduce data volume before processing.
- The Usage Engine partitions processing by account to maintain consistent pricing state and accumulated usage without cross-partition coordination.
- The Rating Engine combines usage records, subscription information, and pricing rules to calculate monetary value and evaluate policy thresholds.
Availability and Limits
- Available today for Workers and Durable Objects via dashboard, cf CLI, or REST API.
- Only customer-code invocations that incur costs are paused; static assets continue to be served.
- Service resumes when the limit is raised, the policy is disabled, or the next billing cycle begins.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.