THE DEVELOPER CORNER

Errors & debugging
API documentation.

A familiar API. A different set of possibilities.
Connect your existing tools to open-weight intelligence.

A clear path from error to answer.

Inspect the HTTP status and structured error body. Include the request’s trace ID when you contact support. Do not include the API secret.

StatusWhat to check
400Request body, model ID, or unsupported parameters.
401 / 403Missing, revoked, or unauthorized credentials.
402Insufficient available credit or a spending cap.
429Rate or token-per-minute limits. Back off before retrying.
502 / 503 / 504Upstream availability, configuration, or timeouts.

Avoid blind retries

Retrying a request that already generated a response can duplicate work. Use a bounded backoff strategy for temporary failures and retain your trace identifiers.

Open a support ticket