Identity & Security

Budget cap (hard cap)

A spending limit enforced before a call is sent, not an alert fired after. When the cap is reached, the next call is refused — no spend occurs. A hard cap is a circuit breaker; an alert is a smoke detector that may or may not wake anyone.

Example

A key has a $500 hard cap. A runaway loop tries to spend $34,000 overnight. At $500 the gateway returns a refusal (an HTTP 402) before forwarding the call to the provider, so the loop stops at $500 instead of $34,000.

This is a Tokenality concept. See how it works in the product overview or the live playground.