Tencent Cloud 在 OpenClaw 中作為隨附的供應商 Plugin 提供。它透過 TokenHub 端點(Documentation Index
Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
tencent-tokenhub),使用 OpenAI 相容 API 存取 Tencent Hy3 preview。
| 屬性 | 值 |
|---|---|
| 供應商 ID | tencent-tokenhub |
| Plugin | 隨附,enabledByDefault: true |
| 驗證環境變數 | TOKENHUB_API_KEY |
| 入門設定旗標 | --auth-choice tokenhub-api-key |
| 直接 CLI 旗標 | --tokenhub-api-key <key> |
| API | OpenAI 相容(openai-completions) |
| 預設基底 URL | https://tokenhub.tencentmaas.com/v1 |
| 全域基底 URL | https://tokenhub-intl.tencentmaas.com/v1(覆寫) |
| 預設模型 | tencent-tokenhub/hy3-preview |
快速開始
非互動式設定
內建目錄
| 模型參照 | 名稱 | 輸入 | Context | 最大輸出 | 備註 |
|---|---|---|---|---|---|
tencent-tokenhub/hy3-preview | Hy3 preview (TokenHub) | text | 256,000 | 64,000 | 預設;已啟用推理功能 |
hy3-preview 作為模型 ID,並支援標準 chat-completions 工具呼叫以及 reasoning_effort。
分級定價
隨附目錄提供依輸入視窗長度調整的分級成本中繼資料,因此無需手動覆寫即可填入成本估算。| 輸入 Token 範圍 | 輸入費率 | 輸出費率 | 快取讀取 |
|---|---|---|---|
| 0 - 16,000 | 0.176 | 0.587 | 0.059 |
| 16,000 - 32,000 | 0.235 | 0.939 | 0.088 |
| 32,000+ | 0.293 | 1.173 | 0.117 |
models.providers.tencent-tokenhub 下覆寫定價。
進階設定
端點覆寫
端點覆寫
OpenClaw 預設使用 Tencent Cloud 的 只有在你的 TokenHub 帳戶或區域需要時,才覆寫端點。
https://tokenhub.tencentmaas.com/v1 端點。Tencent 也記載了國際 TokenHub 端點:Daemon 的環境可用性
Daemon 的環境可用性
如果 Gateway 以受管理服務執行(launchd、systemd、Docker),
TOKENHUB_API_KEY 必須對該程序可見。請在 ~/.openclaw/.env 中設定,或透過 env.shellEnv 設定,讓 launchd、systemd 或 Docker exec 環境可以讀取。相關
模型供應商
選擇供應商、模型參照與容錯移轉行為。
設定參考
完整設定結構描述,包含供應商設定。
Tencent TokenHub
Tencent Cloud 的 TokenHub 產品頁面。
Hy3 preview 模型卡
Tencent Hunyuan Hy3 preview 詳細資訊與基準測試。