Claude Desktop

Claude Desktop talks an Anthropic Messages gateway (/v1/messages), not a generic OpenAI Chat Completions client.

APIClaw can serve Anthropic-compatible traffic, but Desktop setup is different from Cursor or Cline.

For the most reliable APIClaw coding setup, use Claude Code with ANTHROPIC_BASE_URL=https://apiclaw.biz.

Configure Claude Desktop (third-party gateway)

  1. Enable Developer Mode (Help → Troubleshooting → Enable Developer Mode, wording may vary by version).
  2. Open Developer → Configure Third-Party Inference.
  3. Fill in the form:
FieldValue
ConnectionGateway
Credential kindStatic API key
Gateway API keyYour APIClaw API key from API Keys
Gateway auth schemeBearer
Gateway base URLhttps://apiclaw.biz

Do not paste https://apiclaw.biz/v1/chat/completions. Desktop expects an Anthropic-style host that can serve /v1/messages.

  1. In the Models section, add an entry with the Model ID from your model hub, a display name, and a Tier alias (sonnet, opus or haiku). No model appears in the app until this entry exists.

Verify

Use Test connection in the gateway credentials section, then send a short Desktop prompt and confirm the request in logs.

Troubleshooting

  • OpenAI-only clients that only speak Chat Completions will not work here.
  • ANTHROPIC_BASE_URL in a shell often does not apply to Desktop agent sessions; prefer the in-app gateway settings.
  • Prefer HTTPS and an active APIClaw key.