Hy4 Preview
by tencent · family hy4
Facts
| Release date | 2026-08-28 |
|---|---|
| Retired date | — |
| Knowledge cutoff | — |
| Context (max) | — |
| Max output | — |
| Modalities | text → text |
| Aliases | hy4-previewhy4 |
| Open weights | yes (tencent/Hy4-preview) |
| Description | Tencent's next-gen Hunyuan flagship, open-sourced as a preview on 2026-08-28: 770B total / 49B-active MoE with a 1M context window, FP8 variant shipped alongside. Successor to Hy3 (295B/21B). |
Unknown values are shown as —.
Offerings
| Provider | Wire ID | Variant | Endpoint | Protocol | Status | Price (USD / Mtok) | Reasoning |
|---|---|---|---|---|---|---|---|
| OpenCode Go | hy4-preview | go-chat-completions | openai-chat | preview | — | effort · default on · returns reasoning_content |
Reasoning controls
OpenCode Go· hy4-preview· go-chat-completions effort
reasoning_effort nonelowhigh●
effort · default on · returns reasoning_content
Example requests
OpenCode Go · openai-chat · hy4-preview
curl 'https://opencode.ai/zen/go/v1/chat/completions' \
-H 'Authorization: Bearer <YOUR_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning_effort": "high"
}'Python (requests)
import requests
resp = requests.post(
"https://opencode.ai/zen/go/v1/chat/completions",
headers={
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
json={
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning_effort": "high"
},
)
print(resp.json())TypeScript (fetch)
const resp = await fetch("https://opencode.ai/zen/go/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer <YOUR_API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "hy4-preview",
"messages": [
{
"role": "user",
"content": "Tell me about the weather."
}
],
"reasoning_effort": "high"
}),
})
console.log(await resp.json())