Clients/All clients

Client Setup

Every client needs only the Wokey base URL and an API key. Pick your client to see its configuration.

On this pageexpand_more

Terminal coding agentslink

Agents that read and write code and run commands in a terminal, configured through environment variables or a config file.

Claude Codearrow_forwardClaude Code uses Anthropic-compatible environment variables and sends ANTHROPIC_AUTH_TOKEN as an Authorization Bearer token.Default format: Anthropic MessagesCodexarrow_forwardCodex CLI and the Codex desktop app share the same configuration, so the setup below applies to both. Codex uses the Responses protocol. Keep base_url at the gateway origin, without /responses. Replace YOUR_API_KEY with your Wokey API key in experimental_bearer_token, without a Bearer prefix. Remove any existing env_key setting; no environment variable export is needed. Save the file and run codex. The key is stored in plain text in the local config.Default format: OpenAI Responsesopencodearrow_forwardOne command writes the Wokey provider and switches the default model to wokey/auto.Default format: OpenAI Chat CompletionsGrok CLIarrow_forwardUse the official Grok CLI config to connect to Wokey. Add a grok-4.7 model entry with its own api_key; the api_key in a model entry takes precedence over the grok login session, so Responses requests go to the Wokey gateway.Default format: OpenAI Responsespiarrow_forwardpi reads custom providers from models.json. The configuration below calls Claude models through Anthropic Messages; for GPT, DeepSeek, and other models add a second provider with api set to openai-completions and a baseUrl ending in /v1.Default format: Anthropic MessagesDeepSeek Harnessarrow_forwardDeepSeek Harness (dsh) accepts custom gateways, so one Wokey key covers DeepSeek, GPT, GLM and Claude models. deepseek-v4.1-flash supports Chat Completions, Responses, and Anthropic Messages; the configuration below puts Claude Opus 5.5 and DeepSeek-V4.1-Flash under one Anthropic Messages provider and declares image input for both.Default format: OpenAI Chat Completions

Desktop and chat clientslink

Apps with a graphical interface, where you add a custom provider on the settings page.

Always-on agentslink

Agents that keep running on your own machine or server and take tasks through chat apps.

Model gatewayslink

Gateways that run on your machine, use Wokey as an upstream, and serve several agents from it.

Base URL referencelink

The base URL each client takes for each API format, and where the client keeps the setting. Clients without a page of their own are listed too.

ClientFormatBase URLWhere it is configured
Claude CodeAnthropic Messageshttps://api.wokey.aiEnvironment variables, or env in ~/.claude/settings.json
CodexOpenAI Responseshttps://api.wokey.ai~/.codex/config.toml
Claude DesktopAnthropic Messageshttps://api.wokey.aiMenu Developer → Configure third-party inference
opencodeOpenAI Chat Completionshttps://api.wokey.ai~/.config/opencode/opencode.json
Grok CLIOpenAI Responseshttps://api.wokey.ai~/.grok/config.toml
piAnthropic MessagesOpenAI Chat CompletionsOpenAI Responseshttps://api.wokey.aihttps://api.wokey.ai/v1https://api.wokey.ai/v1~/.pi/agent/models.json
DeepSeek HarnessOpenAI Chat CompletionsAnthropic Messageshttps://api.wokey.ai/v1https://api.wokey.ai~/.dsh/profiles/web/cordis.patch.yml
Z CodeAnthropic MessagesOpenAI Chat Completionshttps://api.wokey.aihttps://api.wokey.ai/v1Settings → Model Settings (file ~/.zcode/v2/config.json)
Cherry StudioOpenAI Chat CompletionsAnthropic Messageshttps://api.wokey.aihttps://api.wokey.aiSettings → Model Provider → Add Provider
WorkBuddyOpenAI Chat Completionshttps://api.wokey.aiSettings → Models → Custom models
OpenClawOpenAI Chat Completionshttps://api.wokey.aiopenclaw onboard command flags
Hermes AgentOpenAI Chat Completionshttps://api.wokey.ai~/.hermes/config.yaml
MagpieOpenAI Chat CompletionsOpenAI ResponsesAnthropic Messageshttps://api.wokey.ai/v1https://api.wokey.ai/v1https://api.wokey.aimagpie provider add or an import link (file ~/.config/magpie/providers.json)
Cline / Kilo Code / Roo CodeOpenAI Chat Completionshttps://api.wokey.ai/v1Extension settings, choose OpenAI Compatible (Kilo Code: Providers → Custom provider)
AiderOpenAI Chat Completionshttps://api.wokey.ai/v1Environment variables OPENAI_API_BASE and OPENAI_API_KEY; model as openai/model-name
ZedOpenAI Chat Completionshttps://api.wokey.ai/v1language_models.openai_compatible in settings.json
n8nOpenAI Chat Completionshttps://api.wokey.ai/v1Base URL in the OpenAI credential

Calling the API directly with curl or an SDK? Request examples for each format are linked from Endpoints