For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
GPT-Live

Evolution of voice agents

Let’s take a look at how voice systems have evolved, so we can better understand what makes GPT-Live different.

Cascaded voice systems

Our earliest voice systems used what’s called a cascaded approach, which chains three models together.

  1. A speech-to-text model converts what you say into text.
  2. A language model uses that text to generate a response.
  3. A text-to-speech model turns the response back into speech.
Audio passes through speech-to-text, a language model, and text-to-speech. The language model receives and produces text.Speech to textLanguage modelText to speechAudioAudioTextTextAudio passes through speech-to-text, a language model, and text-to-speech. The language model receives and produces text.Speech to textLanguage modelText to speechAudioAudioTextText

Let’s look at an example below.

0:00 / 0:17
Transcript

0:00 User Hey, can you give me some options for lunch?

0:05 Assistant Sure. How about a grilled chicken salad with lots of fresh veggies—

0:09 User Mm-hmm.

0:13 Assistant Got it. Want me to keep the ideas simple, or maybe something quick to make?

While this approach let us talk to models for the first time, as you can see from the example above, it has a few limitations.

First, each handoff adds delay, so the responses can sound slow and stilted.

Second, the conversation is turn-based. The system needs to decide when you’ve finished speaking so it can respond. It can use voice activity detection, or VAD, to detect silence. More advanced approaches also consider whether what you’ve said sounds complete.

Finally, the language model only sees a transcript, so it misses some of the tone and emphasis in your voice. Think of how the same words can sound sincere or sarcastic depending on how you say them.

Realtime voice models

The next generation, the GPT Realtime family, brought those steps into a single model that can process and generate audio, reason about a request, and choose tools. That removes the handoffs between separate models and preserves more of the nuance in the audio.

One GPT Realtime model handles audio, reasoning, and tool calls. The user and model exchange audio in turns.Input audioOutput audioUserGPT RealtimeReasoning + tool callsOne GPT Realtime model handles audio, reasoning, and tool calls. The user and model exchange audio in turns.Input audioOutput audioUserGPT RealtimeReasoning + tool calls

Let’s look at the same exchange with a Realtime model.

0:00 / 0:11
Transcript

0:00 User Hey, can you give me a few ideas for lunch?

0:03 Realtime Try a hummus and veggie wrap with avocado and—

0:05 User Mm-hmm.

0:08 Realtime If you want, I can tailor it to what you’ve got in the fridge or your mood.

As you can see, the responses felt faster since it’s a single model that is processing and generating audio.

The limitation is that it still operates through discrete turns, using voice activity detection to decide when you’ve finished speaking so the model can respond.

Getting that timing right can be difficult: a pause while you’re thinking might trigger a response too early, or an acknowledgment might stop the agent when you were just following along.

GPT-Live

The GPT-Live series addresses these limitations through two key architectural changes.

  1. GPT-Live can listen and speak at the same time, which we call full duplex. It keeps processing what it hears while it’s talking, so it can decide whether to continue, pause, or respond to what you’ve just said. It can also choose to interrupt you.

  2. GPT-Live can use delegation to hand off more complex work to a backend system or agent, and it can keep talking with you while that work happens in the background.

    This separation lets you use newer backend models as they become available without replacing the voice model. And if you’ve already built a text-based agent, you can connect GPT-Live to it so people can use your existing tools and workflows by voice.

User and GPT-Live exchange audio in both directions at the same time. GPT-Live delegates work to Backend system and receives an answer.Input audioOutput audioDelegate workReturn responseUserGPT-LiveBackend systemUser and GPT-Live exchange audio in both directions at the same time. GPT-Live delegates work to Backend system and receives an answer.Input audioOutput audioDelegate workReturn responseUserGPT-LiveBackend system

Let’s look at the same exchange with a GPT-Live model.

User
GPT-Live
0:00 / 0:18
Transcript

0:00 User Hey, can you give me a few options for lunch?

0:03 GPT-Live Sure. You could do something simple like

0:05 User Mm-hmm.

0:05 GPT-Live a grilled chicken salad with crunchy veggies, a warm quinoa bowl with—

0:08 User Wait, does that involve me cooking? Like, I don’t want to have to grill or whatever.

0:13 GPT-Live There are other options. You could do something simple like a quick wrap…

Try it out

Use the prompt below to build an app that lets you switch between the three approaches and try the same conversation with each one.

Compare three voice approaches
@OpenAI Developers, build and run a local voice app that compares a cascaded speech-to-text, language model, and text-to-speech pipeline; Realtime; and GPT-Live (gpt-live-1.1). Let me switch between them using the same assistant instructions. Include ideas for scenarios that demonstrate the difference in the approaches.

In the next lesson, we’ll connect to GPT-Live and build our first voice application.