permission. The max_spend_usd you asked for is above the
key’s max_spend_usd_per_session cap. Caps are permissions, not rates — this is a
per-key guardrail set in the dashboard (new keys default to $5 per session), and the
gateway refuses the reservation before anything runs. Nothing was charged.
The shape
How to fix
- Lower
max_spend_usdtocap_usdor below. Note the ceiling is per run — a session’s follow-up re-aims and refreshes each get their own reservation under the same cap, so a long investigation doesn’t need one giant budget up front. - Or raise the key’s cap in the dashboard (Keys → the key → per-session cap), if you own that decision.
- Check the current caps with
GET /v1/me.
Reproduce it
Ask for more than your key’s cap (visible inGET /v1/me; default $5):