API
Spending limits
Cap what a key can spend - set it once, change it anytime.
How limits work
Each API key can carry an optional lifetime cap and a rolling-window cap (24 hours or 7 days), set from the dashboard. Keys with no limits are unlimited.
When a key is over a limit, requests return HTTP 402 with error code spend_limit_reached. Raise, lower, or clear a limit anytime - it takes effect on the next request, nothing to re-enable.
