Stable error envelope
Errors are JSON objects with an error message, type, and stable code where one is useful. Messages do not include infrastructure hosts, provider identifiers, prompts, completions, or secrets.
json
{"error":{"message":"unsupported model","type":"invalid_request_error","code":"model_not_found"}}Retry safely
Retry 429 and bounded 503 responses with exponential backoff and respect Retry-After. Do not retry 400, 401, 402, or 404 without changing the request or account state. Include the returned X-Request-Id when contacting support.
Reference model
qwen3.8-27b
