docs/providers/tencent.md
Tencent Cloud ships as a bundled provider plugin in OpenClaw. It gives access to Tencent Hy3 preview through the TokenHub endpoint (tencent-tokenhub).
The provider uses an OpenAI-compatible API.
| Property | Value |
|---|---|
| Provider | tencent-tokenhub |
| Default model | tencent-tokenhub/hy3-preview |
| Auth | TOKENHUB_API_KEY |
| API | OpenAI-compatible chat completions |
| Base URL | https://tokenhub.tencentmaas.com/v1 |
| Global URL | https://tokenhub-intl.tencentmaas.com/v1 |
openclaw onboard --non-interactive \
--mode local \
--auth-choice tokenhub-api-key \
--tokenhub-api-key "$TOKENHUB_API_KEY" \
--skip-health \
--accept-risk
| Model ref | Name | Input | Context | Max output | Notes |
|---|---|---|---|---|---|
tencent-tokenhub/hy3-preview | Hy3 preview (TokenHub) | text | 256,000 | 64,000 | Default; reasoning-enabled |
Hy3 preview is Tencent Hunyuan's large MoE language model for reasoning, long-context instruction following, code, and agent workflows. Tencent's OpenAI-compatible examples use hy3-preview as the model id and support standard chat-completions tool calling plus reasoning_effort.
OpenClaw defaults to Tencent Cloud's https://tokenhub.tencentmaas.com/v1 endpoint. Tencent also documents an international TokenHub endpoint:
openclaw config set models.providers.tencent-tokenhub.baseUrl "https://tokenhub-intl.tencentmaas.com/v1"
Only override the endpoint when your TokenHub account or region requires it.
tencent-tokenhub/<modelId>.hy3-preview.models.providers only when needed.If the Gateway runs as a daemon (launchd/systemd), make sure TOKENHUB_API_KEY
is available to that process (for example, in ~/.openclaw/.env or via
env.shellEnv).