ApX logoApX logo

Hunyuan 4 Preview

Active Parameters

770B

Context Length

1.05M

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

156 KB/tok

License

Apache 2.0

Release Date

27 Aug 2026

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.83 · Output: $2.50

Hardware Sizing

Precision

Context

Workload Memory: 1529.23 GB

FP16 · 8K context

Base Weights: 1525.51 GB

KV Cache: 1.22 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

Cluster: 16x NVIDIA H200 141GB

1529.2 / 2030.4 GB usable · TP 8 · PP 2

Determine requirements for datacenter hardware:

Upgrade to Pro

Architecture Diagram

Input TokensToken EmbeddingPosition: RoPEHidden: 6.1k · Context: 1.05M · Vocab: 120.8kx 78 layersRMSNormPre-AttentionDeepSeek Sparse Attention64Q / 8KV headsHead dim: 64+RMSNormPre-FFNSparse MoE FFN (8/256 experts)SwiGLUIntermediate: 2k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#48

BenchmarkScoreRank

Graduate-Level QA

GPQA

0.923

14

Rankings

Overall Rank

#48

Coding Rank

-

About Hunyuan 4 Preview

Hy4 Preview is Tencent's next-generation open foundation model built on the HYV4 architecture. It provides enhanced reasoning, coding, and multi-turn conversational capabilities.

Technical Specifications

Attention

Attention Structure

DeepSeek Sparse Attention

Attention Heads

64

Key-Value Heads

8

Attention Head Dimension

64

Position Embedding

ROPE

RoPE Theta

10,000,000

Normalization

RMS Normalization

Activation Function

SwigLU

Dimensions

Hidden Dimension Size

6,144

Number of Layers

78

FFN Intermediate Size (Dense)

18,432

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

120,832

Mixture of Experts

Total Expert Parameters

49.0B

Number of Experts

256

Active Experts

8

Shared Experts

1

FFN Intermediate Size (per Expert)

2,048

Dense Layers Before MoE

1