زاني إل إل إم
القائمة

Errors

Errors use the OpenAI shape, so a client that already handles them needs no change.

StatusCodeWhat to do
401missing_api_key, invalid_api_keyCheck the Authorization header. A revoked key, an expired key and a suspended account all answer the same way.
402insufficient_creditTop up. X-Zanii-Topup-Url points at the console.
403model_not_allowedThis key is restricted to other models.
402spend_cap_reachedThe account passed its monthly ceiling. Raise it in the console.
409idempotent_replayThis request id was already served. Send a new one.
501embeddings_not_supportedThis deployment's model server has no embedding model.
501not_supported_by_model_serverThis deployment's model server does not serve that route. The message names what to use instead.
503tokenizer_unavailableThe model server cannot count tokens right now.
404model_not_foundThe model is not in the catalogue.
429rate_limit_exceeded, too_many_concurrent_requestsBack off; Retry-After says how long.
502upstream_errorThe model server failed. The call is not charged.
503receipts_unavailableThe key requires a receipt and none could be signed. The call is not charged.

A refused call never reaches the model, and is never billed.

markdown · التوثيق