Curated summary
How we built a realtime system for responsive voice AI in six months
How OpenAI Built GPT‑Live: A Realtime Voice System Engineered Around Continuous Audio
OpenAI's GPT‑Live replaces the turn-based design of earlier voice assistants with a full-duplex voice model that listens and speaks at the same time, with no separate turn detector in the audio path. Frontier models such as GPT‑5.5 are consulted asynchronously for deeper reasoning and tool use, so the conversation never pauses for them. Delivering this required rethinking inference, context management, delegation, transport, and session startup so that every layer keeps audio flowing on schedule.
Why Turn-Based Voice Fell Short
- Earlier systems used small turn detectors to decide when the user had finished speaking. Guessing too early cut users off, and guessing too late made responses feel sluggish.
- Cascaded pipelines ran speech-to-text, the LLM, and text-to-speech in series, adding latency and discarding cues like tone and pacing.
- Speech-to-speech models improved fidelity, but they still waited on a turn detector, so the interaction remained turn-based.
Streaming Inference and Continuous Media
- Audio streams into the voice model and speech streams back out, rather than being handled as discrete request-response blobs.
- A dedicated fast path carries media, while delegation, tool calls, and persistence run behind an asynchronous RPC boundary. A slow tool can delay its own result but cannot stall audio.
- The media frontend and inference logic were rewritten from Python asyncio to Go, bringing the p95 frame delivery time in line with the previous system's p50.
- WebRTC handles transport. Under late packets it stretches audio to avoid gaps, then briefly speeds playback to catch up to real time.
Stateful Handoffs and Context Compaction
- Long sessions outgrow context limits, and model instances scale up and down with demand. To handle this, a replacement instance is warmed and prefilled with current session context, runs in parallel with the original, and takes over once ready.
- Compaction is treated as another managed transition. Shrinking context invalidates the KV cache, which would normally force a costly re-prefill. Instead, the system prepares a compacted replacement in the background and switches over without interrupting media.
Delegation Without Blocking the Conversation
- The frontier model's session is created and prefilled with initial context when the voice session starts, so the prompt is already processed when the first delegated request arrives.
- Session affinity and prompt caching keep latency low, and worker failures remain recoverable.
- Reasoning effort, output limits, tool schemas, and model-tool round trips were tuned to shorten the time until a useful result returns.
- Because the rest of ChatGPT expects discrete messages, the application server converts continuous speech into turns. It uses partial transcripts and timing signals to infer the speaker, keeps the newest message provisional, and finalizes it once attribution is reliable.
- Two views are maintained: a speculative view for the live UI and an authoritative transcript for analytics and safety logging. Brief acknowledgments like "mm hmm" are generally not promoted to their own messages, while substantive interjections often are.
Faster Session Startup with WARP and Instant Connect
- A vanilla WebRTC session needs several handshakes and round trips before media flows. WARP (WebRTC Abridged Roundtrip Protocol) cuts media and data startup from six round trips to one. It does this by piggybacking DTLS on ICE (SPED), using DTLS 1.3, pre-negotiating SCTP (SNAP), and pre-negotiating data channels instead of using DCEP.
- These are open specifications, being advanced through the IETF TSVWG working group. WARP support has been added to libwebrtc and Pion.
- Instant Connect negotiates SDP parameters ahead of time without reserving server capacity. The server materializes the session on the first media packet if the parameters are valid, and falls back to the standard signaling flow with no added latency if they are stale.
- Together, these let a client start a session with a single UDP packet.
Testing in Production Before Launch
- A silent shadow test routed a growing share of real ChatGPT Voice sessions to GPT‑Live, which ran read-only while Advanced Voice Mode continued serving users. This exposed the system to real networks, session lengths, and geographies without changing what users heard.
- Capacity could not be measured by GPU throughput alone. CPU-side stream handlers, queues, and network paths saturated earlier than load tests predicted. The capacity question became how many concurrent sessions could keep every frame on schedule.
- Geography mattered. Routing sessions to distant capacity added delay at several points, so rollouts were validated alongside regional capacity and traffic-steering configuration.
- Long sessions, reconnects, and client disconnects surfaced memory pressure, state-restoration issues, and shutdown races that short load tests missed.
- The team added finer-grained telemetry, validated configurations against known-good baselines, ramped traffic in stages, and built the ability to isolate or disable individual paths quickly.
Conclusion
The central lesson is that voice responsiveness depends on every component in the path, not just the model. Streaming inference, a dedicated media path, asynchronous delegation, and optimized transport work together to keep conversation feeling live. The same architecture is expected to underpin the forthcoming GPT‑Live API and broader agentic voice experiences.
Related reading
Continue with another curated summary.
OpenAI2026-05-03 How OpenAI delivers low-latency voice AI at scale
Read original
OpenAI2026-08-24 Jalapeño’s first results show industry-leading speed and efficiency in AI inference
Read original
OpenAI2026-07-28 How GPT-5.6 fuses frontier intelligence with frontier efficiency
Read original
OpenAI2016-12-04 Universe
Read original