← All models
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...
At a glance
- Context window
- 1Mtokens
- Max output
- 64Ktokens
- Knowledge to
- —
- Released
- 2026
Capabilities
CapabilitiesReasoningToolsStructured output
InputText
OutputText
ReasoningSupportedhighlownone
Performance
Reference uptime
100%
Aug 18Sep 16
Median latency
3,116 ms
Aug 18Sep 16
Throughput
41.3 tok/s
Aug 18Sep 16
IranRouter uptime comes from our own automated probes; the reference figures are daily measurements of this model's upstream routes. Each card shows a 30-day average, and a day without data stays empty.
Popularity
- Current rank
- #1
- Rank change, 7 days
- 0
Daily tokens · 90 days
2T
Jun 18Sep 15
Ranked by daily token volume across the global model market; the figure above the chart is the daily average.
Supported parameters
include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstemperaturetool_choicetools
Parameters this model accepts; anything else is ignored.
Quick start
from openai import OpenAI
client = OpenAI(
api_key="ir-...",
base_url="https://iranrouter.com/v1",
)
resp = client.chat.completions.create(
model="tencent/hy4-preview",
messages=[{"role": "user", "content": "سلام!"}],
)
print(resp.choices[0].message.content)Only base_url and the key change; the rest of your code stays as it is.