Error Handling
Because Antix sits on the critical path of your applications, understanding its error codes is essential.
Standardized error codes
Antix intercepts and standardizes errors across providers:
400 Bad Request— malformed payload or requesting a model unsupported by the upstream.401 Unauthorized— missing or malformedAuthorizationheader, unknown virtual key, revoked or deleted key, expired JWT (past the 15-minute TTL), or JWTjtifound in the blocklist.402 Payment Required— the Virtual Key has exceeded itsmax_budgetfor the currentperiod.429 Too Many Requests— the request exceeded therpm_limitortpm_limiton the Virtual Key.503 Service Unavailable— Antix's fail-closed path. Triggered when the billing backend is unreachable, or when a requested model has no pricing row (model_not_priced).