arXiv:2611.00967cs.OSOct 2026

Manuscript Offprint

arXiv:2611.00967

RTP-LLM: Building an Evolvable and Reliable LLM Inference Engine at Alibaba Scale

Jiarui Guo, Zhi Zhang, Boyu Tan, Zongwei Lv, Haobo Sun, Na He, Ziqing Wang, Xinfei Shi, Wei Zhang, Xi Yang, Haosheng Hu, Wending Bao, Zetao Hu, Dong Cao, Yong Li, Lining Wang, Chengjun Yang, Tianpeng Wang, Huanbing Lu, Yidan Wang, Hengyi Bao, Yaxin Yu, Hanyun Guo, Huidong Zhang, Haiyu Zhou, Zefeng Liu, Weixiang Huang, Ziyi Wang, Chenyi Song, Ruixuan Zhang, Zhengkai Ao, Haocheng Luo, Zhichen Xue, Jialin Zhang, Chi Zhang, Lingjun Zhu, Silu Zhou, Zongyuan Wu, Yinghao Yu, Yi Zheng, Miao Sun, Yuxing Yuan, Juncheng Yin, Guoding Li, Nan Wang, Xiyu Wang, Lin Yang, Zechao Zhang, Jianning Zhang, Bo Cai, Xiaolin Wang, Tao Lan, Tong Yang, Kan Liu, Lu Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiarui Guo¹² Zhi Zhang² Boyu Tan*²³ Zongwei Lv¹ Haobo Sun²³ Na He² Ziqing Wang² Xinfei Shi² Wei Zhang² Xi Yang² Haosheng Hu² Wending Bao² Zetao Hu² Dong Cao² Yong Li² Lining Wang² Chengjun Yang² Tianpeng Wang² Huanbing Lu² Yidan Wang² Hengyi Bao² Yaxin Yu² Hanyun Guo² Huidong Zhang² Haiyu Zhou² Zefeng Liu² Weixiang Huang² Ziyi Wang² Chenyi Song² Ruixuan Zhang² Zhengkai Ao² Haocheng Luo² Zhichen Xue² Jialin Zhang² Chi Zhang² Lingjun Zhu² Silu Zhou² Zongyuan Wu² Yinghao Yu² Yi Zheng² Miao Sun² Yuxing Yuan² Juncheng Yin² Guoding Li² Nan Wang² Xiyu Wang² Lin Yang² Zechao Zhang² Jianning Zhang² Bo Cai² Xiaolin Wang¹ Tao Lan² Tong Yang¹ Kan Liu² Lu Chen³

ABSTRACT

Large language models and inference techniques evolve rapidly, making model enablement a recurring production task rather than a one-time integration effort. At Alibaba, a shared inference infrastructure must keep pace with new models and serving capabilities while remaining reliable across heterogeneous production environments. To reconcile rapid evolution with production reliability, we present RTP-LLM, an open-source production inference engine developed and deployed at Alibaba. Its architecture separates model-specific execution from shared request processing, state management, and resource coordination. Explicit interfaces localize compatible model changes while allowing models and deployment configurations to reuse common serving mechanisms. RTP-LLM has evolved from an exploratory system into a shared production engine that supports ~100 models and processes hundreds of trillions of tokens per day. We describe how its architecture and production practices accommodate model evolution and contain the impact of failures, and share lessons for building evolvable and reliable inference engines at enterprise scale.

1 INTRODUCTION

In recent years, large language models (LLMs) have advanced at a remarkable pace (Team et al., 2025; OpenAI et al., 2023). Research institutions and technology companies continue to release open models spanning diverse parameter scales, architectures, and modalities (Jiang et al., 2023; DeepSeek-AI et al., 2024a; Wang et al., 2024). Even within a single model family, new checkpoints and variants are released frequently (Hui et al., 2024). In parallel, techniques for LLM inference continue to evolve, including low-bit quantization (Xiao et al., 2023; Lin et al., 2024), speculative decoding (Leviathan et al., 2023), diverse parallelization strategies (Narayanan et al., 2021; Rajbhandari et al., 2022; Liu et al., 2024a) and prefill-decode disaggregation (Zhong et al., 2024; Patel et al., 2024). Model enablement must therefore accommodate changes in both model computation and the techniques used to execute it.

However, a publicly released model checkpoint does not by itself constitute a production-ready service; it must be integrated into an inference engine and qualified under production performance and reliability requirements (Yu et al., 2022; Kwon et al., 2023). At Alibaba, this task is amplified by the breadth and heterogeneity of its businesses. A shared inference infrastructure serves domestic and international commerce, logistics, digital mapping, and local consumer services, including Alibaba Cloud, Taobao, Tmall, Xianyu, Cainiao, Amap, Ele.me, AliExpress, and Lazada. These businesses differ in their models, hardware platforms, deployment configurations, workload characteristics, and service-level objectives. Model adaptation is therefore not an isolated compatibility exercise for a single application, but a recurring production requirement through which new model capabilities are made available across the company.

Supporting this range of workloads through a common inference foundation imposes two competing requirements. New models and serving capabilities must be incorporated rapidly, while existing services must retain correctness, predictable performance, and availability through frequent changes. Insufficiently isolated modifications can disrupt

*Equal contribution ¹Peking University ²Alibaba Group ³Zhejiang University. Correspondence to: Tong Yang yang-tong@pku.edu.cn, Kan Liu liukan.lk@alibaba-inc.com, Lu Chen luchen@zju.edu.cn.

Preprint. November 3, 2026.

unrelated deployments, whereas interfaces made too rigid in pursuit of stability can make each new model or feature costly to integrate. The central challenge is therefore not merely to support many models or maximize peak performance, but to evolve continuously without compromising the reliability of existing services.

Existing inference frameworks have made substantial advances in performance, model coverage, and serving functionality (Kwon et al., 2023; Zheng et al., 2024; Nvidia, 2023b). However, adopting them for Alibaba's production environment still requires substantial local validation and integration. First, upstream validation cannot cover every combination of workloads, hardware, and operating conditions encountered at Alibaba. In our experience, some correctness, cache-consistency, and overload-related bugs emerge only under sustained traffic, heterogeneous hardware, or fleet-scale deployment, and may remain invisible in functional tests and small-scale benchmarks. Also, the broad feature and component surface of a general-purpose engine may further expand the code that must be integrated, validated, and maintained, even when only a subset is used internally. Second, a deeply customized fork can address local requirements, but the necessary changes may span scheduling, cache management, hardware backends, and other shared components. As the upstream project evolves, these modifications must be repeatedly reconciled with upstream changes, creating persistent integration effort, regression risk, and maintenance cost. These trade-offs motivated our decision to own the engine's architectural evolution and production validation.

To realize this objective, we present RTP-LLM, an open-source production inference engine developed and deployed at Alibaba. Its central design principle is to separate rapidly changing model execution from relatively stable serving control. Explicit interfaces keep compatible model-specific changes within the execution layer while allowing serving mechanisms to be reused across models and deployment configurations. Our major contributions are summarized as follows:

  • We design, implement, and open-source RTP-LLM (Tan et al., 2026), a production inference engine that separates model execution from stateful serving control.¹ We present its extensible model-execution layer and shared runtime mechanisms for request processing, state management, and resource coordination.

  • We report the large-scale deployment and continuous evolution of RTP-LLM at Alibaba. It serves multiple business domains and has supported successive generations of models, accelerator platforms, and serving capabilities.

  • We share experiences and lessons from the long-term development and operation of RTP-LLM. We analyze critical design trade-offs and provide practical guidelines for building evolvable and reliable production inference engines.

References (36)