Hy4 Preview

by Tencent

Tencent Hy4 preview is a large language model from Tencent's Hy (Hunyuan) team, released on August 28, 2026 under the Apache 2.0 license. It is a Mixture-of-Experts model with 770 billion total parameters and 49 billion active per token, and it supports a context window of 1 million tokens. The backbone has 78 layers: the first uses a dense feed-forward block and the other 77 use 256 routed experts (top-8) plus one shared expert. Attention is Gated DeepSeek Sparse Attention with IndexCache for reusing sparse indices across layers, the network uses four residual streams, and a native multi-token-prediction layer supports speculative decoding. Reasoning defaults to a high-effort chain of thought and can be switched to a no-think mode for direct answers, and the model supports tool calling. On Tencent's numbers it scores 92.3 on GPQA Diamond, 65.7 on SWE-Bench Pro, 64.3 on Deep SWE, 74.1 on Toolathlon and 85.4 on Terminal-Bench 2.1. In a blind evaluation by 163 experts on 203 engineering tasks, Tencent reports an average of 2.99 out of 4 against 2.92 for GLM-5.3 and 2.94 for Kimi K3. It fits software engineering, office and analytical work, and scientific research tasks that need long context.

Call Hy4 Preview on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
1M
Max output
64K
Input price
$0.83 /1M$0.04 cache read
Output price
$2.50 /1M
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Hy4 Preview runs on 3 different routes through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$0.83$2.50$0.04
USNo$0.83$2.50$0.04
MultiNo$0.83$2.50$0.04

Live routes and prices as JSON: api.opper.ai/v3/models?q=hy4-preview

Uptime and availability

Hy4 Preview runs on 2 independently monitored routes through the Opper gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 100% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
2 monitored providers serve Hy4 Preview.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. 1 further route for this model is not on the board yet and is not counted above. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Hy4 Preview has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

DeepInfra — United States🇺🇸

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; unknown; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
No classifier
GDPR DPA
DPA available
Transfer mechanism
unknown

Novita — United States🇺🇸

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
GDPR DPA
DPA available
Transfer mechanism
SCCs

Tencent Cloud — Multi-region

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

Get started

Call Hy4 Preview through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Hy4 Preview is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "hy4-preview",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use Hy4 Preview in your apps

Pick your tool to see how to run it on Hy4 Preview through Opper.

Compare Hy4 Preview with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from Tencent

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation