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.
macOS
Route OpenClaw requests through 2KEN on macOS with an OpenAI-compatible provider profile.
Endpoint
Replace only the base URL. SDK shape, JSON body, and bearer auth stay familiar.
https://apis.2ken.com/v1export OPENAI_BASE_URL="https://apis.2ken.com/v1"
export OPENAI_API_KEY="sk-2ken-your-key"
export OPENAI_MODEL="gpt-4.1-mini"
# Start OpenClaw and select the OpenAI-compatible provider profile.NotesSave it as a dedicated provider named 2KEN so it stays separate from other model services.
Ready to ship?
Open the console next, copy a token, inspect model policy, and place the real values into the matching client.