Scaling real-time text-to-speech inference | Decagon
Aug 20, 2026
Summary
This post details the technical implementation of scaling real-time text-to-speech inference by rebuilding the pipeline on the M* modular inference framework. It introduces stage decomposition (packed prefill, latent generation, waveform decoding), paged KV caching, continuous batching of ready work, isolating causal decoder history, and chaining context across clauses. The use of CUDA Graphs for replaying common GPU operations is also discussed, along with the tradeoffs involved in capturing different batch sizes and prompt lengths. Performance metrics show significant improvements in TTFA, end-to-end latency, RTF, audio throughput, and request throughput compared to sequential and interleaved approaches, and outperform vLLM-Omni.
More from the Real-time Text-to-Speech Inference Scaling trail
- How we made one of our largest inference workloads 4.7× more GPU-efficient | Decagon
- Teaching flow-matching text-to-speech models with RL | Decagon
- How Decagon shipped real-time voice AI on Modal | Decagon
- Introducing Voice 3 and Chord, our new speech model | Decagon
- Introducing Chord: a speech model built for customer conversations | Decagon