tencent-tokenhub) to give you access to the Tencent Hy3 preview.
| Property | Value |
|---|---|
| Provider id | tencent-tokenhub |
| Plugin | bundled, enabledByDefault: true |
| Auth env var | TOKENHUB_API_KEY |
| Onboarding flag | --auth-choice tokenhub-api-key |
| Direct CLI flag | --tokenhub-api-key <key> |
| API | OpenAI-compatible (openai-completions) |
| Default base URL | https://tokenhub.tencentmaas.com/v1 |
| Global base URL | https://tokenhub-intl.tencentmaas.com/v1 (override) |
| Default model | tencent-tokenhub/hy3-preview |
Quick start
Create a TokenHub API key
Create an API key in Tencent Cloud TokenHub. If you choose a limited access scope for this key, include Hy3 preview in the allowed models.
Non-interactive setup
Built-in catalog
| Model reference | Name | Input | Context | Max output | Notes |
|---|---|---|---|---|---|
tencent-tokenhub/hy3-preview | Hy3 preview (TokenHub) | Text | 256,000 | 64,000 | Default; supports reasoning |
hy3-preview as the model id and supports standard chat-completions tool calling as well as reasoning_effort.
Tiered pricing
The bundled catalog includes tiered cost metadata that varies with input window length, so cost estimates can be populated without manual overrides.| Input token range | Input rate | Output rate | Cache read |
|---|---|---|---|
| 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 only if you need a different display.
Advanced configuration
Endpoint override
Endpoint override
OpenClaw uses Tencent Cloud’s Override this endpoint only if your TokenHub account or region requires it.
https://tokenhub.tencentmaas.com/v1 endpoint by default. Tencent also provides an international TokenHub endpoint:Daemon environment availability
Daemon environment availability
If the Gateway runs as a managed service (launchd, systemd, Docker),
TOKENHUB_API_KEY must be visible to that process. Set it in ~/.openclaw/.env, or via env.shellEnv, so launchd, systemd, or Docker exec environments can read it.Related content
Model providers
Choose providers, model references, and failover behavior.
Configuration reference
Full configuration schema including provider settings.
Tencent TokenHub
Product page for Tencent Cloud TokenHub.
Hy3 preview model card
Details and benchmarks for Tencent Hunyuan Hy3 preview.