tencent-tokenhub) and TokenPlan (tencent-tokenplan) — using an OpenAI-compatible API.
| Property | Value |
|---|---|
| Provider ids | tencent-tokenhub, tencent-tokenplan |
| Package | @openclaw/tencent-provider |
| TokenHub auth env var | TOKENHUB_API_KEY |
| TokenPlan auth env var | TOKENPLAN_API_KEY |
| TokenHub onboarding flag | --auth-choice tokenhub-api-key |
| TokenPlan onboarding flag | --auth-choice tokenplan-api-key |
| TokenHub direct CLI flag | --tokenhub-api-key <key> |
| TokenPlan direct CLI flag | --tokenplan-api-key <key> |
| API | OpenAI-compatible (openai-completions) |
| TokenHub base URL | https://tokenhub.tencentmaas.com/v1 |
| TokenHub global base URL | https://tokenhub-intl.tencentmaas.com/v1 (override) |
| TokenPlan base URL | https://api.lkeap.cloud.tencent.com/plan/v3 |
| Default model | tencent-tokenhub/hy3 |
Quick start
Create a Tencent API key
Create an API key for Tencent Cloud TokenHub and TokenPlan. If you choose a limited access scope for the key, include hy3 (and hy3 preview if you plan to use it on TokenHub) in the allowed models.
Non-interactive setup
--accept-risk is required alongside --non-interactive.Built-in catalog
| Model ref | Name | Input | Context | Max output | Notes |
|---|---|---|---|---|---|
tencent-tokenhub/hy3-preview | hy3 preview (TokenHub) | text | 256,000 | 64,000 | reasoning-enabled |
tencent-tokenhub/hy3 | hy3 (TokenHub) | text | 256,000 | 64,000 | reasoning-enabled |
tencent-tokenplan/hy3 | hy3 (TokenPlan) | text | 256,000 | 64,000 | reasoning-enabled |
hy3 as the model id and support standard chat-completions tool calling plus reasoning_effort.
Advanced configuration
Endpoint override
Endpoint override
OpenClaw’s built-in catalog uses Tencent Cloud’s
https://tokenhub.tencentmaas.com/v1 endpoint. Override it only if your TokenHub account or region requires a different one:Environment availability for the daemon
Environment availability for the daemon
If the Gateway runs as a managed service (launchd, systemd, Docker),
TOKENHUB_API_KEY and TOKENPLAN_API_KEY must be visible to that process. Set them in ~/.openclaw/.env or via env.shellEnv so launchd, systemd, or Docker exec environments can read them.Related
Model providers
Choosing providers, model refs, and failover behavior.
Configuration reference
Full config schema including provider settings.
Tencent TokenHub
Tencent Cloud’s TokenHub product page.
Hy3 preview model card
Tencent Hunyuan Hy3 preview details and benchmarks.