AIHow AI Works

Tencent Hy4 preview

Tencent's open-weight flagship, released August 28, 2026. A 770B MoE with 49B active, a 1M-token context, Apache 2.0 — and explicitly a preview.

At a glance

DeveloperTencent
Model typeLanguage Model
Context window1M tokens
Input price$0.834 / 1M tokens
Output price$2.501 / 1M tokens
LicenseApache 2.0
ReleasedAugust 28, 2026

Overview

Tencent Hy4 preview is Tencent’s open-weight flagship large language model, released and open-sourced on August 28, 2026. It is a Mixture-of-Experts transformer with 770 billion total parameters and 49 billion activated per token, a 1M-token context window, and Apache 2.0 weights published at tencent/Hy4-preview.

(adsbygoogle = window.adsbygoogle || []).push({});

The pitch is narrower than a generic frontier-model launch. Tencent’s announcement says Hy4 preview “is built for real-world productivity tasks, delivering outstanding performance across coding, office work, and scientific research,” and describes it as “developed using high-quality training data co-created with Tencent experts across software engineering, gaming, finance, security, and other domains, as well as through deep co-design with products such as WorkBuddy.”

That co-design story is the interesting part. Hy4 preview was built alongside two shipping Tencent products — CodeBuddy, the coding assistant, and WorkBuddy, the workplace assistant — and trained on work data contributed by software engineers, game developers, finance analysts and security experts. The model is shaped by the workloads those products see, rather than aimed at a leaderboard. Whether that produces a better assistant on your work is exactly what the vendor’s own evaluation cannot tell you.

(adsbygoogle = window.adsbygoogle || []).push({});

A note on naming

Tencent’s own spelling is “Tencent Hy4 preview”, lowercase preview, and the Hugging Face repository is tencent/Hy4-preview. Third-party coverage frequently writes “Hunyuan 4” or “Hy4 Preview”; those refer to the same model. Neither should be confused with Hunyuan-4B, an unrelated 4-billion-parameter edge model from July 2025.

Until August 28, 2026 there was no Hunyuan 4 flagship at all, and earlier versions of this page said so. That is no longer true — the release is real, and this page now documents it.

The previous flagship: Tencent Hy3

Tencent Hy3 has not been retired. Released July 6, 2026, it is a 295B MoE with 21B active parameters, 192 experts with top-8 activation, a single 3.8B Multi-Token Prediction layer for speculative decoding, a 256K context window and Apache 2.0 weights. Its distinguishing feature was hybrid fast-and-slow thinking via a reasoning_effort parameter with no_think (default), low and high settings.

Hy3 remains listed on Tencent Cloud TokenHub, its model card is still published, Tencent has announced no deprecation date, and free Hy3 access on WorkBuddy and CodeBuddy runs through September 30, 2026. At 21B active parameters against Hy4 preview’s 49B it is also the cheaper model to self-host by a wide margin, and for latency-sensitive work its no_think default is a genuine advantage over a model that defaults to deep reasoning.

Capabilities

  • Long-horizon software engineering: Tencent claims “stronger understanding, planning, debugging, and validation capabilities for long-context development tasks” — the debugging-across-a-whole-repository case rather than single-function completion.
  • Document and spreadsheet production: Enhanced “data analysis and cross-document collaboration, supporting the full workflow from information processing through to the creation of documents, spreadsheets, and presentations.” Turning messy multi-file context into a deliverable is the named target.
  • Game prototyping: Tencent claims the model can “generate a playable prototype from a single natural-language request” — plausible given the game-developer training data, and unverified outside Tencent.
  • Scientific reasoning: Improvements claimed in “molecular dynamics simulation, condensed-matter physics and fundamental mathematics.”
  • Deep reasoning by default: The model card defaults reasoning_effort to high (deep chain-of-thought); direct answers require explicitly passing no_think. This is the opposite of Hy3’s default and it changes both latency and token spend.
  • 1M-token context: A million-token context window with sparse attention, aimed at whole-repository and multi-document work rather than single prompts.

Technical Specifications

  • Hugging Face repositories: tencent/Hy4-preview, tencent/Hy4-preview-FP8 (mirrors on ModelScope, GitCode, CNB)
  • API model ID: hy4-preview
  • Total parameters: 770B
  • Active parameters: 49B per token
  • Layers: 78 — one dense FFN layer, 77 MoE layers
  • Experts: 256 routed + 1 shared per MoE layer; top-8 routed experts activated per token
  • Attention: Gated DeepSeek Sparse Attention (Gated DSA) with IndexCache for cross-layer sparse index reuse
  • Residual pathway: iHC, for expanded inter-layer information flow
  • Vocabulary size: 120,832
  • Context window: 1M tokens (Tencent Cloud documents 960K max input, 64K max output)
  • License: Apache 2.0
  • Thinking control: reasoning_effort defaults to high; override via extra_body={"chat_template_kwargs": {"reasoning_effort": "no_think"}}
  • Serving: vLLM and SGLang, both with official prebuilt images

Tencent publishes no knowledge cutoff and no training-token count for Hy4 preview, so this page does not state one. Ground time-sensitive queries with retrieval or tool use.

Use Cases

  • Repository-scale debugging: The 1M context plus the long-horizon planning claim targets the case where the bug is not in the file you are looking at. This is the workload CodeBuddy was co-designed around.
  • Document and spreadsheet generation from scattered sources: Pulling a quarter’s worth of tickets, notes and exports into a single deliverable — the WorkBuddy workload, and the one the training-data provenance most directly supports.
  • Cost-constrained hosted inference: At $0.834 / $2.501 per million tokens it undercuts every Western frontier model by an order of magnitude, which makes it viable for high-volume classification, extraction and summarisation.
  • Self-hosting where data cannot leave: Apache 2.0 with no field-of-use restrictions — unlike several competing Chinese open-weight releases — but 770B total parameters means a serious cluster even at FP8.
  • Game prototyping loops: A named target domain with matching training data; worth a scoped trial if that is your workload, and not worth assuming otherwise.
  • Scientific and mathematical drafting: Molecular dynamics and pure maths are called out explicitly. Treat as a starting point for verification, not a source of results.

Performance / Benchmarks

Tencent publishes most of its benchmark appendix as an image rather than as text, which limits what can be quoted precisely. The scores stated in the model card text are:

Benchmark Hy4 preview
GPQA Diamond 92.3
SWE-bench Multilingual 82.9
SWE-bench Pro 65.7
Toolathlon Verified 74.1

These are vendor-reported figures, run by Tencent, published at launch. Comparator columns exist in the appendix image but are not reproduced here, because a number read off a chart is not a citable number.

No independent aggregate score — such as an Artificial Analysis Intelligence Index v4.2 entry — had been published for Hy4 preview as of September 6, 2026.

The blind expert evaluation, in full

Tencent’s headline comparison is a blind internal study, and every part of that phrase matters:

  • Who ran it: Tencent, internally.
  • Who judged: 163 Tencent experts.
  • What they judged: 203 engineering tasks, selected by Tencent.
  • Result: Hy4 preview averaged 2.99 / 4.00, against Kimi K3 at 2.94 and GLM-5.3 at 2.92.

A 0.05-point margin on a four-point scale, from a panel the vendor assembled, on a task set the vendor chose, is a near-tie. It is evidence that Hy4 preview is in the same class as the leading Chinese open-weight models; it is not evidence that it beats them, and it should not be reported as a ranking. Run your own comparison on your own tasks before deciding.

Limitations

  • “Preview” is a real caveat, not branding. The model card states: “This is an early version of Hy4. There is real headroom left in both pre-training and post-training, and we are shipping with known issues.” There is no published GA date, no stability commitment for the served endpoint, and no statement that these weights are final. Building a product on it means accepting that both the checkpoint and the API may move.
  • Named failure modes: Tencent lists “spending longer than necessary reasoning through complex tasks, and a tendency to over-verify its own work.” Both cost tokens and latency.
  • Deep reasoning is the default. Unlike Hy3, reasoning_effort starts at high. A naive integration will be slower and more expensive than the price card suggests until no_think is set explicitly.
  • 770B is a lot to self-host. Apache 2.0 removes the licence cost, not the hardware cost. Hy3 at 295B/21B active, or a smaller open-weight model, remains the realistic self-hosting option for most teams.
  • Vendor-reported benchmarks, image-only appendix. Every published number originates with Tencent, and most of the comparison table is a picture. Independent replication was thin at the time of writing.
  • The blind evaluation is vendor-run with a 0.05-point margin over its comparators. See above.
  • Weights, not full openness. Apache 2.0 covers the weights; training data and pipeline are not released.
  • No published knowledge cutoff.
  • The free windows expire. Free Hy4 preview access ran two weeks from launch and has closed; free Hy3 access ends September 30, 2026.

Pricing & Access

Self-hosting is free of licence cost. The weights are Apache 2.0 at tencent/Hy4-preview, with an FP8 checkpoint for cheaper serving. Commercial use, modification and redistribution are permitted.

Hosted USD rate card. Tencent’s own English announcement states: “API pricing is set at USD 0.834 per million input tokens, USD 2.501 per million output tokens and USD 0.042 per million tokens for cache hits.” Tencent Cloud documents the same figures for its Singapore endpoint. These are Tencent’s published USD prices, not a conversion made by this page.

USD per 1M tokens
Input $0.834
Output $2.501
Cache hit $0.042

Domestic CNY rate card. Tencent Cloud TokenHub’s 模型价格 (“Model Pricing”) page, last updated 2026-09-04, prices the same models in 元 per million tokens:

Model 推理输入 (input) 推理输出 (output) 缓存命中 (cache hit)
Hy4 preview 6 18 0.3
Hy3 1 4 0.25

All figures in that table are yuan (CNY), unconverted. For what it is worth, the two cards imply a rate near 7.2 CNY to the dollar across all three columns — but the USD figures above are the ones Tencent publishes for international customers, and they are what the frontmatter quotes.

Endpoints: Singapore at https://tokenhub-intl.tencentcloudmaas.com/v1, Silicon Valley at https://tokenhub-us.tencentcloudmaas.com/v1. The model is also routed through OpenRouter as tencent/hy4-preview at the same USD prices.

Free access, and its dates. Tencent offered free Hy4 preview access on WorkBuddy and CodeBuddy for two weeks from the August 28, 2026 launch — that window has closed. Free Hy3 access on the same two products continues through September 30, 2026.

Consumer access runs through Yuanbao, ima and other Tencent applications.

Ecosystem & Tools

Community & Resources

Common questions

What is Tencent Hy4 preview?

Tencent's current open-weight flagship language model, released and open-sourced on August 28, 2026. It is a Mixture-of-Experts model with 770 billion total parameters, 49 billion activated per token, a 1M-token context window, and Apache 2.0 weights on Hugging Face at `tencent/Hy4-preview`.

Does "preview" mean it is a beta?

Effectively yes. Tencent's model card says: "This is an early version of Hy4. There is real headroom left in both pre-training and post-training, and we are shipping with known issues." Tencent has published no GA date, no stability commitment for the served endpoint, and no statement that these weights are final. The API and the weights work today; treat both as subject to change.

What is the architecture of Hy4 preview?

78 layers — one dense FFN layer and 77 MoE layers with 256 routed experts plus 1 shared expert each, top-8 routed experts activated per token. Attention is Gated DeepSeek Sparse Attention (Gated DSA) with IndexCache for cross-layer sparse index reuse. Vocabulary size is 120,832.

Is Hy4 preview open source?

The weights are published under the Apache 2.0 license at `tencent/Hy4-preview` and `tencent/Hy4-preview-FP8` on Hugging Face, with mirrors on ModelScope, GitCode and CNB. Training data and the training pipeline are not released, so this is open weights rather than open source in full.

What is the context window for Hy4 preview?

1M tokens. Tencent Cloud's hosted endpoint documents a 960K maximum input and a 64K maximum output within that window, so the full million is shared between prompt, tool results and generation.

How much does Hy4 preview cost?

Tencent publishes a USD rate card for the hosted API: $0.834 per 1M input tokens, $2.501 per 1M output tokens and $0.042 per 1M cache-hit tokens. The domestic Tencent Cloud TokenHub card prices the same model in CNY at 6 / 18 / 0.3 元 per million. Self-hosting the Apache 2.0 weights is free of licence cost.

What does Tencent's blind expert evaluation actually show?

It is a vendor-run internal study: 163 Tencent experts rated model outputs on 203 engineering tasks, and Hy4 preview averaged 2.99/4.00 against Kimi K3 at 2.94 and GLM-5.3 at 2.92. A 0.05-point gap on a 4-point scale from a panel the vendor assembled, on tasks the vendor chose, is a near-tie — not a ranking.

Is Tencent Hy3 still available?

Yes. Tencent has announced no deprecation for Hy3. It is still listed on Tencent Cloud TokenHub at 1 / 4 / 0.25 元 per million tokens, its Apache 2.0 weights remain published at `tencent/Hy3`, and free Hy3 access on WorkBuddy and CodeBuddy runs through September 30, 2026.

Is Hy4 preview free to try?

Tencent offered free Hy4 preview access through WorkBuddy and CodeBuddy for two weeks from the August 28, 2026 launch — a window that has now closed. The separate free-Hy3 offer on the same two products runs to September 30, 2026.

Was there ever a model called Hunyuan 4?

There is now. Until August 28, 2026 there was no Hunyuan 4 flagship, and earlier versions of this page correctly said so. Tencent's own spelling for the current release is "Tencent Hy4 preview"; "Hunyuan 4" appears mainly in third-party coverage. Do not confuse either with Hunyuan-4B, an unrelated 4-billion-parameter edge model from July 2025.

Where is Hy4 preview deployed inside Tencent?

Tencent states it is available through WorkBuddy and CodeBuddy, as well as Yuanbao, ima and other Tencent products, and via API through Tencent Cloud TokenHub and OpenRouter.