Skip to main content
Help Billing
Billing

Setting Budget Alert Thresholds

2 min read·2 views·100% found this helpful

Budget alerts can notify you by email or Slack when your AI Gateway spend crosses a threshold you define, so rising costs surface before your invoice does. This article shows how to configure thresholds and route the alerts to the right people.

How budget alerts work

G8KEPR tracks the cost of requests that flow through the AI Gateway, including model provider charges and per-request usage. A budget alert compares that running spend against a limit you set for a billing period. When spend reaches a threshold, G8KEPR sends a notification once per threshold, per period, so you are not alerted repeatedly for the same event.

Thresholds can generally be expressed as either an absolute amount or a percentage of a monthly budget.

Set a spend threshold

  1. 1.Open the Billing area of your dashboard and look for the budget or spend alerts settings.
  2. 2.Set a monthly budget for the workspace or a specific project.
  3. 3.Add one or more threshold rules — for example, alert at 50%, 80%, and 100% of budget.
  4. 4.Choose whether each threshold is measured as a percentage of budget or a fixed dollar amount.
  5. 5.Save your changes. New thresholds apply to the current billing period.

Set an early threshold (around 50%) as a heads-up and a later one (90–100%) as an action trigger. This gives your team time to react before spend becomes a problem.

Route alerts to email and Slack

Under each budget alert, add the destinations that should be notified:

  • Email — add one or more recipients. Billing admins are typically included.
  • Slack — connect a channel through the Slack integration, then select it as a destination.

An alert payload generally carries the context you need to act — the project, the threshold that was crossed, the spend so far, and the configured budget — for example:

json
{
  "alert": "budget_threshold",
  "project": "production",
  "threshold": "80%",
  "period_spend": "1240.00",
  "monthly_budget": "1500.00"
}

Exact field names may vary; treat the above as an illustrative example rather than a fixed contract.

Alerts are notifications only. They do not pause or block requests. To stop traffic when a limit is reached, configure spend controls on the gateway itself.

Related

If overage is enabled for your plan, crossing 100% of budget does not stop usage — it continues at your overage rate. Use a 100% threshold to catch this and adjust limits promptly.

Was this helpful?Still stuck? Submit a request →

Related articles