Configure CC Switch Aggregation
Add working Orbis configurations to the aggregation list, choose a default provider, refresh the client's model list, and verify requests.
After connecting Orbis through CC Switch, use aggregation if you want to choose multiple models or providers in the same client. For complete screenshots, installation, and an exercise switching between two providers, see the illustrated aggregation tutorial (external source).
1. Verify Each Configuration First
- Use a CC Switch 4.x version that supports aggregation. This article covers Claude Code and Codex. Claude Code must be at least version
2.1.243. - Aggregation uses a local routing service. Keep CC Switch running while using it. Configure providers and aggregation lists separately for each client.
- Create a corresponding key for each Orbis route. In normal mode, verify each configuration's URL, protocol, exact model ID, and request records separately.
- Official Claude subscriptions do not currently support this aggregation method. An official Codex account can only be the default provider; it cannot be added as an ordinary member.
| Client | Orbis Connection Details |
|---|---|
| Claude Code | Anthropic Messages; https://api.orbiorbi.com; for example, claude-haiku-5-5 |
| Codex | OpenAI Responses; https://api.orbiorbi.com/v1; for example, gpt-6.1-sol |
Use the actual protocol and model listed on the selected route's connection page.
2. Add to the List, Then Enable Aggregation
- In CC Switch, open Aggregation at the top of the corresponding client's page.
- Edit the Orbis card's Model List, fetch available models, and select them. If the list endpoint is unavailable, manually add real model IDs. For Claude, use ★ to set that provider's startup and background default model. Make sure the key also authorizes it.
- Click Add in the Available to Add area, choose the default provider, then click Switch to Aggregation Mode.
- Check the default provider and model count in the confirmation dialog. Once enabled, the page should show Aggregation Active.
Saving a provider, adding it to the list, and enabling aggregation are three separate actions. Opening the aggregation page or saving a model list does not automatically enable it.
3. Refresh the Client and Verify Requests
| Client | After Configuration Changes |
|---|---|
| Codex Desktop | Completely quit and reopen the application. |
| Codex CLI | Restart the daemon as prompted, then open the CLI. This may interrupt other tasks. |
| Codex Editor Extension | Reopen the editor window. |
| Claude Code | Reselect the model as prompted. The list usually takes effect immediately. |
In the client's model picker, choose a model using the provider label, send a short message, then check the request in usage logs. Switch to another entry and verify again. Each request consumes the corresponding service's credit. Do not invent a ccs- model prefix. BadAssModel Usage History opens the existing workspace, not Orbis request records.
Common Issues and Exiting
| Symptom | What to Do |
|---|---|
| Only old models appear | Confirm that the provider is on the list and aggregation is enabled, then reload the client as described above. |
| Ordinary requests use the wrong service | Check the aggregation default provider, not just the card you last edited. |
| Main conversation works, but small tasks fail | Check whether the key authorizes the background small model. |
| One service fails | Manually select another provider you have verified works. Aggregation is not automatic failover. |
| Official credit is exhausted and third-party requests also fail | Return to direct connection. In CC Switch's Settings → App Configuration → Codex, turn off “Preserve official login when switching without takeover.” Switch to the third-party provider and restart completely. You may need a new session instead of an old one. |
| You want to exit aggregation | Click “Return to Direct Connection” on the aggregation page, enable the original provider, reload the client, and check its status. |
The Orbis key still determines the route. CC Switch aggregation does not allow one key to automatically call across routes. For more detailed model-list, default-selection, and recovery instructions, see the illustrated tutorial (external source).
For cross-provider subagents, official credit restrictions, and version differences, see the official CC Switch aggregation manual (external; Chinese).