Appendix B: Common Pitfalls
When configuration fails, work through this checklist:
- Including or omitting
/v1: most OpenAI-compatible base URLs require it; clients that append it do not. Claude Code uses the root URL. See the tool configuration reference. - Missing space after
Bearer: useAuthorization: Bearer sk-xxxwith a space between the scheme and key. - Wrong credential type:
sk-keys call model APIs; management access tokens call/api/endpoints. - Model and group mismatch: the token's group may not provide the selected model.
- Model ID case: IDs are case-sensitive. The source platform lists
GLM-5.3andglm-5.3as separate entries; always copy the exact ID. - Old terminal environment: reopen the terminal after changing persistent environment variables, especially on Windows.
- Wrong Claude Code variable: this configuration uses
ANTHROPIC_AUTH_TOKEN; check that you have not accidentally set a different variable instead. - Key committed to Git: revoke the exposed key in the console and create a replacement.
- Cached client configuration: restart the application after changes; closing its window may leave it running in the tray.
- Different key for task queries: asynchronous tasks are tied to the API key used when submitting them.