text to speech latency

Latency is the wait before speech starts. Here is what drives it and how to cut it.

  • First-byte latency is the key metric
  • Streaming reaches sub-300ms first byte
  • File synthesis waits for the full render
  • Matters most for real-time apps

definition

Text-to-speech latency is the delay between sending text and hearing speech. For anything live, the number that counts is first-byte latency: the time until the first chunk of audio arrives. A low first-byte time is what makes a voice interaction feel immediate instead of laggy.

first-byte-vs-total

There are two clocks. First-byte latency is how long until playback can start. Total render time is how long until the whole clip is ready. For a real-time app, first-byte is what the user feels. For pre-rendered content, total time is what matters. Streaming optimizes the first; file synthesis optimizes for a finished file.

how-to-cut-it

Use streaming. It returns audio in chunks as the model generates them, so the client plays the opening while the remainder is still being produced. That overlap collapses the perceived wait to the sub-300ms first-byte time rather than the full render.

where-it-matters

Voice agents, live read-aloud, and interactive alerts all depend on low first-byte latency; a pause before speech reads as a fault. An audiobook pipeline cares less, because nobody is waiting live. Match the mode to the use case. See the streaming guide.

FAQ

Frequently asked questions

What is text-to-speech latency?
TTS latency is the delay between sending text and hearing speech. The metric that matters for live apps is first-byte latency: how long until the first chunk of audio arrives. With streaming, first-byte latency is under 300ms, so playback starts almost immediately rather than after the whole clip renders.
How do I reduce TTS latency?
Use the streaming endpoint instead of file synthesis. Streaming returns audio in chunks as it generates, so the client plays the start while the rest is still being produced. That drops the perceived wait to the sub-300ms first-byte time instead of the full render time.
When does latency matter most?
It matters most in real-time experiences: voice agents, live read-aloud, and interactive notifications. In those, any wait before speech feels like a broken pause. For pre-rendered content like an audiobook, total render time matters more than first-byte latency.

Start building

Latency is the wait before speech starts. Here is what drives it and how to cut it.