The API key is missing, invalid, copied with extra spaces, or belongs to another account.
The model is not enabled for the account or the name was copied incorrectly.
Recharge in the OriginStartAI console. New users can recharge $5 and get $5 extra API credits.
Try a shorter prompt, reduce context size, or retry the request.
For structured output tasks:
- Add a system message such as
Return only valid JSON. - Validate and retry once.
- Keep schema instructions short and explicit.