YMYour Model
API

Error Codes

Common API errors and how to respond.

StatusMeaningSuggested action
400Invalid requestCheck JSON, endpoint, model ID and parameters.
401UnauthorizedVerify the Authorization header and API key.
402Balance issueAdd prepaid balance or review spending limits.
404Not foundCheck endpoint path and model availability.
429Rate limitedReduce concurrency and retry later.
500+Server or upstream issueRetry later and check usage logs.

Failed requests should be reviewed in the platform's usage and billing logs. Do not assume billing behavior without checking the actual record.