OpenClaw Setup

Manual Setup

Merge the JSON snippet below into your openclaw.json, or provide this content to an AI to help you integrate it.

circle-exclamation
openclaw.json
{
  "models": {
    "mode": "merge",
    "providers": {
      "openai": {
        "baseUrl": "https://fast.vpsairobot.com/v1",
        "apiKey": "<YOUR_API_KEY>",
        "api": "openai-completions",
        "models": [
          {
            "id": "gpt-5.4",
            "name": "GPT 5.4",
            "reasoning": true,
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 272000,
            "maxTokens": 128000
          }
        ],
        "authHeader": true
      }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "openai/gpt-5.4" },
      "workspace": "/<YOUR_USER_DIRECTORY>/.openclaw/workspace",
      "compaction": { "mode": "safeguard" },
      "thinkingDefault": "xhigh",
      "timeoutSeconds": 1800,
      "maxConcurrent": 4,
      "subagents": { "maxConcurrent": 8 }
    }
  }
}
circle-info

Restart your OpenClaw gateway after setup for the changes to take effect: openclaw gateway restart


Auto Setup

Last updated