provider
Tencent Hunyuan
Direct answerFor direct TokenHub access, call /v1/models and use the case-sensitive model ID. Custom online inference uses a service ID. Guangzhou and international bases differ, while this gateway uses its own token and adapted route.
Updated · Reviewed
TokenHub versus Hunyuan
TokenHub is a Tencent Cloud hosting platform whose marketplace can list Hunyuan and third-party models, so not every entry belongs to Tencent Hunyuan. Verify author, capability, price, and lifecycle, especially pre-offline status. This gateway page declares only /v1/chat/completions; official TokenHub Responses, Anthropic, or other APIs are not gateway endpoints by implication.
Region, authentication, and this gateway
The Guangzhou service root is https://tokenhub.tencentmaas.com; international Singapore uses https://tokenhub-intl.tencentmaas.com, with OpenAI-compatible paths under /v1/.... Regions are not interchangeable. Direct calls use a TokenHub Bearer API key, while this gateway uses its own base URL and Bearer token. Legacy Hunyuan paths also cannot be spliced onto TokenHub.
Model ID versus service ID
For default models, call GET /v1/models and copy data[].id exactly, preserving case. A custom online inference deployment uses a service ID. Console display names are for humans. Through this gateway, use an enabled gateway name, which a channel may map to a TokenHub model ID or custom service ID.
Streaming, protocols, and errors
TokenHub officially supports OpenAI Chat, Responses, and Anthropic compatibility, but capability remains model-specific and gateway clients must follow this page's api_paths. Errors can include code, type, source, upstream detail, and request_id; 429 may include Retry-After. Retain the complete error to separate authentication, unsupported model/protocol, throttling, and upstream failures.
Cost and security
A TokenHub key can be scoped to default models or custom endpoints and assigned daily, monthly, and lifetime usage limits, but budgets must be actively enabled. Split keys by workload, cap concurrency and output, and alert on usage. Marketplace pricing, status, and geography can change, so recheck them before launch.
Reviewed provider catalog
Latest models by capability
These are provider-catalog models, not a promise of availability on this site. Confirm callable IDs, endpoints, and pricing in the model marketplace.
Text, reasoning, and code
-
hy3StableTencent Hunyuan's production text flagship on TokenHub with a 256K context window.
Image generation and editing
-
hy-image-v3.0StableTencent Hunyuan's 3.0 text-to-image and image-to-image model on TokenHub.
Video generation and editing
-
hy-video-1.5StableTencent Hunyuan's text- and image-to-video model hosted on TokenHub.
Embeddings, retrieval, and reranking
-
kinfra-text-embedding-4bStableTokenHub's current higher-capability text embedding model.
-
kinfra-vl-embedding-8bStableTokenHub's current vision-language multimodal embedding model.
Use cases
- Chinese and enterprise tasks
- Reasoning and multimodality
- Tencent Cloud integration
API protocols
/v1/chat/completions
FAQ
Can I mix the Guangzhou and international TokenHub base URLs?
No. The Guangzhou service root is https://tokenhub.tencentmaas.com and international Singapore uses https://tokenhub-intl.tencentmaas.com, with OpenAI paths under /v1/.... Account, key, model, and region must match; gateway calls use this site's base URL and token.
Should model contain a model ID or an online-service ID?
For default models, call GET /v1/models and copy data[].id exactly, including case, while checking pre-offline status. A custom online inference deployment uses a service ID. A console display name replaces neither value.
How can I cap spending on a TokenHub API key?
A key can be scoped to default models or custom endpoints and can have daily, monthly, and lifetime usage limits, which may be disabled by default. Enable budgets and split keys by environment or workload to contain leakage.
How should a TokenHub 429 be retried?
Read code, type, source, request_id, and any Retry-After value to separate platform throttling from an upstream failure. Retry only transient cases according to Retry-After or bounded backoff and reduce concurrency; unsupported model or protocol errors need configuration changes.
Related guides
Official sources
- Tencent Cloud TokenHub Model Marketplace Official
- Tencent Cloud TokenHub API Usage Official
- Tencent Hunyuan Migration Notice Official
- Tencent Cloud TokenHub Errors Official
- Tencent Cloud TokenHub API Key Management Official
兔子API