惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
美团技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
T
Tailwind CSS Blog
D
Docker
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
腾讯CDC
Vercel News
Vercel News
Engineering at Meta
Engineering at Meta
U
Unit 42
The Cloudflare Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
爱范儿
爱范儿
Recent Announcements
Recent Announcements
博客园 - 聂微东
博客园 - 叶小钗
H
Help Net Security
MyScale Blog
MyScale Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: expand Tencent Hy3 provider guide · openclaw/opencl...
steipete · 2026-04-23 · via Recent Commits to openclaw:main

@@ -1,24 +1,45 @@

11

---

22

title: "Tencent Cloud (TokenHub)"

3-

summary: "Tencent Cloud TokenHub setup"

3+

summary: "Tencent Cloud TokenHub setup for Hy3 preview"

44

read_when:

5-

- You want to use Tencent Hy models with OpenClaw

5+

- You want to use Tencent Hy3 preview with OpenClaw

66

- You need the TokenHub API key setup

77

---

889-

# Tencent Cloud (TokenHub)

9+

# Tencent Cloud TokenHub

101011-

Tencent Cloud ships as a **bundled provider plugin** in OpenClaw. It gives access to Tencent Hy models via the TokenHub endpoint (`tencent-tokenhub`).

11+

Tencent Cloud ships as a **bundled provider plugin** in OpenClaw. It gives access to Tencent Hy3 preview through the TokenHub endpoint (`tencent-tokenhub`).

12121313

The provider uses an OpenAI-compatible API.

141415-

## Quick start

15+

| Property | Value |

16+

| ------------- | ------------------------------------------ |

17+

| Provider | `tencent-tokenhub` |

18+

| Default model | `tencent-tokenhub/hy3-preview` |

19+

| Auth | `TOKENHUB_API_KEY` |

20+

| API | OpenAI-compatible chat completions |

21+

| Base URL | `https://tokenhub.tencentmaas.com/v1` |

22+

| Global URL | `https://tokenhub-intl.tencentmaas.com/v1` |

162317-

```bash

18-

openclaw onboard --auth-choice tokenhub-api-key

19-

```

24+

## Quick start

202521-

## Non-interactive example

26+

<Steps>

27+

<Step title="Create a TokenHub API key">

28+

Create an API key in Tencent Cloud TokenHub. If you choose a limited access scope for the key, include **Hy3 preview** in the allowed models.

29+

</Step>

30+

<Step title="Run onboarding">

31+

```bash

32+

openclaw onboard --auth-choice tokenhub-api-key

33+

```

34+

</Step>

35+

<Step title="Verify the model">

36+

```bash

37+

openclaw models list --provider tencent-tokenhub

38+

```

39+

</Step>

40+

</Steps>

41+42+

## Non-interactive setup

22432344

```bash

2445

openclaw onboard --non-interactive \

@@ -29,23 +50,35 @@ openclaw onboard --non-interactive \

2950

--accept-risk

3051

```

315232-

## Providers and endpoints

53+

## Model catalog

54+55+

| Model ref | Name | Input | Context | Max output | Notes |

56+

| ------------------------------ | ---------------------- | ----- | ------- | ---------- | -------------------------- |

57+

| `tencent-tokenhub/hy3-preview` | Hy3 preview (TokenHub) | text | 256,000 | 64,000 | Default; reasoning-enabled |

335834-

| Provider | Endpoint | Use case |

35-

| ------------------ | ----------------------------- | ----------------------- |

36-

| `tencent-tokenhub` | `tokenhub.tencentmaas.com/v1` | Hy via Tencent TokenHub |

59+

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`.

376038-

## Available models

61+

<Tip>

62+

The model id is `hy3-preview`. Do not confuse it with Tencent's `HY-3D-*` models, which are 3D generation APIs and are not the OpenClaw chat model configured by this provider.

63+

</Tip>

396440-

### tencent-tokenhub

65+

## Endpoint override

66+67+

OpenClaw defaults to Tencent Cloud's `https://tokenhub.tencentmaas.com/v1` endpoint. Tencent also documents an international TokenHub endpoint:

68+69+

```bash

70+

openclaw config set models.providers.tencent-tokenhub.baseUrl "https://tokenhub-intl.tencentmaas.com/v1"

71+

```

417242-

- **hy3-preview** — Hy3 preview (256K context, reasoning, default)

73+

Only override the endpoint when your TokenHub account or region requires it.

43744475

## Notes

45764677

- TokenHub model refs use `tencent-tokenhub/<modelId>`.

47-

- The plugin ships with tiered Hy3 pricing metadata built in, so cost estimates are populated without manual pricing overrides.

48-

- Override pricing and context metadata in `models.providers` if needed.

78+

- The bundled catalog currently includes `hy3-preview`.

79+

- The plugin marks Hy3 preview as reasoning-capable and streaming-usage capable.

80+

- The plugin ships with tiered Hy3 pricing metadata, so cost estimates are populated without manual pricing overrides.

81+

- Override pricing, context, or endpoint metadata in `models.providers` only when needed.

49825083

## Environment note

5184

@@ -57,4 +90,7 @@ is available to that process (for example, in `~/.openclaw/.env` or via

57905891

- [OpenClaw Configuration](/gateway/configuration)

5992

- [Model Providers](/concepts/model-providers)

60-

- [Tencent TokenHub](https://cloud.tencent.com/document/product/1823/130050)

93+

- [Tencent TokenHub product page](https://cloud.tencent.com/product/tokenhub)

94+

- [Tencent TokenHub text generation](https://cloud.tencent.com/document/product/1823/130079)

95+

- [Tencent TokenHub Cline setup for Hy3 preview](https://cloud.tencent.com/document/product/1823/130932)

96+

- [Tencent Hy3 preview model card](https://huggingface.co/tencent/Hy3-preview)