首页/Hy4
T

Hy4

tencent/hy4
Tencent: The official release of Hy4 delivers comprehensive and substantial improvements over Hy4 Preview, with particularly strong gains in agentic capabilities and performance across a wide range of long-horizon, real-world productivity tasks. It also introduces visual understanding for the first time.
Price
输入 /Mt输出 /Mt
UncachedCache ReadOutput
$ 0.834
$ 0.042
$ 2.501

Use the following code example to integrate our API:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.highwayapi.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="tencent/hy4",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=64000,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Information

Provider
Quantification
fp8

Supported Features

Context length
1M
Maximum output
64K
serverless
Support
Function call
Support
Structured output
Support
Reasoning
Support
Input Capabilities
text, image
Output Capabilities
text
Contact Us