Codeinsufficient_credits
HTTP402
RetryDo not retry
Insufficient credits
HTTP 402 · retrying the identical request will fail identically — change the request first.
The 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/billingValues are examples; the live message carries your request’s real figures.
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: /docs/errors#insufficient_credits