CC Switch
Integration status
- Applicable protocols: OpenAI Responses / Anthropic Messages
- Configuration checked: July 15, 2026 (official CC Switch repository)
- Runtime verification: Pending
CC Switch manages configuration for several AI coding tools. Because Codex, Claude Code, Gemini CLI, and OpenClaw can use different protocols, create an app-specific provider instead of assuming one universal configuration works everywhere.
Add GetRouter
- Open CC Switch and choose the target app.
- Add a custom provider named GetRouter.
- Enter a dedicated GetRouter API key.
- Enter the endpoint required by that target app:
- Codex / Responses:
https://getrouter.ai/v1 - OpenAI-compatible Chat:
https://getrouter.ai/v1 - Claude Messages gateway root:
https://getrouter.ai
- Codex / Responses:
- Enter an exact
MODEL_IDwhere the app/provider form requests a model. - Save and activate the provider.
- Restart the target tool if CC Switch indicates that configuration was written successfully.
Warning
Field names and preset behavior differ across CC Switch releases. Review the generated target-tool configuration before use. Never place a Chat-only model into a Codex Responses configuration.
Verify the generated configuration
For Codex, confirm the generated configuration is equivalent to:
For other apps, use their dedicated GetRouter integration page and verify the actual operation path.
Common errors
- Switch succeeded but tool uses old settings: restart the target tool and check whether another profile overrides the file.
- 401: confirm the API key was saved for the selected app/provider.
- 404: the generated Base URL and protocol do not match.
- Universal provider fails in one app: replace it with an app-specific provider.
- Local routing problems: disable optional local routing while testing the direct provider path.
