Tencent: Hy4 preview
tencent/hy4-preview- Modalities
- text->text
- In / out price
- $0.751 / $2.25
- Context
- 1M
- Released
- Aug 28, 2026
- Knowledge cutoff
- —
per 1M
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...
Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
include_reasoningInclude reasoning
Include a reasoning summary in the response.
logit_biasLogit bias
Add or subtract from token ids to encourage or ban them.
logprobsLogprobs
Return the log probability of each output token.
max_completion_tokensMax completion tokens
Same idea as max_tokens. Some newer models use this field instead.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
min_pMin-p
Drops tokens below this probability threshold.
presence_penaltyPresence penalty
Lowers the chance of any token that has already appeared.
reasoningReasoning
Enable or configure reasoning. The fields differ by model.
reasoning_effortReasoning effort
How much compute to spend reasoning. Often low, medium, or high.
repetition_penaltyRepetition penalty
Penalizes text that already appeared. Common on open models.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
stopStop
Stop when these strings are produced. A string or an array of strings.
structured_outputsStructured outputs
Generate a parseable structure that follows a JSON Schema.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.
tool_choiceTool choice
Whether to call a tool: auto, none, or a named function.
toolsTools
Function definitions the model may call via tool_calls.
top_kTop-K
Sample only from the K most likely tokens.
top_logprobsTop logprobs
Also return the most likely alternatives at each position.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.