CC Switch
Connect Claude Code, Codex, and more to YunSell AI with CC Switch
CC Switch is a desktop app for managing and switching API providers across Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes, and similar tools.
Upstream guide: CC Switch provider setup.
Prerequisites
Add YunSell AI
- Open CC Switch → click
+. - Prefer app-specific provider for the first setup.
- If there is no YunSell AI preset, choose Custom.
- Fill fields per app (below), set API Key to
sk-xxx, then save. - Optionally fetch models via
/v1/models, or enter model IDs manually.
Claude Code / Desktop (Anthropic)
| Field | Value |
|---|---|
| Name | e.g. YunSell AI |
| Base URL | http://www.mangoto.ai (no /v1) |
| API Key | sk-xxx |
| API format | Anthropic Messages |
{
"env": {
"ANTHROPIC_BASE_URL": "http://www.mangoto.ai",
"ANTHROPIC_AUTH_TOKEN": "sk-xxx"
}
}
Codex (OpenAI-compatible)
| Field | Value |
|---|---|
base_url | http://www.mangoto.ai/v1 (include /v1) |
| API Key | sk-xxx → OPENAI_API_KEY |
| model | Visible YunSell AI model ID |
model_provider = "yunsell"
model = "your-model-id"
[model_providers.yunsell]
name = "yunsell"
base_url = "http://www.mangoto.ai/v1"
wire_api = "responses"
requires_openai_auth = true
Universal providers
You can sync one provider to multiple apps. Claude usually needs the origin; Codex usually needs /v1. If one shared URL cannot cover both, configure app-specific providers instead.
Switch and verify
- Select YunSell AI → Enable / Switch.
- Restart the CLI if required.
- Test a message; use
/statusin Claude Code. - Optional: use latency test on the provider card.
