Sign inGet API key ↗
API Development

Connect CC Switch

Complete American English translation of the archived Orbis article text. Provider settings, client workflows, and compatibility describe the source platform, not verified BadAssModel support. Local marketplace links open previews. This page does not import configurations, expose keys, switch providers, or send requests. Running verification requests yourself can incur provider charges. External source tutorials may not be in English.

Source updated October 22, 2026 · 3 min read · Applies to Claude and GPT text models only

Import a Claude Code or Codex route configuration from Orbis, enable it, and verify the actual model and request records.

CC Switch manages client provider configurations. This article covers only connecting Orbis to Claude Code or Codex. For installation, backups, and your first switch, see the illustrated CC Switch beginner tutorial (external source).

1. Choose the Correct Client and Route

Select a model in the model marketplace, create a key for the selected route, and open that route's Quick Connect page.

On narrow screens, scroll the comparison horizontally to read all four columns.

Source-reference client configuration
ClientRequired Route ProtocolExample URLExample Model
Claude CodeAnthropic Messageshttps://api.orbiorbi.comclaude-haiku-5-5
Codex CLIOpenAI Responseshttps://api.orbiorbi.com/v1gpt-6.1-sol

A key is bound to a route. If Claude and GPT use different routes, get a separate key for each. You cannot arbitrarily combine one key with any model.

2. Import and Enable

  1. Install and open CC Switch, keeping a backup of your current client configuration.
  2. On the Orbis connection page, select a key and go to Tool Setup → Claude Code or Codex CLI → One-Click CC Switch Import.
  3. Click Fill in CC Switch. In the client, check the URL, model, and key before confirming the import.
  4. Enable the newly imported Orbis provider, then reopen the corresponding client. Saving a provider alone does not switch to it.

The import link contains your key. Do not share it or paste it into chat. If the application does not open, confirm that CC Switch is installed. You can also configure it manually using the fields below.

Fields to Check When Configuring Manually

  • Claude Code: Set ANTHROPIC_BASE_URL to the root URL and ANTHROPIC_AUTH_TOKEN to the key. Set ANTHROPIC_MODEL to the main model. The background small model must also be available on the current route. For the Haiku example, you can also set ANTHROPIC_DEFAULT_HAIKU_MODEL to claude-haiku-5-5.
  • Codex: Use the editor for your CC Switch version to enter the key (usually OPENAI_API_KEY), model ID, and URL ending in /v1. Set wire_api to responses.
  • This article uses base URLs. Keep Full URL disabled and do not append /messages or /responses. Start with the normal enable workflow. For aggregation mode, see Configure CC Switch Aggregation.

3. Verify the Switch

Run /status in the client to check the model and provider. Send “Reply only with OK,” then check the key, model, and route in usage logs. The request consumes API credit. Do not rely only on the selected state of a provider card or the model's self-reported identity. BadAssModel Usage History opens the existing workspace, not Orbis request records.

CC Switch troubleshooting and recovery
SymptomWhat to Check
The original service is still used after importingCheck that the provider is enabled, the client was reopened, and no manual profile or environment settings override the configuration.
401 or no available channelCheck the key's assigned route, exact model ID, and protocol.
404Use the root URL for Claude and /v1 for Codex. Do not duplicate request paths.
You want to restore the original serviceEnable the original provider in CC Switch, reopen the client, and check its status again.

You can also configure clients manually without CC Switch: Connect Claude Code / Connect Codex. For complete interface instructions, see the illustrated tutorial (external source).