CC Switch
CC Switch is the first recommended client setup path because Sprelay can generate an import link with the correct endpoint, key, and model mapping.
One-click import
- Install and open CC Switch.
- Sign in to Sprelay and open API Keys.
- Open the action menu for the key you want to use.
- Select Import to CC Switch.
- Choose Claude, Codex, or Gemini.
- Enter a recognizable provider name and choose the primary model.
- For Claude, optionally map Haiku, Sonnet, and Opus tiers.
- Select Open CC Switch and approve the browser prompt.
- Review the imported endpoint and model before enabling the provider.
Expected endpoint
| Target | Endpoint generated by Sprelay |
|---|---|
| Codex | https://sprelaytoken.com/v1 |
| Claude | https://sprelaytoken.com |
| Gemini | https://sprelaytoken.com |
These differences prevent duplicated native paths. Do not add /v1 after import unless the current CC Switch field explicitly requires it.
Verify the import
Enable the new provider, restart the target terminal or application, and send a short read-only request. Then check Sprelay usage logs for the time, model, key, and status.
If the browser does not open CC Switch, confirm that the application is installed and that the browser is allowed to open the ccswitch:// protocol. If an old provider remains active, switch providers and restart the application so it reloads its environment.
