SkyServe: Serving AI Models across Regions and Clouds with Spot Instances

Recent years have witnessed an explosive growth of AI models. The high cost of hosting AI services on GPUs and their demanding service requirements, make it timely and challenging to lower service costs and guarantee service quality. While spot instances have long been offered with a large discount, spot preemptions have discouraged users from using them to host model replicas when serving AI models.To address this, we propose a simple yet efficient policy, SpotHedge, that leverages spot replicas across different failure domains (e.g., regions and clouds) to ensure availability, lower costs, and high service quality. SpotHedge intelligently spreads spot replicas across different regions and clouds to improve availability and reduce correlated preemptions, overprovisions cheap spot replicas than required as a safeguard against possible preemptions, and dynamically falls back to on-demand replicas when spot replicas become unavailable. We built SkyServe, a system leveraging SpotHedge to efficiently serve AI models over a mixture of spot and on-demand replicas across regions and clouds. We compared SkyServe with both research and production systems on real AI workloads: SkyServe reduces cost by 43% on average while achieving high resource availability compared to using on-demand replicas. Additionally, SkyServe improves P50, P90, and P99 latency by 2.3, 2.1, 2.1 on average compared to other research and production systems.
View on arXiv@article{mao2025_2411.01438, title={ SkyServe: Serving AI Models across Regions and Clouds with Spot Instances }, author={ Ziming Mao and Tian Xia and Zhanghao Wu and Wei-Lin Chiang and Tyler Griggs and Romil Bhardwaj and Zongheng Yang and Scott Shenker and Ion Stoica }, journal={arXiv preprint arXiv:2411.01438}, year={ 2025 } }