OpenAI Engineering Blog: The Tricks of Low-Latency Voice at Scale

1 views

OpenAI published an engineering piece on how it pushes voice-conversation latency down to natural-conversation levels under heavy concurrency. The details are valuable reference for anyone building real-time applications.

The Hard Technical Bones

The passing bar for voice conversation is demanding: humans tolerate pauses on the order of a few hundred milliseconds, and anything over a second feels like the other party is slow on the uptake. The piece breaks down the various sources of latency—audio transport, voice activity detection, model inference, speech synthesis—and every segment has to be scraped down. The most notable direction is replacing the three-stage "speech-to-text, think, text-to-speech" pipeline with an end-to-end voice model; cutting out the intermediate links both lowers latency and preserves tone-of-voice information. Layering on streaming and inference-scheduling optimizations is what finally compresses the whole chain into a range that feels natural.

The Real Cost Structure

Setting aside the promotional gloss, the value of this kind of engineering blog is that it shows its underside: low-latency voice eats resources entirely different from text—persistent connections, real-time scheduling, capacity reserved for peaks—and every one of them is expensive. This also explains why voice features are generally priced high, and where the opportunities and traps lie for startups: building a demo-grade voice app is easy; holding down latency and cost at the same time is the hard part. Teams building voice interaction can hold it up against their own architecture and give it a read.

via: Hacker News