The source provides the OpenAI-compatible API endpoint and key configuration for connecting to the Hy4 GA release through Tencent Cloud TokenHub. This can be used to configure an existing OpenAI SDK client.
Suitable tasks: Connecting an existing OpenAI SDK application to the Hy4 GA release on TokenHub.
Unsuitable tasks: Treating this article as a Hy4-specific prompt, a Computer Use interaction protocol, or a model parameter guide.
Applicable model version: Tencent Hunyuan Hy4 GA release. The source does not provide the model field value for API requests; confirm the available model ID in the TokenHub console.
Applicable client, agent, or API: Tencent Cloud TokenHub's OpenAI-compatible interface and the official OpenAI SDK.
Recommended reasoning tier and parameters: Not specified in the source.
base_url: https://api.hunyuan.cloud.tencent.com/v1
api_key: Use a key created in the TokenHub console.
Client: Official OpenAI SDK.
Model: Select the Hy4 GA release in TokenHub. The source does not list the exact model ID required in the request, so do not guess it.
Create a key in the Tencent Cloud TokenHub console.
Set the OpenAI SDK client's base_url to the address above and configure the key.
Check the Hy4 GA model ID in the TokenHub console, then send a request through the SDK's standard chat interface.
The source does not show the specific request body or model ID for step 3. Refer to the console or the relevant API documentation.
Section “VIII. How to Connect to and Try Hy4” in the source says that TokenHub is the entry point for calling the Hy4 API. It instructs users to set base_url to https://api.hunyuan.cloud.tencent.com/v1 and replace api_key with a key created in the TokenHub console to use the official OpenAI SDK. The source says that business code requires almost no changes.
The source identifies the model as the “Tencent Hunyuan Hy4 GA release” and says it was released on November 4, 2026. The page lists the author as gavin1024 and the publication time as 2026-11-04 17:59:29.
This is an API connection configuration, not a prompt or a complete code example.
The source does not provide the exact API model ID, request parameters, visual input format, or Computer Use tool-calling protocol.
Prices, discounts, and free quotas in the source are time-sensitive and are not treated here as long-term configuration guidance.
The source was published by an author on the Tencent Cloud Developer Community and is not equivalent to official Tencent Hunyuan API reference documentation.
Check section “VIII. How to Connect to and Try Hy4” in the source, along with the author and publication time shown on the page. Before making an actual call, confirm the Hy4 GA model ID and current interface parameters in the TokenHub console.
Hy4