Tencent Open-Sources Hy4-Preview: 770B MoE Architecture with 1M Context

Tencent has released the open-weights preview of its next-generation foundation model, Hy4-preview, under the Apache 2.0 license. The release scales the organization's Mixture-of-Experts (MoE) line to 770 billion total parameters, activating 49 billion parameters per token across a native 1-million-token context window. Weights have been published across Hugging Face, ModelScope, GitCode, and GitHub, alongside managed API availability on Tencent Cloud TokenHub and OpenRouter. Architectural Sp

2 min
Tencent Open-Sources Hy4-Preview: 770B MoE Architecture with 1M Context

Tencent has released the open-weights preview of its next-generation foundation model, Hy4-preview, under the Apache 2.0 license. The release scales the organization's Mixture-of-Experts (MoE) line to 770 billion total parameters, activating 49 billion parameters per token across a native 1-million-token context window.

Weights have been published across Hugging Face, ModelScope, GitCode, and GitHub, alongside managed API availability on Tencent Cloud TokenHub and OpenRouter.

Hy4 MoE Architecture

Architectural Specifications and Routing

Hy4-preview builds on a 78-layer backbone with a hybrid dense-MoE layout:

  • Layer Configuration: The initial layer uses a standard dense Feed-Forward Network (FFN), while the subsequent 77 layers utilize MoE routing.
  • Expert Allocation: Each MoE layer contains 256 routed experts and 1 shared expert.
  • Routing Mechanism: During inference, tokens dynamically activate the top-8 routed experts in addition to the mandatory shared expert, yielding 49 billion active parameters per forward pass.
  • Multi-Token Prediction: The architecture incorporates a native Multi-Token Prediction (MTP) module to accelerate decoding throughput and improve sequential coherence.
  • Context Scaling: The model supports context lengths up to 1,048,576 tokens (1M).

Benchmarks and Evaluation

Tencent reported internal evaluation metrics comparing Hy4-preview against domestic flagship alternatives. In a blind side-by-side evaluation conducted with 163 internal engineering experts across 203 software development tasks:

  • Overall Score: Hy4-preview averaged 2.99 out of 4.00.
  • Versus GLM-5.3: Hy4-preview scored 2.99 compared to 2.92 for GLM-5.3, recording a 46.8% win rate, 12.8% tie rate, and 40.4% loss rate.
  • Versus Kimi K3: Hy4-preview scored 2.99 compared to 2.94 for Kimi K3, recording a 51.2% win rate, 7.9% tie rate, and 40.9% loss rate.

In autonomous research workloads, Tencent demonstrated Hy4-preview operating as a coordinating research agent managing multiple concurrent Codex sessions. In post-training optimization experiments on smaller models, the multi-session orchestrator outperformed single-stream exploration across eight benchmark targets.

Commercial Access and API Pricing

Tencent has deployed the model across its internal developer and consumer ecosystem, including CodeBuddy, WorkBuddy, Yuanbao, and ima. External API access is priced on Tencent Cloud at:

  • Cached Input: 0.30 RMB per 1 million tokens
  • Standard Input: 6.00 RMB per 1 million tokens
  • Output: 18.00 RMB per 1 million tokens

Tencent noted that Hy4-preview represents an interim milestone prior to the final Hy4 production release. The development team highlighted known behaviors currently targeted for refinement, including extended reasoning chains and redundant self-verification loops on multi-step tasks.

Sources

Written by

More to read