Errors And Credits
Error payloads, credits, and request limits for the external API.
Error Shape
{
"error": {
"message": "Model is not available",
"type": "model_not_available",
"code": "model_not_available"
}
}Common Error Codes
invalid_api_keyscope_not_allowedrate_limit_exceededapi_disabledmodel_requiredmodel_not_availablemessages_requiredprompt_requiredinsufficient_creditsprovider_not_configuredprovider_error
Credits
- Chat and image requests consume platform credits.
- Credit cost is configured per model in the platform model registry.
- If credits are insufficient, the request is rejected before execution.
Rate Limits
- Each API key can define a requests-per-minute limit.
- If an API key has no explicit limit, the platform default rate limit is used.