Lumoswitch Docs
Client setup

OpenClaw setup

OpenClaw connects through the OpenAI-compatible Chat Completions or Responses interface.

export LUMOSWITCH_API_KEY="your-lumoswitch-access-key"

Add this provider to the OpenClaw configuration:

{
  "models": {
    "providers": {
      "lumoswitch": {
        "baseUrl": "https://api.lumoswitch.com/v1",
        "apiKey": "${LUMOSWITCH_API_KEY}",
        "api": "openai-completions",
        "models": [
          {
            "id": "your-client-facing-model-name",
            "name": "Lumoswitch model"
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "lumoswitch/your-client-facing-model-name"
      }
    }
  }
}

For Responses, set api to openai-responses. Keep the Base URL on the Lumoswitch /v1 endpoint.

References: OpenClaw model providers and Gateway configuration.

On this page