Token economics and cost control
Every prompt, response, and embedding is counted, attributed, and capped. Budgets live on the gateway — in tokens or in dollars — so the team that owns the workload owns the bill, and finance gets a line item instead of a surprise.
- Live token tracking — input, output, cached, and total — on every request
- Ceilings in tokens or dollars across six scope tiers, crossed with provider and model
- Threshold alarms at 50, 80, 90, and 100 percent before anything hard-stops
- Automatic fall-back to a cheaper model or a cached answer when a budget tips
- Cost attributed back to the project that ran the workload, exportable for finance
- Tracked per request
- input · output · cached · total tokens
- Quota windows
- minute · hour · day · month
- Quota scopes
- global · anonymous · credential · org · proxy · tenant
- Measured in
- tokens or USD
- Enforcement
- hard cap · threshold alarm · graceful fallback
- Reporting
- cost by project · model · team · time range