cs.DCSep 4, 2026

Pushing CPU Speech Synthesis to the Wall: Extreme Inference Tuning under Serverless Architecture and Billing

Authors: Pakorn Nathong, Kunat Pipatanakul

Organizations: Paxa Labs

Abstract

Instance-billed serverless platforms charge for CPU and memory over the lifetime of a warm instance, making idle inference state a direct serving cost. We present billing-aware neural text-to-speech (TTS) serving on serverless CPUs, optimizing CPU-seconds and GB-seconds rather than throughput or latency alone. Conventional runtimes are poorly suited to this setting: per-request parallelism causes CPU contention under concurrency, while warm instances retain gigabytes of billable inference and page-cache state. We address these costs with request-sized concurrent inference, which bounds per-request CPU parallelism, and a reclaimable instance lifecycle, which releases inference state and page-cache memory after idle periods while retaining the server process and compile cache. On Kokoro-82M, our system achieves 2.71 audio-seconds per CPU-second versus 0.89 with ONNX Runtime defaults and reduces cost per audio-hour from 0.0631withPyTorchto0.0631 with PyTorch to 0.0153, a 4.1x reduction. Idle billed memory falls from 8.7 GB to 1.33 GB, while restoration reaches first audio in 2.2 s versus 7.7 s for a PyTorch cold start. Under bursty traffic, lifecycle reclamation is essential for translating inference efficiency into lower serverless cost.

Figures & tables

Explore similar work

CardsList
  1. ServerlessT2I: Efficient Text-to-Image Workflow Serving on a Serverless Platform

    Jul 29, 2026Xiaoxiao Jiang, Suyi Li, Sheng Yao +5Efficient Neural Network InferenceT2I Generation

  2. TinyAudio: Compact and Efficient Text-to-Audio Generation for Low-Resource Deployment

    Sep 25, 2026Junxi Liu, Xiquan Li, Wenhao Guan +5Text-to-Audio Generation