Docs.
Detailed guides for every way to connect to 2KEN. Use the same token, base URL, and model configuration from command lines, OpenAI-compatible SDKs, HTTP APIs, code clients, and switching tools.
CC Switch
Create a 2KEN profile in CC Switch to move Claude Code between multiple compatible service configurations.
Endpoint
Replace only the base URL. SDK shape, JSON body, and bearer auth stay familiar.
https://apis.2ken.comProfile name: 2KEN
Provider mode: Claude Code / Anthropic compatible
Base URL: https://apis.2ken.com
API Key: sk-2ken-your-key
Default model: claude-sonnet-4NotesBefore switching, confirm the provider mode and default model required by the current project so Anthropic-compatible and OpenAI-compatible addresses are not mixed.
Ready to ship?
Open the console next, copy a token, inspect model policy, and place the real values into the matching client.