Docs/Errors
API

Errors

Every error code with its HTTP status, OpenAI and Anthropic error types, and whether to retry.

OpenAI style endpoints return {"error": {"message", "type", "code", "param", "request_id"}}. Anthropic endpoints return {"type": "error", "error": {"type", "message"}}. Upstream error bodies are never forwarded verbatim.

HTTPcodeOpenAI typeAnthropic typeRetryMeaning
400invalid_requestinvalid_request_errorinvalid_request_errornoThe request body or parameters are invalid.
400unsupported_parameterinvalid_request_errorinvalid_request_errornoA parameter that changes the meaning of the request is not supported by the selected model or provider.
400context_length_exceededinvalid_request_errorinvalid_request_errornoThe request exceeds the model's context length.
400content_policyinvalid_request_errorinvalid_request_errornoThe upstream provider rejected the request under its content policy.
401missing_api_keyauthentication_errorauthentication_errornoNo API key was provided in the `Authorization` or `x-api-key` header.
401invalid_api_keyauthentication_errorauthentication_errornoThe API key is malformed, disabled, expired or does not exist.
402insufficient_balanceinsufficient_quotabilling_errornoYour Utopixel balance is too low for this request. Add credits at https://utopixel.online/dashboard and retry.
403model_not_allowedpermission_errorpermission_errornoThe model is not in this API key's allow list.
403key_limit_exceededinsufficient_quotabilling_errornoThe API key's spending limit has been reached.
403customer_limit_exceededinsufficient_quotabilling_errornoThe customer's spending limit has been reached.
403customer_disabledpermission_errorpermission_errornoThe customer named in `X-Utopixel-Customer` is disabled.
403provisioning_key_not_allowedpermission_errorpermission_errornoProvisioning keys cannot call inference endpoints.
404model_not_foundinvalid_request_errornot_found_errornoThe model does not exist or is not listed.
404customer_not_foundinvalid_request_errornot_found_errornoThe customer does not exist and automatic creation is disabled for this account.
408upstream_timeouttimeoutapi_erroryesThe upstream provider did not respond in time.
409request_in_progressconflictinvalid_request_erroryesA request with the same idempotency key is still being processed.
409idempotent_replay_unavailableconflictinvalid_request_errornoThe streamed request already completed; query `/generation` for its result.
422idempotency_key_reusedinvalid_request_errorinvalid_request_errornoThe idempotency key was already used with a different request body.
429rate_limitedrate_limit_exceededrate_limit_erroryesThe request exceeded this key, account or customer rate limit.
429upstream_rate_limitedrate_limit_exceededrate_limit_erroryesAll candidate providers are rate limiting this request.
500internal_errorserver_errorapi_erroryesAn internal gateway error, including protocol conversion failures.
502upstream_errorserver_errorapi_erroryesThe upstream provider returned an error.
503no_available_providerserver_erroroverloaded_erroryesNo provider is currently available for this model.