Tencent model page

Tencent: Hy4

tencent/hy4

The official release of Hy4 delivers comprehensive and substantial improvements over Hy4 Preview, with particularly strong gains in agentic capabilities and performance across a wide range of long-horizon, real-world productivity...

TextVisionStructured outputTool callingLong context
Input / 1M
$0.54
Output / 1M
$1.63
Context
1049K
Markup
30%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Tencent

Synced from the active catalog

Context window
1.0M tokens

Validated for gateway requests

UAI input
$0.54

Charged from your UAI balance

UAI output
$1.63

Same API key and billing flow

This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Long-context inputs

Tencent: Hy4 exposes 1.0M tokens, which makes it a good fit for large documents, transcripts, and retrieval-heavy chat flows.

Multimodal prompts

The synced capabilities for this row indicate image or vision support, so you can route multimodal requests through the same UAI account and billing flow.

Agent integrations

Tool and function-style parameters stay available through the same UAI request surface, so agent stacks do not need a separate provider integration.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$0.54
UAI output / 1M tokens
$1.63
Tencent input / 1M
$0.42
Tencent output / 1M
$1.25
Context window
1,048,576
Current markup
30%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

Use this model with your UAI key over the standard OpenAI-compatible route.

Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.

curl
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tencent/hy4",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="tencent/hy4",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://uai.sh/v1",
  apiKey: "uai-YOUR_API_KEY"
});

const response = await client.chat.completions.create({
  model: "tencent/hy4",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

console.log(response.choices[0].message.content);

Related models

Other active rows to compare without leaving the public catalog.

tencent
Tencent: Hy3 preview
tencent/hy3-preview
Input / 1M$0.23
Context262K tokens
tencent
Tencent: Hunyuan A13B Instruct
tencent/hunyuan-a13b-instruct
Input / 1M$0.18
Context131K tokens
tencent
Tencent: Hy3
tencent/hy3
Input / 1M$0.17
Context262K tokens