Cloudflare opens Spend Management beta for pay-as-you-go customers

  • Cloudflare Spend Management
  • Workers usage limits
  • Spend Management
  • Workers
  • Durable Objects

Cloudflare introduced Spend Management in beta for pay-as-you-go customers, letting them set spending limits for Workers and Durable Objects. When a limit is reached, Cloudflare automatically blocks new billable activity for the covered product.

Customers can configure limits and alert thresholds through the Cloudflare dashboard, command-line interface (CLI) or REST API. The dashboard displays current billing-cycle costs in near real time, which Cloudflare defines as updates in under 10 minutes.

The block applies to customer-code activity that incurs costs. For Workers, scheduled Cron Triggers and Queue consumer invocations are paused, while static assets continue to be served. Customers can lift a block by raising the limit above current-cycle spending, disabling or deleting the policy, or waiting for the next billing cycle.

Cloudflare says the service uses a two-stage metering pipeline to aggregate usage data near its source before the Rating Engine calculates spend and evaluates policies. The company plans to add other products; those additions are not yet available in the beta.

Key terms explained

Cloudflare

Cloudflare is a global cloud platform that provides network services to improve the security, performance, and reliability of internet properties.

Durable Objects

Durable Objects are a type of Cloudflare Worker that integrates computing power with persistent storage. They allow for stateful serverless applications by maintaining data consistency across requests.