te
Tencent: Hy4 preview
tencent/hy4-preview
Availabletencenttext intext out
Tencent: 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 that...
Context
1.0M
tokens in
Max output
64K
tokens out
Price
$0.751 / $2.25
per 1M in / out
Quick start
curl https://api.token265.com/v1/chat/completions \
-H "Authorization: Bearer ${OPENROUTER_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "tencent/hy4-preview",
"messages": [{"role": "user", "content": "hello"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
model="tencent/hy4-preview",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
frequency_penaltyinclude_reasoningmax_completion_tokensmax_tokenspresence_penaltyreasoningreasoning_effortresponse_formatstopstructured_outputstemperaturetool_choicetoolstop_ktop_p