Protocol: Anthropic (via
COPILOT_PROVIDER_TYPE=anthropic)- Base URL:
https://api.orcarouter.ai— without/v1 - With
/v1the request path becomes/v1/v1/messagesand fails with a 404
Install
Configure
Set these environment variables:Run
OK. Drop -p for an interactive session.
Notes
- Base URL must not include
/v1— with/v1the request path becomes/v1/v1/messagesand fails with a 404. - Non-interactive mode requires
--allow-all(or setCOPILOT_ALLOW_ALL). - Model names use the
vendor/modelformat;orcarouter/autois the simplest choice.
Use the CLI, not the VS Code extension. GitHub Copilot’s VS Code extension
does not currently expose a custom OpenAI-compatible endpoint — its Add
Models picker (Anthropic / OpenAI / Google / OpenRouter / Ollama / Azure) only
lets you enter an API key, with no base-URL field, so it can’t be pointed at
OrcaRouter. Connect through the Copilot CLI with the environment variables
above instead.
Enable thinking / reasoning
When pointed at OrcaRouter, run without--effort — thinking is then
governed by the model’s / upstream’s default behavior. (Verified.)