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.5421per 1M tokens |
|---|---|
| Output | $1.63per 1M tokens |
Specifications
| Context window | 1.05Mtokens |
|---|---|
| Max output | 66Ktokens |
| 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.0815
- DeepSeek V4 FlashFree
- DeepSeek V4 Flash 0731$0.091
- DeepSeek V4 Flash Vision$0.143
- DeepSeek V4 ProFree
- DeepSeek V4 Pro 0813$0.2828
Call Hy4 Preview through the same endpoints you already use.
Get an API key