AI Agent News/stories/cloudflare-launches-spend-management-with-spending-limits-and-alerts-for-workers.md

Infrastructure

Cloudflare launches Spend Management with spending limits and alerts for Workers and Durable Objects

Cloudflare has released Spend Management in beta for pay-as-you-go customers, starting with Workers and Durable Objects. Users can set spending thresholds and have Cloudflare pause a product automatically when a limit is reached.

Source: blog.cloudflare.com/spend-management

Cloudflare says spend controls have been among the most requested features from developers on its platform. Earlier, paid plans only received usage notifications and budget alerts, which informed users of costs without stopping them.

Spend Management can be set up in the dashboard under Manage Account > Billing > Spend limits, through the cf CLI, or through the REST API. For each product, users define a spending limit, a notification email and one or more alert thresholds. Spend is shown for the current billing cycle, which starts when the paid subscription begins, and updates in near real time, under 10 minutes.

Once a cap is enforced, new invocations of that product are rejected. Cloudflare pauses only customer-code invocations that incur costs, so Workers static assets keep being served. A limit can be lifted by raising it above the current cycle's spend, disabling or deleting the blocking policy, or waiting for the next billing cycle.

Why it matters if you build agents

Agent developers can cap Workers and Durable Objects spend with a hard stop rather than relying on alerts alone. Cron Triggers and Queue consumer invocations are paused when a cap is hit, so background agent work may stop too.

Cloudflare says it plans to add more products, reduce the delay between measurement and enforcement to under a minute, and support budgets per application or agentic task. Until then, caps apply per product, not per agent.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe