400 | invalid_json · invalid_request · context_length_exceeded · content_filter | Malformed JSON, a bad parameter (error.param names it), a prompt longer than the model’s context window, or a request the provider’s safety system blocked. Fix the request; retrying the same body fails the same way. |
400 | plan_upgrade_required · payg_required · input_exceeds_plan · verification_required | The key is fine but the plan doesn’t cover this request. plan_upgrade_required: the model isn’t in your plan; the message names the cheapest plan that includes it and, on Free, the models you can use. payg_required: the model runs only in PAYG mode (the older Claude models, for example), and extra usage doesn’t cover it; turn on PAYG mode for the key or pick another model. input_exceeds_plan: a Free prompt over the Free limit. Never retryable. |
401 | invalid_api_key · missing_api_key · revoked_api_key | Missing, malformed or revoked key. Check the header for the protocol you’re calling. |
402 | allowance_exhausted | Your plan’s monthly usage is spent. The message says how much you have used, when it renews and which plan has more. Upgrade, or use purchased balance in PAYG mode. No retry-after: see Past your limits. |
402 | five_hour_limit_reached · weekly_limit_reached | Your plan’s 5-hour or weekly limit is reached (every paid plan has both). The message and resets_at say when it resets. Wait, turn on extra usage to keep going on purchased balance, or upgrade. No retry-after. |
402 | credit_used_up · token_allowance_exhausted | A trial balance from before (Free no longer has one) is used, or the Free plan’s usage limit is reached. Subscribe, or add balance and turn on PAYG mode for your key. |
402 | credit_too_low | Some credit is left, but not enough for a request this large (the message says how many balance). Shorten or compact the conversation and retry, or add balance. When credit runs low, replies are also capped to what it still covers. |
402 | paid_credit_required · insufficient_paid_credit · subscription_required · key_budget_exhausted | A model your plan doesn’t cover (the message names it; it runs on balance you buy, and carries on by itself when extra usage is on and you have enough), PAYG mode with no purchased balance (or not enough for this request), a PAYG-only account sending x-sideren-payment-mode: subscription, or a key that reached the monthly spending cap you set for it. Top up, turn on extra usage, change the mode, or raise the key’s cap in the dashboard. |
403 | account_suspended · account_closed · permission_denied | The account or key is not allowed to make requests. Never retryable. |
404 | not_found · unknown_model · model_unavailable | Unknown route or model id: check the path and the catalog (GET /v1/models). model_unavailable lists models you can use instead. An id another customer’s key owns (a stored response) is also a 404, never their data. |
405 | method_not_allowed | Right path, wrong method. Carries an Allow header. |
409 | idempotency_in_progress | A request with the same Idempotency-Key is still running. See Idempotency. |
410 | endpoint_retired | A retired endpoint. Permanent: move the call. |
413 | body_too_large | The request body is too large (10 MB). Trim the payload. |
422 | route_not_qualified · request_unprocessable | The request needs a feature the chosen model can’t provide, or it can’t be served within the admitted limits. Switch models or drop the requirement. |
429 | rate_limit_exceeded · concurrency_limit_exceeded · tokens_per_minute_exceeded · network_rate_limited | Your plan’s request window, concurrency or tokens-per-minute limit, or the Free plan’s per-network pace. concurrency_limit_exceeded is also sent when your running requests are holding the tokens you have left: retry when one finishes. Carries retry-after (seconds): back off and retry. |
429 | model_allowance_reached | Your plan’s share for this model is used up until the time in the message (the Claude models and Muse Spark 1.3 Contributor have one). Every other model keeps working. Switch to another model, or turn on extra usage to keep going on purchased balance. Carries retry-after (seconds until the share resets). |
500 | internal_error | Internal error. Transient: retry with backoff. |
503 | capacity_unavailable · upstream_overloaded · upstream_unavailable | Capacity for the model is briefly short, or the model returned an error. Carries retry-after; retry shortly. On /v1/messages a capacity shortage is 529 overloaded_error, as Anthropic’s API sends it. |
503 | context_busy | The model is busy for long contexts. Sent to the Sideren CLI, which then compacts the chat: x-sideren-route names the largest context still served. Shorten the context, or retry after retry-after. |
504 | upstream_timeout | The model did not answer in time. Retry with backoff. |