Hy4

tencent/hy4
NewFlagshipFeaturedZDR
VisionToolsJSONReasoning
by Tencent · 2026-11-04

Hy4 is the official release of Tencent Hunyuan flagship Mixture-of-Experts model, a major step up from Hy4 Preview with substantial gains in agentic capability and long-horizon, real-world productivity tasks. It is built on a 770B-parameter MoE architecture (about 49B active per token, 78 layers, 256 routed experts plus one shared expert) with a native MTP layer for speculative decoding. It serves a 1M-token context window, accepts text and image input with text output, and generates up to 64K output tokens. Reasoning is configurable at three levels (high / low / none) and defaults to high, so it can run as a deep chain-of-thought model for math, coding, and analysis, or answer directly when latency matters. It supports native tool calling, structured outputs, and the Responses and Anthropic Messages APIs, and is positioned for software engineering, coding agents, office and data analysis, game prototyping, and complex multi-step agent workflows. Tencent recommends temperature 0.9 with top_p 1.0.

ctx1M tokens
Max output65K
Inputtext + image
Outputtext
p50 TTFT1.13 s
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Runs inEuropean Union
INPUT$0.83/ 1M tokens
OUTPUT$2.50/ 1M tokens
p50 TTFT1.13 s7d
p95 TTFT1.13 s7d
TRAFFICCollecting…

Code samples

Call from any SDK

OpenAI-compatible — keep the SDK you already use

  • OpenAI SDKhttps://api.orcarouter.ai/v1
  • Anthropic SDKhttps://api.orcarouter.ai
import os

from openai import OpenAI

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

response = client.chat.completions.create(
    model="tencent/hy4",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Supported parameters

  • include_reasoning
  • max_completion_tokens
  • max_tokens
  • reasoning
  • reasoning_effort
  • response_format
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools

Pricing

Pricing
Input / 1M tokens$0.834
Output / 1M tokens$2.501
Cache read / 1M$0.042
CurrencyUSD

Cost calculator

Tokens / month10MM
Input share70%%
Estimated / month $13.34 · With prompt caching $10.57

Estimate based on list price

Token & cost estimator

Input tokens: 20Cost per request: $0.001267

Estimate only — actual token counts depend on the provider's tokenizer.

Performance

p50 TTFT
1.13 s
Output speed
Collecting…
p95 TTFT
1.13 s
Error rate
Collecting…

Public benchmarks

AA Cyber Index
58.0 index
AA Economics
38.3 index
AA Engineering
41.1 index
AA Finance & Accounting
38.0 index
AA Healthcare & Medical
42.9 index
AA Intelligence Index
34.6 index
AA Legal
35.4 index
AA Strategy & Ops
48.7 index
Source: artificialanalysis.ai

Community buzz

What developers are saying this week

Hacker News75 mentions · 7dup 5 vs the previous week

How it compares

Hy4Hy3Hy4 previewHy4 Flash
Input $/M$0.83$0.18$0.83$0.02
Output $/M$2.50$0.59$2.50$0.07
Context1.0M262K1.0M1.0M
Quality7/108/108/106/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How much does Tencent: Hy4 cost on OrcaRouter?
Tencent: Hy4 is priced at $0.83 per 1M input tokens and $2.50 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is Tencent: Hy4's context window?
Tencent: Hy4 supports a context window of 1M tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Tencent: Hy4 via the OpenAI SDK?
Set OpenAI base_url to https://api.orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="tencent/hy4" in the chat.completions.create call.
Does OrcaRouter rate-limit Tencent: Hy4?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.

Embed this badge

Tencent: Hy4•$0.83/M in•1127ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/tencent/hy4" target="_blank"> <img src="https://www.orcarouter.ai/embed/tencent/hy4.svg" alt="Tencent: Hy4 on OrcaRouter" /> </a>
Markdown [![Tencent: Hy4](https://www.orcarouter.ai/embed/tencent/hy4.svg)](https://www.orcarouter.ai/models/tencent/hy4)

Model card as data

GET /api/public/models/tencent/hy4Open
Machine-readable:/llms.txt/llms-full.txt