Oriel — AI & technology worth noticing, every day.

Introducing Spend Management: Spending limits and alerts for Cloudflare

Web page · https://blog.cloudflare.com/spend-management

Spend Management adds opt-in spending caps for Cloudflare Workers and Durable Objects, and more products soon. Here is how we built the metering pipeline that turns usage into runtime decisions.

First seen by Oriel on .

AI summary

Cloudflare introduced Spend Management in Beta, letting pay-as-you-go customers set alerts and hard spending limits that automatically pause billable Workers and Durable Objects activity.

  • Customers can configure limits, alert thresholds, and notification emails through the dashboard, cf CLI, or REST API.
  • Current-cycle costs update in under 10 minutes, while audit logs record policy changes and cap events.
  • When capped, costly new invocations are rejected, including Cron Triggers and Queue consumers, while static assets continue being served.
  • A two-stage metering pipeline aggregates events into one-minute and five-minute windows before account-partitioned usage processing and pricing.
  • Caps propagate asynchronously through runtime configuration and Quicksilver, keeping rating outside the request path; Cloudflare plans faster enforcement and application-based and agent-based budgets.

#cloudflare #cloud cost management #workers #durable objects

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
Cloudflare Blog01M7950HA1NFDM7V5HW3AMZ0SBhttps://blog.cloudflare.com/spend-management/ Read discussion