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 Codex on Windows with an OpenAI-compatible base URL, API key, and default model.

Endpoint

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

https://apis.2ken.com/v1
Environmentpowershell
setx OPENAI_BASE_URL "https://apis.2ken.com/v1"
setx OPENAI_API_KEY "sk-2ken-your-key"
setx OPENAI_MODEL "gpt-4.1-mini"

# Restart the terminal after setx, then run Codex.
codex
NotesIf you connect to multiple OpenAI-compatible services, use a dedicated terminal profile for 2KEN to avoid variable collisions.

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