arXiv · 2611.35704
TokenSimV3: Full-Stack Simulation for Agentic LLM Serving and Hardware-Software Co-Design
Abstract
Evaluating large language model (LLM) serving policies and emerging hardware architectures directly on physical multi-node clusters is slow and prohibitively expensive. Simulation provides a fast alternative, yet existing simulators largely target single-node execution with flat memory and independent requests, offering little help in real deployments governed by distributed communication, multi-tier KV Cache management, and stateful agentic workflows. We present TokenSimV3, a fast, extensible full-stack simulator for multi-node agentic and disaggregated LLM serving. First, TokenSimV3 reproduces the distributed agent serving environment across heterogeneous attention models and a three-tier KV Cache hierarchy spanning GPU memory, host DRAM, and shared cluster storage. Second, to avoid exhaustive profiling, TokenSimV3 unifies sparse local measurements with physical scaling laws to extrapolate across million-token contexts and multi-node collectives. Validated on production GB200/GB300 clusters, TokenSimV3 predicts multi-node agent throughput within 7.1%-9.9% error and single-node time-to-first-token within 0.20%-7.47% error up to 1M context, while running up to 57x faster than existing serving simulators and 553x faster than packet-level network simulators. We further use TokenSimV3 to uncover system design insights across programmable KV Cache policies, Prefill-Decode and Attention-FFN disaggregation, Groq LPX accelerators, and High-Bandwidth Flash (HBF) storage. TokenSimV3 is publicly available at https://github.com/pku-lemonade/TokenSim.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Zhuohang Bian, Songhan Huang, Zhuoran Li, Feiyang Wu, Chengkai Sheng, Teng Ma, Yun Liang, Youwei Zhuo. 2026-11-26. TokenSimV3: Full-Stack Simulation for Agentic LLM Serving and Hardware-Software Co-Design. https://arxiv.science/abs/2611.35704
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.