Large Model Service Platform TokenHub provides a unified large model service portal for enterprises and developers. It integrates Tencent Self-developed HunYuan Large Model capacity and supports importing high-quality third-party models, covering common dialogue, deep reasoning, code generation, visual understanding, image generation, video generation, and other scenarios. The platform supports multiple service modes such as pay-as-you-go calls, guaranteed resources, and exclusive deployment, helping businesses access AI computing power simply and efficiently.
This section introduces the cloud APIs related to TokenHub control plane operations, such as service creation, Key management, usage statistics retrieval, Token Plan enterprise package management, and Token Plan enterprise API Key management. Note that control plane APIs do not currently support model invocation. If required, check the model invocation overview (https://www.tencentcloud.com/document/product/1823/130078?from_cn_redirect=1).
Common terminology for TokenHub API interfaces: see the table below.
| Terminology | Description |
|---|---|
| EndpointId | Service ID of the inference service |
| TeamId | ID of the Token Plan enterprise package. |
| PrepayResourceID | Cloud billing prepaid resource package ID bound to the Token Plan enterprise plan. |
Note:
TokenPlan Key, amount, and other information are managed separately in the package, with an independent API for control, and cannot be accessed or used through the TokenHub global API.
You can use the API Explorer tool to call APIs online.
This document uses querying Token Plan package details as an example. The steps to make an API call through the API Explorer Tool are as follows:
文档反馈