hy4 API

Tencent's hy4, through an OpenAI-compatible API. Providers quote it on an open exchange, and each request goes to the offer with the lowest estimated charge that meets your rules.

Facts

Model name
hy4
Maker
Tencent
Context window
1M tokens
Input price
$0.462 per million tokens
Output price
$1.385 per million tokens
Providers
1 independent provider
Regions
us

Providers

Request

curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4",
    "messages": [{"role":"user","content":"Say hello."}]
  }'

Questions

What is hy4?
hy4 is a model from Tencent.
How much does hy4 cost?
Offers now ask $0.462 per million input tokens and $1.385 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.
What is the context length of hy4?
The largest offer takes 1,048,576 input tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.
What can hy4 do?
Its providers list Vision, Reasoning effort, JSON object, JSON schema, Frequency penalty, Logit bias, Log probabilities, Min-p sampling, Presence penalty, Repetition penalty, Seed, Stop sequences, Top-k sampling, Top-p sampling, Text, Tools.
What inputs and outputs does hy4 support?
Text · Images → Text.
Which providers serve hy4?
1 independent provider quote it now, with 1 offer. The table above ranks them by the cost of a typical job.
How do I call hy4?
Send "hy4" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.
When was hy4 listed?
The exchange first listed it on 11/5/2026. This is not its release date.

Related pages