← All models

Tencent: Hy4NEW
tencent/hy4The 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.
Modalities
Price in / out
Cache, read / write
Context / Max output
1.05M / 65.5K
Released
Nov 4, 2026
Parameters
messagesrequiredreasoning_effortoff · low · highmax_tokensoptional · alias max_completion_tokensstreamtrue · falsetoolsfunction calling (OpenAI format)tool_choiceauto · none · requiredresponse_formatjson_object · json_schemaweb_search · · · providerrouting: order · only · ignore · sortstream_options{"include_usage": true}image_urlimage (data: URL)Fine-tuning · 2
temperature0–2stopoptionalHow to use via API
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="tencent/hy4",
messages=[{"role": "user", "content": "Привет"}],
reasoning_effort="low", # off · low · high
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="tencent/hy4",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)

