Skip to main content
Two alerts watch the spend limits of the key, team, member, organization, or personal account they are set on:
  • Lifetime spend limit (total_limit) watches its total limit.
  • Recurring spend limit (period_limit) watches its period limit.
Each fires the moment usage crosses its threshold. Unlike limit exhaustion, which forecasts ahead, they are reactive and fire as soon as the threshold is actually hit.

When to use them

  • You want to know the instant a key, team, or organization crosses, say, 80% or 90% of a cap.
  • A safety net under limit exhaustion: the forecast misses sometimes, the threshold doesn’t.
  • Entities with predictable, steady usage where a flat percentage is the most natural signal.
An alert never fires on an entity without its kind of limit, or before that limit starts. Set a total or period limit on the entity first.

What you configure

Each alert is set on its own, with its own threshold, recipients, and cooldown. Set its threshold as a percentage or as a fixed amount: These are reactive alerts with no schedule. They evaluate each time a request bills against the entity. To watch every team, member, and key below it, an organization or team enforces them.

How you’re notified

Each recipient is notified by email and/or SMS, based on the channels they’ve turned on in Settings → Notifications. The notification names which entity crossed which limit. A cooldown prevents repeat notifications while usage stays above the threshold. The two alerts cool down separately, so one firing never holds back the other, and changing a limit starts a new cooldown, so crossing the threshold of a raised limit alerts again. See the alerts overview for delivery details. Webhook recipients receive an alert.total_limit or alert.period_limit event:
Last modified on November 20, 2026