- Cap monthly spend per customer or tenant by scoping a budget to an Identity.
- Prevent a staging or CI environment from consuming production credits by scoping a budget to its API Key.
- Limit exposure to an expensive provider or model during evaluation by scoping a budget to a Provider or Model.
- Enforce a hard workspace-wide cost ceiling as a safety net by scoping a budget to the Workspace.
- Control spend for a time-boxed experiment using a One-time reset period with an expiration date.
Overview
The Budgets table lists all budgets in the organization.
The Budgets overview showing all budgets with their scope, limits, reset period, and expiration status.
Monitor usage
Click a budget row to open its detail page:- A metric card for each configured limit (Total spend, Tokens, Req per minute) shows current usage, a progress bar, and percentage consumed.
- Scope, Resets period, Renews in countdown, and Expires date appear at the top.

Budget detail page for an Identity-scoped budget, showing Total spend, Tokens, and Req per minute metric cards with progress bars, alongside configured alerts.
- Click Adjust limits to edit the budget’s period limits or expiration date.
- Click Add threshold in the Alerts section to set up an alert.
- Click Delete Budget to permanently remove it. Enforcement stops immediately.
Create a budget
Open the creation dialog

The Create budget dialog with scope, period limits, expiration date, and Alerts fields.
Set the scope
Configure period limits
0 to leave it unconfigured. At least one limit must be set to a non-zero value to create the budget.Reset periods follow a fixed schedule:Set an expiration date (optional)
Create the budget
Edit or delete a budget
Select the menu on any budget row to:- Edit: update the period limits or expiration date. The scope and target cannot be changed after creation.
- Delete: permanently removes the budget. Enforcement stops immediately.
Configure alerts
Alerts notify configured notifiers when a budget’s cost usage crosses a percentage threshold. The gateway performs two separate checks. Before a request starts, it verifies the budget hasn’t been fully consumed. Requests are blocked once usage reaches 100%. Alert thresholds are evaluated after each request completes, which means a notification can lag slightly behind the moment the threshold was crossed. Example: An 80% cost threshold on a project’s budget, notifying the project administrator by email, gives time to react before the budget blocks traffic at 100%.Create a notifier
Notifiers must exist before they can be configured in an alert. Create one under Settings > Organization > Notifiers.
Notifiers configured in the organization, available for selection in a budget alert.
Open the notifier form
Name the notifier
Choose a channel
Save the notifier
Create an alert
The Alerts section is on the budget’s create/edit panel, and on its detail page (open a budget by clicking its row in the Budgets list).Add a threshold
Set the threshold percentage
Add notifiers
Save the alert

A configured alert with a 90% threshold and a Webhook notifier.