TencentNewPaid accounts

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 guides
main.py
import 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)
Response · Example

✓ 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

  1. on

Set it with reasoning_effort in the OpenAI format, or thinking in the Anthropic format.

Reasoning guide

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
Hy4 Preview compared with similar models, prices per 1M tokens
ModelInput / 1MOutput / 1M
Hy4 PreviewThis modelNewPaid accountsReasoning · Tool use1.05M$0.834$2.50$0.042
Hy4Reasoning · Tool use1.02M$0.834$2.50$0.042
Hy3Paid accountsReasoning · Tool use192K$0.14$0.58$0.035
LongCat 2.0Reasoning · Tool use1.05M$0.75$3$0.006
DeepSeek V4 ProPaid accountsReasoning · Tool use1.05M$0.9553$1.98$0.2
GPT-6.1 TerraNewVision · Reasoning · Tool use1.05M$1$5$0.05
Nemotron 3 UltraReasoning · Tool use1M$0.6$2.40$0.12
modeltencent/hy4-preview

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