Hy4 Preview
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.
Model ID
tencent/hy4-preview- Context window
- 1.05M
- tokens
- Max output
- 64K
- tokens
- Input
- $0.834
- per 1M tokens
- Output
- $2.50
- per 1M tokens
Cache read $0.042
Quickstart
Call Hy4 Preview in one request.
Point the SDK you already use at xKiro and pass the model ID. The same key works for every model in the catalog.
SDK guidesimport osfrom openai import OpenAI client = OpenAI( api_key=os.environ["XKIRO_API_KEY"], base_url="https://api.xkiro.com/v1",) res = client.chat.completions.create( model="", messages=[ {"role": "user", "content": "Explain HTTP caching in two sentences."}, ],) print(res.choices[0].message.content)✓ 200 OK
"model": "tencent/hy4-preview"
HTTP caching stores copies of responses so later requests can be served without contacting the origin server. Headers such as Cache-Control and ETag decide how long a copy stays fresh and how it is revalidated.
14 input · 42 output tokens · $0.00012 at this model’s rates
Create an API key in the dashboard and export it as XKIRO_API_KEY.
Pricing
What Hy4 Preview costs.
Billed per million tokens at these rates, from your plan’s budget or your wallet.
$0.834
Input
per 1M tokens
$2.50
Output
per 1M tokens
$0.042
Cache read
per 1M tokens
Requires an account that has paid — subscribe to a plan or top up your wallet.
Billed fairly
- A request that fails before any output is generated is never billed
- An identical blocking request retried within two minutes replays the first result — no double charge
- If a stream breaks off or you cancel it, you pay only up to that point
Specifications
Limits and capabilities.
- Context window
- 1,048,576 tokens
- Max output
- 64,000 tokens
- Input
- Text
- Output
- Text
- Provider
- Tencent
- Model ID
- tencent/hy4-preview
- Good for
- Coding · Long context
Capabilities
- Tool useSupported
- VisionNot supported
- Video inputNot supported
- ReasoningSupported
Reasoning effort
- on
Set it with reasoning_effort in the OpenAI format, or thinking in the Anthropic format.
Supported parameters
- max_tokens
- temperature
- top_p
- stop
- frequency_penalty
- presence_penalty
- seed
- stream
- tools
- tool_choice
- response_format
- structured_outputs
- reasoning
- include_reasoning
Compare
Similar models.
Closest in price and context window — same provider first, then alternatives from other providers.
Browse all 108 models| Model | Input / 1M | Output / 1M | ||
|---|---|---|---|---|
| 1.05M | $0.834 | $2.50 | $0.042 | |
| 1.02M | $0.834 | $2.50 | $0.042 | |
| 192K | $0.14 | $0.58 | $0.035 | |
| 1.05M | $0.75 | $3 | $0.006 | |
| 1.05M | $0.9553 | $1.98 | $0.2 | |
| 1.05M | $1 | $5 | $0.05 | |
| 1M | $0.6 | $2.40 | $0.12 |
Start building with Hy4 Preview.
Create a key, point your SDK at xKiro and call tencent/hy4-preview.
No credit card · No auto-renewal · 38 free models