Insufficient credits
Retrying the identical request will fail the same way. Change the request first.
- Code
- insufficient_credits
- HTTP
- 402
- Retry
- Do not retry
The message
error.message
Insufficient credits: your available balance is $4.23, below this request's worst-case estimate of $5.10, so it was not sent and nothing was charged. Top up at https://minirouter.sh/dashboard/billingExample values.
The fix
Add credits. The message says which case you hit: a pre-request refusal names your available balance and the worst-case estimate it could not cover (nothing was sent or charged); a mid-stream stop names what the delivered tokens cost. The X-Minirouter-Balance-Usd header on the 402 reports your available balance.
Full catalog