Skip to content
llms.party

Errors & limits

Errors use the OpenAI error object, so SDKs surface them the same way:

{
  "error": {
    "message": "Invalid proxy server token passed.",
    "type": "auth_error",
    "code": "invalid_api_key"
  }
}

Status codes

StatusUsually meansWhat to do
400Malformed JSON or a required field missing.Fix the request body.
401Missing, malformed or revoked key, or the key lacks this group.Check /v1/models; ask for a key.
403The path is not part of the public API.Use a documented endpoint.
404Unknown route or resource.Check the path or id.
422Validation failed, or the key is over budget.Inspect error.message; top up.
429Key or upstream rate limit.Back off and retry.
500Internal proxy error.Retry once; report with a request id.
502/503Upstream provider error or no healthy upstream.Retry; fallback may already have run.
504Upstream timed out (router timeout is 600 s).Stream, or lower max_tokens.

Retries and fallbacks

The router retries a failed call twice and falls back from deepseek-v4-pro to deepseek-flash. Retries are automatic but not infinite. If a provider is down and the fallback also fails, the client sees the upstream status.

Budgets