Hunyuan-A13B Technical Report

Tencent Hunyuan Team, Ao Liu, Botong Zhou, Can Xu, Chayse Zhou, ChenChen Zhang, Chengcheng Xu, Chenhao Wang, Decheng Wu, Dengpeng Wu, Dian Jiao, Dong Du, Dong Wang, Feng Zhang, Fengzong Lian, Guanghui Xu, Guanwei Zhang, Hai Wang, Haipeng Luo, Han Hu, Huilin Xu, Jiajia Wu, Jianchen Zhu, Jianfeng Yan, Jiaqi Zhu, Jihong Zhang, Jinbao Xue, Jun Xia, Junqiang Zheng, Kai Liu, Kai Zhang, Kai Zheng, Kejiao Li, Keyao Wang, Lan Jiang, Lixin Liu, Lulu Wu, Mengyuan Huang, Peijie Yu, Peiqi Wang, Qian Wang, Qianbiao Xiang, Qibin Liu, Qingfeng Sun, Richard Guo, Ruobing Xie, Saiyong Yang, Shaohua Chen, Shihui Hu, Shuai Li, Shuang Chen, Suncong Zheng, Tao Yang, Tian Zhang, Tinghao Yu, Weidong Han, Weijie Liu, Weijin Zhou, Weikang Wang, Wesleye Chen, Xiao Feng, Xiaoqin Ren, Xingwu Sun, Xiong Kuang, Xuemeng Huang, Xun Cao, Yanfeng Chen, Yang Du, Zhen Yang, Yangyu Tao, Yaping Deng, Yi Shen, Yigeng Hong, Yiqi ChenarXiv 2026

TL;DR

Hunyuan-A13B is an open-source Sparse Mixture-of-Experts (MoE) language model that packs 80 billion total parameters but activates only 13 billion during inference, drastically lowering deployment costs without sacrificing performance. Pretrained on a massive 20T-token corpus with enhanced STEM data, it introduces a flexible dual-mode Chain-of-Thought (CoT) framework allowing users to switch between low-latency "fast-thinking" and deep "slow-thinking" reasoning. The model achieves competitive results across mathematics, coding, and long-context tasks, frequently outperforming much larger dense and MoE models.

What Problem Does This Paper Address?

State-of-the-art large language models (LLMs) have made massive leaps toward general intelligence, but their deployment typically demands prohibitive computational resources, resulting in high inference latency and steep hardware costs. Dense architectures require activating all parameters for every single token, which limits broad accessibility for researchers and practitioners.

The Tencent Hunyuan Team addresses this efficiency bottleneck by designing a highly optimized, accessible open-source model that balances computational overhead and advanced reasoning capabilities, particularly for complex STEM, coding, and long-context applications.

Methods

  • Architecture: Hunyuan-A13B utilizes a fine-grained Sparse MoE architecture featuring 1 perpetually active shared expert and 64 fine-grained non-shared experts, routing to 8 non-shared experts per token. It also incorporates Grouped-Query Attention (GQA) and SwiGLU activation functions. The key architectural hyper-parameters are detailed below:

    Overview of the key hyper-parameters of Hunyuan-A13B.
  • Pre-training: The model is trained on 20T tokens across three stages: a Foundation Training Stage (4096 context window), a Fast Annealing Stage (300B tokens, scaling context to 8192), and a Long-Context Training Stage using NTK-aware positional encoding to scale the context window up to 256K tokens.

  • Post-training Pipeline: A structured four-stage pipeline is employed: (1) Reasoning-oriented SFT, (2) Reasoning-oriented RL via Group Relative Policy Optimization (GRPO) utilizing an Outcome Reward Model and a multilingual code sandbox, (3) All-Scenarios SFT for general capabilities, and (4) All-Scenarios RL using a flexible Generative Reward Model (GRM) across 16 sub-topics.
  • Dual-Mode CoT: A unified framework enabling dynamic adjustment of reasoning depth. Users can trigger a rapid "fast-thinking" mode (leaving the <think> block empty via /no_think) for routine tasks, or a deep "slow-thinking" mode (generating comprehensive step-by-step reasoning via /think) for complex problem-solving.

Datasets

  • Pre-training: A curated 20T token corpus, featuring an optimized sub-pipeline that extracted 250 billion tokens of high-quality STEM-focused data.
  • Post-training: A 150K sample dataset for reasoning RL (Math, Coding, Logic, Science in a 2:2:1:1 ratio).
  • Evaluation Benchmarks:
    • General & Reasoning: MMLU, MMLU-Pro, MMLU-Redux, BBH, SuperGPQA, ZebraLogic, DROP.
  • Math & Science: MATH, CMATH, GSM8K, GPQA, AIME2024, AIME2025, GPQA-Diamond, OlympiadBench.
  • Coding: EvalPlus, MultiPL-E, MBPP, CRUX-I, CRUX-O, LiveCodeBench, FullstackBench, McEval, and a newly introduced frontend code generation benchmark called ArtifactsBench.
  • Instruction Following & Text Gen: IFEval, SysBench, LengthCtrl, InsCtrl.
  • NLU: ComplexNLU, Word-Task.
  • Agent & Long-Context: BFCL v3, $\tau$-Bench, ComplexFuncBench, $C^3$-Bench, PenguinScrolls, LongBench-v2, FRAMES, RULER.

Key Insights and Ideas

  • The "Sweet Spot" of Shared Experts: Extensive scaling law experiments revealed that having exactly one shared expert provides a critical performance boost over architectures with none, but increasing the count beyond one yields diminishing or fluctuating returns.
  • Dynamic Reasoning via Control Tags: Instead of forcing a model to always output long reasoning chains (which increases latency and token cost) or always answer directly, the dual-mode CoT framework standardizes the output format using an empty or filled <think> block, giving explicit control to the user via simple tags (/no_think vs /think).
  • GRPO without KL Constraints: In the reasoning RL stage, removing the traditional KL divergence constraint enabled more flexible policy updates, which, combined with on-policy learning and low sampling temperatures, systematically boosted complex reasoning depth.

Key Results

  • Base Model Superiority: Despite activating only 13B parameters, the base model outperforms Qwen2.5-72B (a dense model of similar total parameter size) across almost all benchmarks. It also beats the older Hunyuan-Large on 12 out of 14 benchmarks using only 1/4 of the active parameters.

    Performance comparison of Hunyuan-A13B against other representative base models.
  • Slow-Thinking Math & Logic: In slow-thinking mode, Hunyuan-A13B scored 87.3 on AIME2024, outperforming OpenAI-o1 (74.3) and DeepSeek-R1 (79.8). It also led on ZebraLogic with a score of 84.7.

  • Long-Context & Agent Tasks: On the RULER benchmark (64K-128K context), it maintained a strong score of 73.9, outperforming DeepSeek-R1 (65.6) and Qwen3-A22B (66.6). It also demonstrated top-tier tool-calling capabilities, scoring 78.3 on BFCL v3 and 74.0 on ComplexFuncBench in fast-thinking mode.
  • Inference Throughput: Achieves a high throughput of 1981.99 tokens/s at a batch size of 32 with an input length of 2048 and output length of 14336 under A16W16C16 precision.

Limitations and Future Work

While Hunyuan-A13B achieves competitive performance in coding tasks, its overall coding performance is slightly lower than some of the largest state-of-the-art models. Additionally, on the RAG-focused FRAMES benchmark, its score of 81.1 fell behind DeepSeek-R1 (85.7) and Qwen3-A22B (84.0), indicating that there is still room for improvement in its RAG-specific long-context processing capabilities.

Summary updated

BibTeX
@misc{team2026hunyuan,
  author = {Tencent Hunyuan Team and Ao Liu and Botong Zhou and Can Xu and Chayse Zhou and ChenChen Zhang and Chengcheng Xu and Chenhao Wang and Decheng Wu and Dengpeng Wu and Dian Jiao and Dong Du and Dong Wang and Feng Zhang and Fengzong Lian and Guanghui Xu and Guanwei Zhang and Hai Wang and Haipeng Luo and Han Hu and Huilin Xu and Jiajia Wu and Jianchen Zhu and Jianfeng Yan and Jiaqi Zhu and Jihong Zhang and Jinbao Xue and Jun Xia and Junqiang Zheng and Kai Liu and Kai Zhang and Kai Zheng and Kejiao Li and Keyao Wang and Lan Jiang and Lixin Liu and Lulu Wu and Mengyuan Huang and Peijie Yu and Peiqi Wang and Qian Wang and Qianbiao Xiang and Qibin Liu and Qingfeng Sun and Richard Guo and Ruobing Xie and Saiyong Yang and Shaohua Chen and Shihui Hu and Shuai Li and Shuaipeng Li and Shuang Chen and Suncong Zheng and Tao Yang and Tian Zhang and Tinghao Yu and Weidong Han and Weijie Liu and Weijin Zhou and Weikang Wang and Wesleye Chen and Xiao Feng and Xiaoqin Ren and Xingwu Sun and Xiong Kuang and Xuemeng Huang and Xun Cao and Yanfeng Chen and Yang Du and Zhen Yang and Yangyu Tao and Yaping Deng and Yi Shen and Yigeng Hong and Yiqi Chen},
  title = {{Hunyuan-A13B Technical Report}},
  year = {2026},
  eprint = {2609.27284},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.27284},
}
Figure