FAQ
The API Key is rejected or you get a 401
Check that you copied the whole key without extra spaces, that the key is still active, and that it is stored in the tool or terminal you are using. OpenAI-compatible tools usually use a Bearer Key; Claude Code uses the Anthropic-compatible configuration.
You get a 403 or "model unavailable"
Your account or that API Key may not have access to the model. Check the Model Management page to confirm the model is enabled, or contact your admin or support.
You get a 404 or "endpoint not found"
Check the protocol and the address: the Anthropic Messages protocol uses https://api.himodels.ai, while Codex and most OpenAI-compatible tools use https://api.himodels.ai/v1. Also confirm that the protocol type is the one the tool expects.
Too many requests or not enough balance (429)
Check your account balance and the key limits, then retry later or send fewer requests.
Which model ID should I use?
Use what the HiModels Model Management page shows and what your account has access to. Never guess an ID from the display name.