1. Claude Code
- Create an API key in the cocodot dashboard.
- Click “Import Claude Code config” in the CC Switch card.
- Review the disabled provider, then import it.
- Paste the real key locally in CC Switch and enable the provider.
CC Switch × cocodot
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.
| Tool | cocodot base URL | Upstream format | CC Switch routing |
|---|---|---|---|
| Claude Code | https://cocodot.co/api/ai | Anthropic Messages | Not required |
| Codex | https://cocodot.co/api/ai/v1 | OpenAI Chat Completions | Required for Codex |
The cocodot dashboard already provides the safe Claude Code import and the Codex setup checklist. A built-in cocodot preset is being proposed 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
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.
Yes for Claude Code: the cocodot dashboard creates a disabled CC Switch import with a public placeholder. Paste the real key locally before enabling it. Codex currently uses a short manual checklist because protocol routing must be enabled.
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.
No. cocodot puts only a public placeholder in the import URL and leaves the provider disabled. Your real key should be pasted inside CC Switch on your device.
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 11, 2026. API overview