OpenClaw 接入教程

快速配置指南与支持模型列表

自定义 Provider 配置

在 OpenClaw 或 cc-switch 中,您可以添加自定义的模型提供商。请参考以下 JSON 配置,将其中的 apiKey 替换为您在控制台获取的专属 Token。

{
  "api": "anthropic-messages",
  "apiKey": "sk-您的专属Token",
  "baseUrl": "https://api.jc-space.cloud",
  "models": [
    {
      "contextWindow": 200000,
      "cost": {
        "cacheRead": 0.3,
        "cacheWrite": 3.75,
        "input": 3,
        "output": 15
      },
      "id": "claude-sonnet-4.6",
      "input": [
        "text"
      ],
      "maxTokens": 8192,
      "name": "claude-sonnet-4.6",
      "reasoning": false
    }
  ]
}