Tencent
Hy4 Preview
tencent/hy4-preview
Hy4 preview is a mixture-of-experts model from Tencent, with 49B active parameters out of 770B total. It is designed for coding agents, complex tool-use workflows, and productivity tasks.
Pricing
| Input | $0.834per 1M tokens |
|---|---|
| Output | $2.50per 1M tokens |
Specifications
| Context window | 1.05Mtokens |
|---|---|
| Max output | 64Ktokens |
| Provider | Tencent |
| Capabilities | Reasoning · Function calling |
| Input types | text |
Use Hy4 Preview
Point your existing OpenAI SDK at xKiro and pass tencent/hy4-preview as the model. Nothing else in your code changes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.xkiro.com/v1",
api_key="YOUR_XKIRO_KEY",
)
response = client.chat.completions.create(
model="tencent/hy4-preview",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Supported parameters
max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · response_format · structured_outputs · reasoning · include_reasoning
Related models
- Hy3$0.132
- Hy3 Preview$0.18
- DeepSeek V4 Flash 0731$0.091
- DeepSeek V4 Pro 0813$0.2828
- DeepSeek V4.1 Flash$0.075
- LongCat 2.0Free
Call Hy4 Preview through the same endpoints you already use.
Get an API key