CC-Switch Setup
CC-Switch is a graphical multi-provider switcher that lets you manage and switch the API provider for Claude Code / Codex / Gemini with one click. Compared with editing config files by hand, it's more beginner-friendly.
Prerequisites
- You've obtained an Octoway APIKey (created in the console under "APIKey Management").
- You've installed the corresponding CLI (e.g. Claude Code) and installed CC-Switch.
Step 1: Open CC-Switch
Open CC-Switch, pick the tool to configure in the left sidebar (Claude Code / Codex / Gemini CLI, etc.), then click + (add provider) in the top-right corner. The example below uses Claude Code.
Step 2: Add the Octoway provider
In the add-provider form, follow the four steps below as shown:

- Enter
Octowayas the name (any name that helps you recognise it). - Enter the APIKey you created in the console (in the API Key field).
- Set the request URL to
https://api.octoway.ai. - Click "Save" in the bottom-right corner.
Form field reference (Claude Code):
| Field | Value |
|---|---|
| Name | Octoway |
| Website link | Optional, can be left empty |
| API Key | The APIKey you created in the console |
| Request URL | https://api.octoway.ai |
For Codex, the request URL needs the
/v1suffix:https://api.octoway.ai/v1, and fill in a model name (e.g.gpt-5.2) as needed. Other tools work the same way: switch in the sidebar and add the provider for each separately.
Step 3: Save and switch
After saving, select Octoway in the list so it shows the "Currently Using" status to take effect.
Step 4: Verify
Open a terminal and run the corresponding CLI (e.g. claude), then chat to test that it routes through Octoway.
FAQ
- Switch doesn't take effect: Confirm the provider is marked "Currently Using" and reopen the terminal.
- 401 authentication failed: Check the API Key is correct with no extra spaces, and confirm the APIKey isn't disabled.
- Connection failed: Confirm the Base URL is correct (Claude uses
https://api.octoway.ai).