04 · 8 resources
Streaming and low-latency synthesis
Learning path: Stream it
This is the section the rest of the field explains worst, and the one an agent builder needs most. For a voice agent, naturalness you cannot start playing in under 200 ms is naturalness the caller never hears. The metric that governs this section is time-to-first-byte (TTFB), the delay between sending text and receiving the first chunk of playable audio, not the total time to synthesize the full utterance. A model with beautiful output and a 900 ms first byte loses to a plainer model that starts speaking at 90 ms, every time, on a live call.
Read this section as three questions in order: how does streaming TTS actually work, how do you stop it mid-word when the caller interrupts, and how do you measure any of it honestly.
The streaming taxonomy
Not all streaming is the same, and the differences decide whether your agent can interrupt cleanly. There are three levels, and providers rarely tell you which one they ship.
- Intermediate Streaming TTS for Low-Latency Agents (Picovoice): The clearest taxonomy of the three streaming modes. Single-shot returns the whole file after full synthesis. Output-streaming returns audio in chunks as it synthesizes, but needs the full text up front. Dual-streaming (input and output streaming) accepts text token-by-token from the LLM while it streams audio out, which is what lets synthesis begin before the LLM has finished its sentence. For agents, dual-streaming is the target, because it hides TTS latency inside LLM generation.
- Beginner Front-end versus model latency: TTFB is the sum of text normalization and grapheme-to-phoneme on the front-end plus first-chunk generation in the model. Streaming architectures attack the second, so a slow front-end can still add tens of milliseconds before the model ever runs.
- Intermediate Chunking the LLM stream for TTS (Pipecat): How you segment the LLM output stream into synthesis units changes both latency and prosody. Sentence-boundary aggregation gives the best prosody and the worst latency; clause or phrase streaming trades a little naturalness for a much earlier first byte.
Mid-stream cancellation and barge-in
The moment a caller interrupts, the audio already buffered has to stop within roughly 60 ms or the agent sounds like it talked over them. This is a TTS capability, not a turn-taking one: your provider either supports killing an in-flight synthesis stream or it does not, and you cannot know from the marketing page. Deciding that an interruption happened is a separate turn-detection problem; this subsection is only about stopping the sound once that decision is made.
- Intermediate WebSocket versus REST for TTS (Deepgram): Cancellation support varies by provider and by transport. WebSocket streaming generally allows a mid-stream flush; HTTP chunked responses often do not cancel cleanly, leaving buffered audio to drain. Test cancellation latency directly before you commit to a provider, because it is rarely documented; note the commercial author.
- Intermediate Buffer draining: most voice gateways hold 200 to 400 ms of TTS audio for jitter resilience, and on a barge-in that buffer has to flush, not play out. The flush is where the perceived interruption latency actually lives, so measure it end to end and not just at the synthesis API.
- Beginner Cartesia Sonic docs: Sonic streams over WebSocket with sub-100 ms first byte and supports mid-stream cancellation, which is why it is a common agent pick. Read the streaming and cancellation pages specifically, not the model overview.
- Beginner Deepgram Aura-2: Low-latency streaming TTS that pairs with Deepgram STT and Flux turn detection for a single-vendor cancellation path.
Provider streaming capabilities
A comparison table is the fastest way for a reader to pick. Keep the columns honest and measurable: real published TTFB, streaming mode from the taxonomy above, cancellation support, and transport. Do not reprint vendor latency claims without noting they are vendor claims.
| Provider | Streaming mode | Published TTFB | Mid-stream cancel | Transport |
|---|---|---|---|---|
| Cartesia Sonic | Dual-streaming | Sub-100 ms (vendor) | Yes | WebSocket |
| ElevenLabs Flash | Output-streaming | Sub-150 ms (vendor) | Yes | WebSocket |
| Deepgram Aura-2 | Output-streaming | Low (vendor) | Yes | WebSocket |
| Rime (Mist v3) | Output-streaming | ~37 ms TTFA (vendor) | Yes | WebSocket |
| OpenAI Speech API | Output-streaming | Unpublished | No (close connection) | HTTP |
| OpenAI Realtime API | Dual-streaming | Unpublished | Yes | WebRTC / WS |
Every latency figure above is a vendor claim until you measure it on your own traffic and your own network path. Treat this table as a starting shortlist, not a verdict. The methodology to replace these numbers with your own is in the next subsection.
Benchmarking TTFB yourself
The through-line of this whole list is that vendor benchmarks are tuned to flatter the vendor, and TTFB is where that distortion is worst, because it is measured under ideal network conditions the vendor controls. The only number you can trust is the one you produce against your own text, from your own region, over your real transport.
- Intermediate Best Text-to-Speech Providers in 2026 (Coval): Independent head-to-head of TTS providers on latency, naturalness, and cost, with the explicit argument that vendor benchmarks lie. Note the commercial author, and read it for the methodology as much as the rankings.
- Beginner Artificial Analysis: TTS leaderboard: Independent ELO, price, and speed comparison across providers. The closest thing to a neutral scoreboard, though ELO on naturalness is not TTFB on your traffic.
- Intermediate text-to-speech-benchmark (Picovoice): Open-source, extensible harness that measures time-to-first-byte across cloud and on-device TTS engines, so you can reproduce latency numbers on your own text and hardware; note the commercial author.
- Intermediate Measure it yourself: send a fixed set of representative utterances, timestamp the request and the first audio byte at your application layer, and report the p50 and p95 rather than the best run. First byte, not full synthesis. From your production region, not a benchmark VM.