{
  "_README": "Merge the contents of this file into your ~/.openclaw/openclaw.json (or %USERPROFILE%\\.openclaw\\openclaw.json on Windows). Run `openclaw onboard` first to create the base config if you don't have one yet. Then replace REPLACE_WITH_YOUR_THALAM_KEY with the key from your THALAM dashboard, save, and run `openclaw config validate` followed by `openclaw gateway restart`. Full walkthrough: https://thalam.ai/docs/integrations/openclaw/getting-started",
  "agents": {
    "defaults": {
      "model": {
        "primary": "thalam/anthropic/claude-sonnet-4.6"
      },
      "models": {
        "thalam/anthropic/claude-sonnet-4.6": {},
        "thalam/deepseek/deepseek-v3.2": {}
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "thalam": {
        "baseUrl": "https://api.thalam.ai/v1",
        "apiKey": "REPLACE_WITH_YOUR_THALAM_KEY",
        "api": "openai-completions",
        "models": [
          {
            "id": "anthropic/claude-sonnet-4.6",
            "name": "Claude Sonnet 4.6 (THALAM)",
            "reasoning": false,
            "input": ["text", "image"],
            "cost": { "input": 0.003, "output": 0.015, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 200000,
            "maxTokens": 8192
          },
          {
            "id": "deepseek/deepseek-v3.2",
            "name": "DeepSeek V3.2 (THALAM)",
            "reasoning": false,
            "input": ["text"],
            "cost": { "input": 0.00027, "output": 0.0011, "cacheRead": 0, "cacheWrite": 0 },
            "contextWindow": 128000,
            "maxTokens": 8192
          }
        ]
      }
    }
  }
}
