- Common error codes and their causes:
- 400: Incorrect parameters. Refer to the error message (message) to correct invalid request parameters.
- 401: API Key is not properly set.
- 403: Insufficient permissions. The most common reason is that the model requires real-name authentication. For other cases, refer to the error message (message).
- 429: Rate limits triggered. Refer to the error message (message) to determine whether the issue is related to
RPM / RPD / TPM / TPD / IPM / IPD
. You can consult Rate Limits to understand the specific rate-limiting policies. - 504 / 503:
- Generally caused by high system load. You can try again later.
- For chat and text-to-speech requests, you can try using streaming output (
"stream": true
). Refer to Streaming Output for more details.
- 500: An unknown server error occurred. You can send an email to help@siliconflow.com for troubleshooting.