All models
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 window1.05Mtokens
Max output66Ktokens
ProviderTencent
CapabilitiesReasoning · Function calling
Input typestext

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

Call Hy4 Preview through the same endpoints you already use.

Get an API key