Claude Code
Works on a codebase from the terminal, IDE, or web. Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in Claude Code.
What to enter
Section titled “What to enter”| Setting | Value |
|---|---|
| Base URL | https://api.exoticrouter.com |
| API key | Your key, from the API keys page |
| Model | An id such as anthropic/claude-sonnet-5-5, from the models page |
The config file
Section titled “The config file”An example with a handful of models and a stand-in for the key. Put your own key where it says sk-er-YOUR-KEY.
settings.json goes here:
| System | Path |
|---|---|
| macOS | ~/.claude/settings.json |
| Linux | ~/.claude/settings.json |
| Windows | %USERPROFILE%\.claude\settings.json |
{ "env": { "ANTHROPIC_BASE_URL": "https://api.exoticrouter.com", "ANTHROPIC_AUTH_TOKEN": "sk-er-YOUR-KEY", "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5", "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5", "ANTHROPIC_DEFAULT_FABLE_MODEL": "claude-fable-5-2" }, "model": "claude-opus-5-5"}If the file is there already, add this to it and keep the settings you have.
Start claude. If it still shows a Claude subscription, run /logout once and start it again; /status should show the ExoticRouter address.
Installing Claude Code
Section titled “Installing Claude Code”If Claude Code is not on the machine yet, this is its own installer:
| System | Command |
|---|---|
| macOS | curl -fsSL https://claude.ai/install.sh | bash |
| Linux | curl -fsSL https://claude.ai/install.sh | bash |
| Windows | irm https://claude.ai/install.ps1 | iex |
The models it can use
Section titled “The models it can use”Claude Code speaks Anthropic’s own API. Claude answers on it natively, every other text model in the catalogue through translation.
The setting is described in Claude Code’s own documentation.
More coding agents
Section titled “More coding agents”- Codex: Works on software engineering tasks through a coding agent.
- OpenCode: Runs an open-source coding agent with configurable model providers.
- Kilo Code: Open-source coding agent for editing and working with repositories.
- Qwen Code: Runs the Qwen coding agent in a terminal.
- Gemini CLI: Brings Google’s Gemini agent into a terminal.
- Goose: Runs an extensible local agent for engineering work.