Real-Time Voice Assistants and Why Speed Matters
You ask a voice assistant a question, and it answers out loud. You cut in halfway, and it stops to listen. It feels like a conversation.
Behind that conversation, the system has to hear you, understand you, think of a reply, and speak it. All of that has to happen in about the time a person takes to answer. This lesson explains the two main ways voice assistants are built, and why latency, the delay before a reply, matters more than almost anything else.
What You'll Learn
- The classic three-step voice assistant pipeline
- What speech-to-speech models do differently
- What latency is and why small delays feel big
- How systems know when you have stopped talking
- What each design is good and bad at
The classic pipeline: three models in a row
The first way to build a voice assistant chains together the ideas from the first two lessons, with a language model in the middle.
- Speech to textYour voice becomes a transcript
- Language modelReads the text and writes a reply
- Text to speechThe reply is spoken out loud
This design is simple to understand and easy to change. You can swap in a better speech recognizer or a different voice without touching the rest. You can also read the transcript and the reply as text, which makes it easier to check what went wrong.
It has two weak points.
- Delay adds up. Each step takes time, and the next step often waits for the one before it.
- Tone gets lost. The middle model only sees text. If you sound annoyed, rushed, or unsure, that is gone by the time your words reach it. It also cannot laugh, change its tone on purpose, or hear that you are whispering.
Speech-to-speech: one model that hears and speaks
The second way uses a single model that works with audio directly. It takes in your speech and produces spoken audio, without turning everything into plain text in between. These are often called speech-to-speech or native audio models.
Many of them work like a chatbot that also understands sound. They turn audio into audio tokens, small chunks of sound written as numbers, and predict the next tokens. The Multimodal AI Basics course explains how one model can handle text, images, and audio together.
Because the model hears the sound itself, it can pick up on tone, hesitation, and emotion. It can also reply with more natural tone of its own. And because there is less handing work from one model to the next, it can answer faster.
The trade-offs are real too. It is harder to see what the model "heard," harder to swap parts, and often more costly to run. Many products still use the pipeline, or a mix of both.
Both designs are common. Many products mix them.
| Criteria | Pipeline (3 models) | Speech-to-speech (1 model) |
|---|---|---|
| How it works | Speech to text, then text model, then text to speech | One model takes in audio and gives back audio |
| Hears your tone | No, only your words | Yes, it hears the sound itself |
| Speed | Slower, delays add up | Often faster |
| Easy to check and change | Yes, text at every step | Harder to inspect |
Pipeline (3 models)
- How it works
- Speech to text, then text model, then text to speech
- Hears your tone
- No, only your words
- Speed
- Slower, delays add up
- Easy to check and change
- Yes, text at every step
Speech-to-speech (1 model)
- How it works
- One model takes in audio and gives back audio
- Hears your tone
- Yes, it hears the sound itself
- Speed
- Often faster
- Easy to check and change
- Harder to inspect
Latency: why a short pause feels long
Latency is the time between when you stop talking and when the assistant starts answering.
In normal conversation, people answer each other very fast, often in well under a second. We notice small delays. A pause of one or two seconds on a phone call makes us think the line dropped or the other person is confused. We start talking again, and now both sides are talking at once.
So a voice assistant that gives a perfect answer after three seconds can feel worse than one that gives a good answer in half a second. For voice, speed is part of quality.
Here is where the time goes in a pipeline:
- Waiting to be sure you have finished speaking.
- Turning your speech into text.
- The language model thinking and writing the reply.
- Turning the first part of the reply into sound.
- Sending audio over the network both ways.
Tricks that cut the delay
Builders use a few common tricks:
- Streaming. Do not wait for each step to finish. Start speaking the first sentence of the reply while the model is still writing the rest.
- Smaller, faster models for the parts that need speed.
- Filler sounds, like a short "mm" or "let me check," so silence does not feel like a broken line.
- Running nearby. Processing closer to the user, or on the device, cuts network time.
Each trick has a cost. A faster model may give weaker answers. Speaking before the full reply is written means the assistant cannot easily take back its first sentence.
Knowing when it is your turn
A hard problem in voice AI is turn-taking: knowing when you have finished speaking.
The simplest method is voice activity detection, which listens for silence. When you stop making sound for a short time, the system assumes you are done. But people pause mid-sentence to think. If the system waits too little, it cuts you off. If it waits too long, every reply feels slow.
Better systems also look at what you said. "I want to book a flight to" is clearly unfinished, even with a pause. Some speech-to-speech models handle this more naturally because they hear the rhythm of your voice.
The opposite problem is barge-in: you start talking while the assistant is speaking. A good system stops quickly and listens. A weak one keeps talking over you, or hears its own voice from your speaker and gets confused.
Key Takeaways
- The classic voice assistant is a pipeline: speech-to-text, then a language model, then text-to-speech.
- Pipelines are easy to check and change, but delays add up and the middle model loses your tone.
- Speech-to-speech models take in audio and give back audio, so they can hear tone and often reply faster, but are harder to inspect.
- Latency is the pause before a reply. In voice, speed is part of quality, because people notice delays of even a second or two.
- Streaming, faster models, and filler sounds cut the wait, each with trade-offs.
- Turn-taking and barge-in are hard: the system must guess when you are done and stop when you interrupt.
Quiz
Up next ยท Lesson 4 of 5
Voice Cloning: Why a Short Sample Is Enough
5 min read
3 of 5 lessons done

