| 400 | BAD_REQUEST | Request cannot be processed | Invalid parameter combination (e.g., top-up amount outside the limit, max_tokens exceeds the model’s output limit) |
| 401 | UNAUTHORIZED | Authentication failed or none | API key is incorrect, has been revoked, or has expired |
| 402 | PAYMENT_REQUIRED | Balance/credit required | Insufficient balance, API key credit limit reached, payment provider not configured |
| 403 | FORBIDDEN | No permission | Accessing an admin resource with a non-admin account |
| 404 | NOT_FOUND | Resource not found | Incorrect endpoint; API key/transaction/log ID does not exist (or does not belong to you) |
| 404 | MODEL_NOT_FOUND | The model slug does not exist in the catalog | The slug is misspelled; check GET /v1/models |
| 405 | METHOD_NOT_ALLOWED | Invalid HTTP method | Using GET on an endpoint that only accepts POST |
| 409 | CONFLICT | State conflict | Operation conflicts with the current state |
| 422 | VALIDATION_FAILED | Invalid body/query | Required field missing, incorrect type, out of range |
| 429 | RATE_LIMITED | Too many requests | Exceeded the per-minute limit (per API key or per IP) |
| 500 | INTERNAL | Internal server error | Unexpected bug in the gateway; include x-request-id when reporting |
| 503 | UPSTREAM_ERROR | Upstream unavailable / temporary outage | Upstream failed to respond (5xx/timeout) after Hostlinku tried several times; it is safe to retry with backoff |
| 503 | PROVIDER_UNAVAILABLE | Upstream cannot be reached | Temporary connection issue with the upstream, or the payment service failed to create a checkout session |
| 503 | MODEL_UNAVAILABLE | Model unavailable | The model is in a non-available state or has been deprecated |