Which Endpoint Should I Use?
Use the base URL
https://api.linkmodel.ai/v1 when the agent appends endpoint paths automatically.
Authentication Fails
Check that the agent can read your environment variable:~/.codex/.env and restart the app:
ANTHROPIC_AUTH_TOKEN with the LinkModel key:
Model Not Found
Check the current model list:Tool Calling Fails
Coding agents often send tool/function-calling fields. If the model rejects the request:- Use the endpoint matching the agent’s native protocol.
- Try a coding-oriented model such as
gpt-5.3-codex,gpt-5.6-sol,claude-opus-4-7, ordeepseek-v4-pro. - Test with a smaller prompt before running a large coding task.
Codex Uses The Wrong Provider
Check~/.codex/config.toml:
/status in Codex and confirm the active provider.