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.

Windows

Configure the 2KEN-compatible address, token, and default model for Claude Code from a Windows terminal.

Endpoint

Replace only the base URL. SDK shape, JSON body, and bearer auth stay familiar.

https://apis.2ken.com
Environmentpowershell
setx ANTHROPIC_BASE_URL "https://apis.2ken.com"
setx ANTHROPIC_API_KEY "sk-2ken-your-key"
setx ANTHROPIC_MODEL "claude-sonnet-4"

# Restart the terminal after setx, then run Claude Code from the project folder.
claude
NotesIf your Claude Code version uses a config file instead of environment variables, keep the same base URL, token, and model values.

Ready to ship?

Open the console next, copy a token, inspect model policy, and place the real values into the matching client.

Open dashboard preview