Files
openclaw/docs/providers/tencent.md
2026-04-21 22:46:07 -07:00

1.5 KiB

title, summary, read_when
title summary read_when
Tencent Cloud (TokenHub) Tencent Cloud TokenHub setup
You want to use Tencent Hy models with OpenClaw
You need the TokenHub API key setup

Tencent Cloud (TokenHub)

The Tencent Cloud provider gives access to Tencent Hy models via the TokenHub endpoint (tencent-tokenhub).

The provider uses an OpenAI-compatible API.

Quick start

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

Non-interactive example

openclaw onboard --non-interactive \
  --mode local \
  --auth-choice tokenhub-api-key \
  --tokenhub-api-key "$TOKENHUB_API_KEY" \
  --skip-health \
  --accept-risk

Providers and endpoints

Provider Endpoint Use case
tencent-tokenhub tokenhub.tencentmaas.com/v1 Hy via Tencent TokenHub

Available models

tencent-tokenhub

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

Notes

  • TokenHub model refs use tencent-tokenhub/<modelId>.
  • Override pricing and context metadata in models.providers if needed.

Environment note

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