SPACE ROUTER · CC Switch
CC Switch + Space Router
Install the provider manager, import your own Space Router keys, then choose when to switch Claude Code or Codex.
Before you start
| Field | Value | Check |
|---|---|---|
| Supported setup | Windows x64/ARM64; macOS 12+ | Choose the matching OS installer; keep your current configuration backup |
| Account | A Space Router account and matching group credit/subscription | The app’s own login and the router API key are separate |
Download stages are shown in the terminal. Direct downloads show a progress bar or received bytes; package managers use their own output. A percentage may be unavailable. Keep the terminal open until the final installation and connection results.
Space Router one-click scripts report INSTALLATION separately from CONNECTION. DONE means the app or command was checked; VERIFIED means the stated response test passed. SKIPPED / NOT CONFIGURED needs the connection steps. FAILED / INCOMPLETE needs the displayed error fixed. A CLI test does not verify a desktop app or editor panel.
Model examples and placeholders must be replaced with IDs allowed by your key’s group. You can install the app first, then create the key before the connection steps.
When this tool uses your Space Router endpoint and key, its model requests use your Space Router balance or eligible subscription. App sign-in, app subscriptions and cloud-only features are separate. Confirm the actual route in usage history after testing.
1 · One-click installation
CC Switch manages providers; it does not install Claude Code or Codex CLI. Install the manager first, then install your chosen client using its own guide if needed.
Windows
Open the PowerShell app: press the Windows key, type PowerShell, and open it. Copy the command below, paste it into PowerShell, then press Enter.
irm https://stationine.com/setup-ccswitch.ps1 | iexOpen PowerShell, paste this command and press Enter. It downloads and installs the official CC Switch app from scratch; no separate download is needed.
Keep the window open. The installer selects x64 or ARM64, verifies SHA256 and runs the official per-user MSI. Follow any Windows prompt. Check the final INSTALLATION result; connection setup is reported separately. On success, CC Switch and the API Keys page open.
macOS
Open the Terminal app: press Command + Space, type Terminal, and open it. Copy the command below, paste it into Terminal, then press Return.
bash -c 'script=$(curl -fL --progress-bar https://stationine.com/setup-ccswitch.sh) && test -n "$script" && bash -c "$script"'On macOS 12 or later, open Terminal and run:
The universal app is installed in ~/Applications/CC Switch.app; an existing installation is kept. Open the app and review the normal macOS prompt. If blocked, use the official package and the normal Privacy & Security controls; do not disable Gatekeeper.
Success looks like a visible CC Switch window. A registered import link alone does not prove the provider or model works. Manual downloads are on the official release page below.
If you prefer a downloaded script, save the macOS script and run bash ~/Downloads/setup-ccswitch.sh after checking its saved location.
2 · Create your API key
Sign in to Space Router
Open space.stationine.com and sign in to your own account. Confirm you have usable credit or an eligible subscription before testing.Create a dedicated API key
Open API Keys → Create API Key. Name the key after this tool. Select Claude / Anthropic or GPT / OpenAI; use the groups actually available to your account. A key for a different model family is not interchangeable.Copy the full key and the model ID
Save the full key in your password manager. Copy one exact model ID allowed by that key’s group from Available Channels. Keep any limits or expiry you need. A model shown in an app’s public list may not belong to your key.Keep the key private
Paste the key only into your own app or local credential store. Do not include it in shared screenshots, project files, import links or support messages. For two purchased groups, create two separate keys.

3 · Connect Space Router
Install the client you will switch
Use the Claude Code guide or Codex guide if that client is missing. CC Switch manages their configuration; it is not the model client itself.Import one key at a time
Keep CC Switch open. In Space Router’s API Keys list choose Import to CC Switch on your new key’s row (the CC icon, sometimes inside row actions). Allow the browser to open the app. If the button is hidden, use the manual fields below.Review the import
Confirm provider name Space Router, hostspace.stationine.com, the intended app, and your own key. Confirm inside CC Switch. Enable or switch to this provider only when ready; importing a card and activating it are different steps.Repeat for the other client if needed
Use a separate Claude key and GPT key. Finish one import dialog before opening another; repeated clicks can create duplicate cards.
| Field | Value | Check |
|---|---|---|
| Provider | Space Router · Claude / Codex | Use a separate card per client |
| Claude Code base URL | https://space.stationine.com | Anthropic / Messages; Full URL off |
| Codex base URL | https://space.stationine.com/v1 | OpenAI Responses; Full URL off |
| API key / model | Your matching group key and model ID | Check imported defaults against your actual group |
CC Switch manages the connection
Install the actual Claude Code or Codex client using its linked guide before testing. CC Switch saves and switches provider configuration; the selected client sends the model request and consumes Space Router credit. It does not transfer an official account subscription into your router balance.
4 · Verify a real response
Reopen the client
Save your settings, fully quit the app and reopen it. Start a new conversation. Select the Space Router provider and the exact model allowed by your key; do not leave the previous provider selected.Ask a small, checkable question
SendWhat is 17 plus 25? Reply with just the number.Expect a complete reply of42. This uses your account credit at the selected model’s normal rate. A speed check or HTTP 200 alone is not enough.Match the usage record
Open Space Router’s usage history. Match the request time, model and API key with this test. A client reply plus the matching record is stronger evidence than an “installed” or “connected” label.
Before using the agent in a real project, create a scratch folder with a harmless README and ask it to read and summarize that file. Check the proposed tool action before allowing it. Model text output alone does not establish tool-calling support.
Troubleshooting
| Symptom | What to check |
|---|---|
| 401 / 403 | Check the full key, its enabled/expiry/IP settings, and group permission. Re-paste privately; do not publish the key. |
| 404 / model not found | Match the API format, base URL and exact model ID. Do not add /v1 twice or enter a full request path into a base-URL field. |
| 429 / credit or quota error | Check account credit, key quota and rate/concurrency limits. Repeated retries do not add balance or remove a limit. |
| Timeout / incomplete reply | Check the network and channel status. Keep the time and request ID for support; do not treat a partially received reply as a successful test. |
| Still uses the previous provider | Reopen the client, start a new conversation, and check its selected provider and any environment/config overrides. Restore a backup instead of deleting the whole configuration. |
| Import button does nothing | Open CC Switch first and retry once. Check the OS protocol handler. Finish an existing import dialog before clicking again. |
If you need help, send the app version, operating system, model ID, timestamp and request ID to Space Router support. Redact keys and private project content.
Backup, update and recovery
Before editing an existing setup, copy CC Switch provider cards and its backup/export settings to a private backup. Keep the original provider name and model selection so you can return to them. Do not put credential backups in a project repository.
To recover, close the client, restore the specific file or select the previous provider, then reopen it. Keep conversations and other unrelated settings. Revoke an exposed key in Space Router and create a replacement only if it was actually exposed.
To switch back, choose the previous provider card and reopen the client. Use CC Switch’s export/backup controls before a larger change; its data directory is normally ~/.cc-switch. Update the manager using its own official update flow.