GitHub Copilot CLI
Assists with code completion, chat, and software development on GitHub. Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in GitHub Copilot CLI.
What to enter
Section titled “What to enter”| Setting | Value |
|---|---|
| Base URL, OpenAI-compatible API | https://api.exoticrouter.com/v1 |
| Base URL, Anthropic API | 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 |
A tool that adds /v1 to the address by itself is given https://api.exoticrouter.com instead.
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.
providers.json goes here:
| System | Path |
|---|---|
| macOS | ~/.copilot/providers.json |
| Linux | ~/.copilot/providers.json |
| Windows | %USERPROFILE%\.copilot\providers.json |
{ "providers": [ { "name": "exoticrouter", "type": "openai", "baseUrl": "https://api.exoticrouter.com/v1", "apiKey": "sk-er-YOUR-KEY" } ], "models": [ { "id": "anthropic-claude-fable-5-2", "provider": "exoticrouter", "wireModel": "anthropic/claude-fable-5-2", "name": "Claude Fable 5.2", "maxContextWindowTokens": 1000000, "maxOutputTokens": 64000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "anthropic-claude-haiku-5-5", "provider": "exoticrouter", "wireModel": "anthropic/claude-haiku-5-5", "name": "Claude Haiku 5.5", "maxContextWindowTokens": 1000000, "maxOutputTokens": 64000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "anthropic-claude-opus-5", "provider": "exoticrouter", "wireModel": "anthropic/claude-opus-5", "name": "Claude Opus 5", "maxContextWindowTokens": 1000000, "maxOutputTokens": 64000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "anthropic-claude-opus-5-5", "provider": "exoticrouter", "wireModel": "anthropic/claude-opus-5-5", "name": "Claude Opus 5.5", "maxContextWindowTokens": 1000000, "maxOutputTokens": 128000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "anthropic-claude-sonnet-5", "provider": "exoticrouter", "wireModel": "anthropic/claude-sonnet-5", "name": "Claude Sonnet 5", "maxContextWindowTokens": 1000000, "maxOutputTokens": 64000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "anthropic-claude-sonnet-5-5", "provider": "exoticrouter", "wireModel": "anthropic/claude-sonnet-5-5", "name": "Claude Sonnet 5.5", "maxContextWindowTokens": 1000000, "maxOutputTokens": 64000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "openai-gpt-6-1-sol", "provider": "exoticrouter", "wireModel": "openai/gpt-6.1-sol", "name": "GPT-6.1 Sol", "maxContextWindowTokens": 1050000, "maxOutputTokens": 128000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "openai-gpt-6-2-astra", "provider": "exoticrouter", "wireModel": "openai/gpt-6.2-astra", "name": "GPT-6.2 Astra", "maxContextWindowTokens": 1050000, "maxOutputTokens": 128000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "openai-gpt-6-2-sol", "provider": "exoticrouter", "wireModel": "openai/gpt-6.2-sol", "name": "GPT-6.2 Sol", "maxContextWindowTokens": 1050000, "maxOutputTokens": 128000, "capabilities": { "supports": { "toolCalls": true, "vision": true, "streaming": true } } }, { "id": "360-gpt-6-1-sol", "provider": "exoticrouter", "wireModel": "360/gpt-6.1-sol", "name": "gpt-6.1-sol", "maxContextWindowTokens": 128000, "maxOutputTokens": 16384, "capabilities": { "supports": { "toolCalls": false, "vision": false, "streaming": true } } } ]}If the file is there already, add this to it and keep the settings you have.
Start it with copilot --model exoticrouter/anthropic-claude-opus-5-5, or pick a model with /model.
Installing GitHub Copilot CLI
Section titled “Installing GitHub Copilot CLI”If GitHub Copilot CLI is not on the machine yet, this is its own installer:
| System | Command |
|---|---|
| macOS | npm install -g @github/copilot |
| Linux | npm install -g @github/copilot |
| Windows | winget install GitHub.Copilot |
The models it can use
Section titled “The models it can use”| API | Models |
|---|---|
| OpenAI-compatible | Every text model in the catalogue |
| Anthropic | The Claude models |
The setting is described in GitHub Copilot CLI’s own documentation.
More coding agents
Section titled “More coding agents”- Claude Code: Works on a codebase from the terminal, IDE, or web.
- 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.