Documentation
Claude Code in the NexoRouter documentation.
Claude Code
Status: Not supported by the current public NexoRouter API.
Claude Code is not a normal OpenAI-compatible client. Third-party Claude Code routing uses an Anthropic-compatible LLM gateway pattern.
Current public NexoRouter API
GET /v1/models
POST /v1/chat/completions
Why this cannot use the OpenAI-compatible base URL
Claude Code gateway setups expect Anthropic-compatible behavior, for example environment variables such as:
ANTHROPIC_BASE_URL=...
ANTHROPIC_AUTH_TOKEN=...
That is a different protocol from:
https://api.nexorouter.com/v1/chat/completions
Do not put https://api.nexorouter.com/v1 into a Claude Code Anthropic gateway field. It is not the same API.
What to use instead
Use tools that accept OpenAI-compatible Chat Completions providers, such as OpenCode, Cline, Roo Code, Aider, Continue, or Open WebUI.