Bug
Got this error mid-session:
api error: Estimated request cost ~237430 micro-USD exceeds available balance (concurrent reservations may have pushed it past your limit). Lower max_tokens or top up.
Expected behavior
The account has credits remaining, so requests should succeed. If a concurrent reservation temporarily pushed the balance past the limit, the request should either queue/retry or the error message should make clear it's a transient concurrent-reservation issue rather than implying the account is out of credits.
Actual behavior
Request was rejected outright. The message says to "lower max_tokens or top up" — but the account isn't actually out of credits, so the guidance is misleading.
Suggestions
- If concurrent reservations are the cause, consider releasing/holding them more conservatively so a single large context doesn't block the whole balance.
- Distinguish "genuinely out of credits" from "temporarily reserved by concurrent operations" in the error message.
- Optionally auto-retry once after a short backoff when the cause is a transient reservation.
Context
- Was running a long web-dev redesign session (lots of context tokens accumulated)
- Happened on a normal model round-trip, no unusual request size
- Credits were still present in the account
Bug
Got this error mid-session:
Expected behavior
The account has credits remaining, so requests should succeed. If a concurrent reservation temporarily pushed the balance past the limit, the request should either queue/retry or the error message should make clear it's a transient concurrent-reservation issue rather than implying the account is out of credits.
Actual behavior
Request was rejected outright. The message says to "lower max_tokens or top up" — but the account isn't actually out of credits, so the guidance is misleading.
Suggestions
Context