Documentation

OpenClaw

OpenClaw uses the OpenAI API. Point it at the OpenAI-compatible gateway.

Quick Start

This guide helps you get OpenClaw running through the gateway in a few minutes.

Step 1: Edit the config file

macOS / Linux: ~/.openclaw/openclaw.json

Windows: %USERPROFILE%\.openclaw\openclaw.json

{
  "models": {
    "providers": {
      "llmpool": {
        "baseUrl": "https://api.benpay.ai/openai/v1",
        "apiKey": "...",
        "api": "openai-completions",
        "models": [
          {
            "id": "gpt-5.5",
            "name": "LLMPool gpt-5.5",
            "reasoning": false,
            "input": ["text"],
            "contextWindow": 128000,
            "maxTokens": 8192
          }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "workspace": ".../.openclaw/workspace",
      "model": {
        "primary": "llmpool/gpt-5.5"
      },
      "models": {
        "gpt-5.5": {
          "alias": "llmpool"
        }
      }
    }
  }
}

Step 2: Start chatting

openclaw chat