arXiv:2610.17689cs.AIOct 2026

Manuscript Offprint

arXiv:2610.17689

Stable Token-level Scheduling for Serverless LLM Inference

Hardi Ashishbhai Desai, Balaji N K, Sourav Kanti Addya

Hardi Ashishbhai Desai, Balaji N K, Sourav Kanti Addya

Cloud & Smart System Services Lab

Department of Computer Science and Engineering

National Institute of Technology Karnataka, Surathkal, India

Emails: {hardidesai.242cs015, balajink.252is009, souravkaddya}@nitk.edu.in

Abstract—Serverless inference is emerging as an efficient deployment model for Large Language Models (LLMs) due to its ability to elastically scale resources, improve GPU utilization through resource sharing, and reduce infrastructure costs. However, existing approaches primarily optimize time to first token (TTFT) while overlooking inter-token latency (ITL), a key determinant of user experience during response generation. We observe that LLM inference comprises a computation-intensive prefill stage and a bandwidth-bound decode stage, where admitting new requests can disrupt ongoing decoding and increase latency. To address this, we propose Token Window Pacing (TWP), a closed-loop scheduling framework that leverages runtime feedback from ITL, queue depth, and workload characteristics to regulate request admission at the token level instead of the batch level. TWP dynamically adjusts a self-regulating token window and incorporates chunk-based prefill to minimize interference from incoming requests. Experiments on realistic serverless workloads show that TWP delivers stable TTFT, significantly reduces latency spikes, lowers P99 tail latency, minimizes ITL variation, and improves throughput by up to 45% over ServerlessLLM and 58% over conventional schedulers. These results demonstrate that feedback-driven token-level scheduling enables stable, high-throughput serverless LLM inference without modifying the underlying model.

Index Terms—Token Window Pacing, Serverless Scheduling, Inter-Token Latency, Time-To-First-Token, Dynamic Token Scheduling

I. INTRODUCTION

Large language models (LLMs) are becoming popular for modern interactive applications such as conversational systems, programming assistants, and search engines, where strict latency requirements make responsiveness a key component of user experience. To reduce the high cost of provisioning dedicated GPUs, many systems now rely on serverless inference, in which model instances are dynamically instantiated on demand and multiple tenants share a pooled GPU infrastructure under a pay-per-use model. It is cost-effective in that it allows service providers to optimize GPU usage via load sharing without incurring costs related to reserved capacity by end users. The downside, however, is that the practice introduces nontrivial scheduling problems that have yet to be adequately addressed in the LLM-serving literature.

References (30)