Track your usage
The usage page shows your spend over time and a summary by model. Your current balance and recent activity are on billing overview.Spend limits
From the usage page you can set:- a monthly cap — a hard ceiling on monthly spend, and
- a warning threshold — you’re alerted when spend crosses it, before the cap is reached.
What a refusal looks like
Whether the cause is an empty balance or a reached cap, the API responds the same way:- REST requests fail with
429and an error body with"type": "insufficient_quota". - Realtime sessions receive an
errorevent (type: "insufficient_quota") with the upstream message, then close with WebSocket code4429.
Concurrency
Realtime connections are also subject to a concurrency limit: exceeding it closes the WebSocket with code1013 (retry later). See the Realtime API overview for the close-code table.