CC Switch
CC Switch manages provider configurations for multiple coding clients. Add LivRouter separately for each client because their protocol, base URL, and credential fields differ.
Choose the client configuration
| Client | Base URL | Protocol and guide |
|---|---|---|
| Claude Code | https://api.livrouter.com | Anthropic Messages |
| Codex | https://api.livrouter.com/v1 | Responses |
| Gemini CLI | Native Gemini route must be verified | Compatibility requirements |
Add LivRouter
- Open a version of CC Switch that supports the client you want to configure.
- Select that client and add a custom provider named LivRouter.
- Enter your LivRouter key, the client-specific base URL above, and an exact compatible model ID.
- Review the generated configuration before activating the provider.
- For a Codex provider using
env_key, make the named environment variable available to the launched client.
Field names and available presets vary by CC Switch release. Use the linked client guide as the source for the actual configuration rather than copying the same settings into every client.
Verify and troubleshoot
Restart the target client after switching providers. Send one short prompt and inspect Usage logs for the matching model. If a test request succeeds in the manager but the client still fails, inspect which provider and model the client actually selected.
Protect exports. Provider backups and exported configurations may include credentials. Keep them private and redact keys before sharing a diagnostic file.
Use the official CC Switch project for installation and release-specific instructions.