Budgets and improvements

Caps, alerts and savings
found in your usage.

A monthly cap for the workspace, a team, a customer or an environment. Email or Slack when spend nears it. And savings found in your own usage and billing, each with a monthly figure and a confidence.

Free up to 1M events a month. No card.

What you get

A cap that warns.
A saving with a figure.

Budgets warn you by email or Slack. Improvements lists what could cost less, and by about how much a month.

Budget, Staging and dev sandboxes$3,714.04 of $3,790
Near cap, 98%$75.96 left
A runaway loop caughtCritical
Illustration · Demo data

Budgets and alerts.

A monthly cap for the workspace, a team, a customer or an environment. Email or Slack when spend nears it. A workspace cap can also be enforced on routed calls.

Budgets: each budget's spend against its monthly capBudgets: each budget's spend against its monthly cap
BudgetsDemo data
Downgrade support ticket classification to GPT-4o mini
High (98%)About $1,420 a month
Illustration · Demo data

Improvements.

Savings found in your own usage and billing. Each one comes with a monthly figure and a confidence.

Improvements: open opportunities, each with a monthly saving and a confidenceImprovements: open opportunities, each with a monthly saving and a confidence
ImprovementsDemo data
As spend grows 

Warned as spend
nears the cap.

01Checked every 60 seconds.

The cap is compared with tracked spend so far this calendar month.

02An alert at each threshold.

Thresholds are percentages of the budget: 50, 80 and 100 unless you change them. Each one fires once a month.

03A warning when the month is heading over.

The projection alert fires when spend so far, spread evenly over the whole month, would end above the budget.

Alerts: active alerts with their severityAlerts: active alerts with their severity
A message when spend, usage or errors cross a line you set. Demo data
What a budget is

A limit on calls
priced as they happen.

A budget is a monthly spend limit on tracked calls: calls sent through the SDK or the router.

What it covers.

All tracked calls, or one customer, feature, action, team, environment, provider or model.

What it leaves out.

Imported provider invoices, seats and coding-tool bills are not counted toward a budget. Invoices arrive one to three days late, so a budget on them would alert late.

What it can stop.

A budget alerts by default. One workspace-wide budget can be enforced, on router traffic only. Calls made straight to a provider still count toward it, but cannot be blocked this way.

An enforced cap

What the router does
at the limit.

Before each routed call, the router sets aside the call's worst-case estimated cost against what is left of the cap. Router and rules →

The call fitsIt goes ahead.
It does not fitThe router may switch to a cheaper fallback model. It does so only when Improvements has a current downgrade recommendation for that pair of models that passed its quality check.
OtherwiseThe call is refused with monthly_budget_exceeded.
It fails closed. If the router cannot read the budget, it refuses the call rather than risk spending past it.
Alert rules 

A message when
a line is crossed.

You decide what raises an alert and where it goes: email, Slack or Discord. An alert never fires twice while it is open.

ThresholdSpend for a scope you pick reaches an amount within the day or the month.
Provider spikeToday's spend so far reaches a multiple of yesterday's total, scaled to the part of today that has passed.
Runaway traceOne trace makes far more calls, or costs far more, than usual for its action.
Rule breakA detected violation of one of your rules meets the severity you set.
Renewal coming upA licence or contract renews in 60 days or in 30 days.
FAQ

Budgets and alerts,
in short.

Every field of a budget and an alert rule is in the docs.

Governance docs →
01Does a budget stop spend?

A budget alerts by default, by email or Slack. A workspace cap can be enforced on calls sent through the router. Rules stop a routed call before it reaches the provider. Budgets and alerts are on paid plans.

02Why is my budget's spend lower than my bill?

A budget counts tracked spend only: calls sent through the SDK or the router, priced as they happen. Imported invoices, seats and coding-tool bills are not counted toward it.

03Where do the savings come from?

From your own usage and billing: cheaper models and idle seats. Each one comes with a monthly figure and a confidence.

04Do my calls go through your servers?

No. The SDK wraps the client you already use, reads usage from the response it returns and ships it in the background. The router is a separate choice, for when you want routing, fallbacks and caching.

Know who spent it
this week.

Free up to 1M events a month. No card.