Hy4
Hunyuan logo
Tencent Hy4 preview is a Mixture-of-Experts language model designed for coding, office analysis, and scientific research. With a 1M-token context window, it supports complex software development, long-document analysis, and multi-step workflows. Compared with Hy3 preview, it expands model scale and context capacity while strengthening performance on practical productivity tasks.

Pricing

  • Input Tokens: $0.8823 /M tokens
  • Output Tokens: $2.647 /M tokens
  • Cache Read: $0.4412 /M tokens

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Providers

Tencent tencent-hy4
Pricing$0.8823$2.647
Cache$0.4412
PrecisionⓘNot Disclosed
Latency-
Throughput-
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
100.00% uptime today

Performance for hy4

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="hy4",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is Hy4?

Tencent Hy4 preview is a Mixture-of-Experts language model designed for coding, office analysis, and scientific research. With a 1M-token context window, it supports complex software development, long-document analysis, and multi-step workflows. Compared with Hy3 preview, it expands model scale and context capacity while strengthening performance on practical productivity tasks.