Tencent Cloud TokenHub
What is Tencent Cloud TokenHub?
Tencent Cloud TokenHub is Tencent Cloud’s hosted model-as-a-service gateway. It aggregates foundation language models from multiple AI providers—including Tencent Hy, DeepSeek, Zhipu GLM, Kimi, and MiniMax—behind a standardized multi-protocol interface for conversational interaction, content generation, coding, and reasoning analysis.
Data Plane & Inference Protocols
TokenHub acts as a multi-model serving layer, providing dual API protocol compatibility across every hosted model:
- OpenAI Compatibility: Supports the OpenAI Chat Completions API (
/v1/chat/completions) for general text generation and tool execution, along with the OpenAI Responses API (/v1/responses) for multi-input workflows and built-in tools. - Anthropic Compatibility: Supports the Anthropic Messages API (
/v1/messages) for Claude-style message schemas, allowing applications to connect using standard OpenAI or Anthropic SDKs. - Model Discovery: The
GET /v1/modelsendpoint returns the list of currently available model IDs and operational statuses. Switching models requires updating themodelstring in standard SDK request payloads.
Authentication & Regional Routing
Inference calls authenticate via an API key passed in request headers (`Authorization: Bearer *** Data-plane traffic routes to region-specific model-as-a-service endpoints:
- Singapore (Global):
https://tokenhub-intl.tencentcloudmaas.com/v1 - Guangzhou (Mainland China):
https://tokenhub.tencentcloudmaas.com/v1 - Silicon Valley (United States):
https://tokenhub-us.tencentcloudmaas.com/v1
Control Plane Architecture
TokenHub separates administrative management from inference execution. Control-plane cloud APIs handle backend service creation (EndpointId), API key generation, usage analytics, and Token Plan enterprise package administration (TeamId and bound PrepayResourceID). Control-plane requests communicate over HTTPS using the TC3-HMAC-SHA256 signature algorithm across regional Tencent Cloud endpoints (tokenhub..tencentcloudapi.com), leaving model inference strictly to the data-plane base URLs.
Categories & Use Cases
Technical Details
| Mobile Application | No |
|---|