cocodot

CC Switch × cocodot

Connect Claude Code and Codex to cocodot with CC Switch

CC Switch manages provider settings on your device; cocodot supplies the API endpoint, key, models, and balance. Use the native Anthropic endpoint for Claude Code and local protocol routing for Codex.

Configuration facts

Toolcocodot base URLUpstream formatCC Switch routing
Claude Codehttps://cocodot.co/api/aiAnthropic MessagesNot required
Codexhttps://cocodot.co/api/ai/v1OpenAI Chat CompletionsRequired for Codex

1. Claude Code

  1. Create an API key in the cocodot dashboard.
  2. Copy the exact Claude Code checklist from the CC Switch card.
  3. Add the provider with the listed base URL and model roles.
  4. Paste the real key locally in CC Switch, save, and enable the provider.

2. Codex

  1. Copy the Codex checklist from the cocodot dashboard.
  2. Add a Codex provider with the base URL shown above.
  3. Choose Chat Completions as the upstream format.
  4. Enable the global Routing switch and Codex routing, then restart the Codex session.

What is available now?

The cocodot dashboard provides exact Claude Code, Claude Desktop, and Codex setup checklists. A built-in cocodot preset has been submitted to the upstream CC Switch project; until it is accepted and released, use the dashboard flow described here.

Primary references: CC Switch · Deep Link · Codex Routing

FAQ

What does CC Switch do, and what does cocodot provide?

CC Switch manages local AI-tool and provider configuration. cocodot provides the API endpoint, API key, model access, and account balance. They are separate products.

How do I add cocodot to CC Switch?

Copy the exact Claude Code or Codex checklist from the cocodot dashboard. Paste the real key only inside CC Switch. When the Claude Desktop provider list is empty, its built-in batch import can reuse compatible Claude Code providers.

Why does Codex require local routing?

Codex speaks the OpenAI Responses protocol, while the cocodot OpenAI-compatible endpoint currently exposes Chat Completions. CC Switch converts between them when Codex routing is enabled.

Where should I paste my API key?

Paste it only inside CC Switch on your device. Never place a real API key in a Deep Link or URL.

Start with a test request

Create a key, complete the matching setup above, and verify one request before using it for a larger workload.

Create a cocodot account →

Last verified: September 12, 2026. API overview