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 Cloud TokenHub
Tencent Cloud 在 OpenClaw 中以內建 provider plugin形式提供。它可透過 TokenHub endpoint (tencent-tokenhub) 存取 Tencent Hy3 preview。
此 provider 使用 OpenAI 相容 API。
| 屬性 | 值 |
|---|---|
| Provider | tencent-tokenhub |
| 預設模型 | tencent-tokenhub/hy3-preview |
| 驗證 | TOKENHUB_API_KEY |
| API | OpenAI 相容 chat completions |
| Base URL | https://tokenhub.tencentmaas.com/v1 |
| Global URL | https://tokenhub-intl.tencentmaas.com/v1 |
快速開始
建立 TokenHub API key
在 Tencent Cloud TokenHub 中建立 API key。如果你為該 key 選擇有限的存取範圍,請在允許的模型中包含 Hy3 preview。
非互動式設定
內建 catalog
| 模型 ref | 名稱 | 輸入 | Context | 最大輸出 | 備註 |
|---|---|---|---|---|---|
tencent-tokenhub/hy3-preview | Hy3 preview (TokenHub) | text | 256,000 | 64,000 | 預設;支援推理 |
hy3-preview 作為 model id,並支援標準 chat-completions tool calling 以及 reasoning_effort。
Endpoint 覆寫
OpenClaw 預設使用 Tencent Cloud 的https://tokenhub.tencentmaas.com/v1 endpoint。Tencent 也記錄了一個國際 TokenHub endpoint:
備註
- TokenHub model refs 使用
tencent-tokenhub/<modelId>。 - 內建 catalog 目前包含
hy3-preview。 - 此 plugin 將 Hy3 preview 標記為具備推理能力並支援 streaming-usage。
- 此 plugin 隨附分級 Hy3 pricing metadata,因此不需手動 pricing overrides 即可填入成本估算。
- 只有在需要時,才於
models.providers中覆寫 pricing、context 或 endpoint metadata。
環境注意事項
如果 Gateway 以 daemon (launchd/systemd) 執行,請確保TOKENHUB_API_KEY
可供該程序使用(例如放在 ~/.openclaw/.env,或透過
env.shellEnv)。