Tencent API model

Tencent: hy4-preview

Tencent Hunyuan Hy4 preview — open-weight, text-only 770B-parameter MoE with 49B backbone parameters active per token, a native 10B MTP layer, 1M context, retained-style reasoning, structured output, function calling, and prompt caching.

Specs

Pricing and API details.

Transparent USD pricing. No mainland-China account or phone required. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.

Context window

1M

Modalities

Text

Input $/1M

$0.8889

Output $/1M

$2.6667

Endpoint

OpenAI-compatible /v1/chat/completions

About hy4-preview

Tencent Hunyuan Hy4 preview — open-weight, text-only 770B-parameter MoE with 49B backbone parameters active per token, a native 10B MTP layer, 1M context, retained-style reasoning, structured output, function calling, and prompt caching.

Pricing

Transparent USD pricing.

hy4-preview

$0.8889/M input, $2.6667/M output tokens. Paid in USD. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative. View live pricing

Quickstart

Copy-paste API request.

curl -X POST https://api.chinaapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hy4-preview",
    "messages": [
      {"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
    ]
  }'

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["CHINAAPI_API_KEY"],
    base_url="https://api.chinaapi.ai/v1",
)

response = client.chat.completions.create(
    model="hy4-preview",
    messages=[
        {"role": "user", "content": "Summarize the main tradeoffs for this API workload."}
    ],
)
print(response.choices[0].message.content)

Internal links

Related model pages and guides.

How do I use hy4-preview?

Use hy4-preview through ChinaAPI with an API key and the OpenAI-compatible endpoint shown above.

How much does hy4-preview cost?

hy4-preview is $0.8889/M input, $2.6667/M output tokens, paid in USD. The live pricing page is authoritative. Token-model rates are synchronized from the gateway and may follow providers' official China list prices where configured. Live pricing is authoritative.

Does hy4-preview need a Chinese account?

No. ChinaAPI provides access without a mainland-China account or phone number and includes a $2 free trial. Check live pricing for the displayed USD rate.