Quick integration guide

Back to LLM API

Ready-to-use configs for common clients with a shared `/v1` base URL; available routes depend on the enabled model.

Common steps

  • Add balance to your account.
  • Create/Get API key in API AI Console.
  • Paste the template below into your client config.
  • Run a test request and verify usage in Console.

Important notes

  • Use OpenAI-compatible Base URL directly with `/v1`.
  • Do not append `/chat/completions` to Base URL.
  • Use your API key from API AI Console.
  • Pick a model that supports the route your client sends, such as `chat/completions`, `responses`, or `messages`.

VSCode OpenCode setup

Tạo file .opencode.json ở thư mục dự án:

{
  "providers": {
    "anthropic": {
      "apiKey": "sk-YOUR_API_KEY",
      "disabled": false
    }
  },
  "agents": {
    "coder": {
      "model": "claude-opus-4-6",
      "maxTokens": 50000
    },
    "task": {
      "model": "claude-opus-4-6",
      "maxTokens": 50000
    }
  }
}
export ANTHROPIC_BASE_URL="https://ckey.vn"

Cursor setup

  • Provider: OpenAI compatible
  • Base URL: https://ckey.vn/v1
  • API Key: sk-YOUR_API_KEY
  • Model: claude-opus-4-6 / claude-opus-4.6

Cursor Settings → Models → thêm nhà cung cấp OpenAI-compatible, sau đó dán Base URL + API key và chọn model hỗ trợ đúng route mà client này sẽ gọi.

OpenClaw setup

Chỉnh file openclaw.json (project root hoặc ~/.config/openclaw/):

{
  "agents": {
    "defaults": {
      "model": { "primary": "ckey/claude-opus-4-6" }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "ckey": {
        "baseUrl": "https://ckey.vn/v1",
        "apiKey": "sk-YOUR_API_KEY",
        "api": "openai-completions",
        "models": [
          { "id": "claude-opus-4-6", "name": "claude-opus-4-6" },
          { "id": "claude-opus-4.6", "name": "claude-opus-4.6" },
          { "id": "claude-sonnet-4-6", "name": "claude-sonnet-4-6" },
          { "id": "claude-sonnet-4.6", "name": "claude-sonnet-4.6" },
          { "id": "gpt-5.3-codex", "name": "gpt-5.3-codex" },
          { "id": "gpt-5.4", "name": "gpt-5.4" }        ]
      }
    }
  }
}

Claude Code setup

export ANTHROPIC_API_KEY="sk-YOUR_API_KEY"
export ANTHROPIC_BASE_URL="https://ckey.vn"

# run
claude

Cherry Studio setup

  • Base URL: https://ckey.vn/v1
  • API Key: sk-YOUR_API_KEY
  • Provider type: OpenAI / Custom OpenAI
  • Recommended models: claude-opus-4-6 claude-opus-4.6 claude-sonnet-4-6 claude-sonnet-4.6 gpt-5.3-codex gpt-5.4

Nếu chưa tự load model list, có thể thêm tay model id và dùng ngay.

SillyTavern setup

  • API URL: https://ckey.vn/v1
  • API Key: sk-YOUR_API_KEY
  • API Type: Chat Completion (OpenAI)
  • Model: claude-opus-4-6 (hoặc model đang bật bán khác)