Tài liệu / App & SDK / OpenClaw

OpenClaw

OpenClaw dùng địa chỉ chuẩn Anthropic: https://ai.gamikey.com.

Sửa ~/.openclaw/openclaw.json (tạo mới nếu chưa có), rồi khởi động lại OpenClaw:

json
{
  "models": {
    "mode": "merge",
    "providers": {
      "gamikey": {
        "baseUrl": "https://ai.gamikey.com",
        "apiKey": "sk-...",
        "api": "anthropic-messages",
        "models": [
          {
            "id": "claude-sonnet-5-5",
            "name": "Gamikey claude-sonnet-5-5",
            "api": "anthropic-messages",
            "input": ["text", "image"],
            "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }
          }
        ]
      }
    }
  }
}
  • "mode": "merge" giữ các nhà cung cấp sẵn có của OpenClaw.
  • Khối cost để 0 chỉ cho giao diện OpenClaw — phí thật trừ vào số dư key.
  • Thêm một mục trong models cho mỗi mã Claude muốn dùng.
Cập nhật: 02/12/2026Thấy lỗi trong tài liệu? Chat với Gamikey