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

  1. Open CC Switch → click +.
  2. Prefer app-specific provider for the first setup.
  3. If there is no YunSell AI preset, choose Custom.
  4. Fill fields per app (below), set API Key to sk-xxx, then save.
  5. Optionally fetch models via /v1/models, or enter model IDs manually.

Claude Code / Desktop (Anthropic)

FieldValue
Namee.g. YunSell AI
Base URLhttp://www.mangoto.ai (no /v1)
API Keysk-xxx
API formatAnthropic Messages
{
  "env": {
    "ANTHROPIC_BASE_URL": "http://www.mangoto.ai",
    "ANTHROPIC_AUTH_TOKEN": "sk-xxx"
  }
}

Codex (OpenAI-compatible)

FieldValue
base_urlhttp://www.mangoto.ai/v1 (include /v1)
API Keysk-xxx → OPENAI_API_KEY
modelVisible 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

  1. Select YunSell AI → Enable / Switch.
  2. Restart the CLI if required.
  3. Test a message; use /status in Claude Code.
  4. Optional: use latency test on the provider card.