---
title: "How we built a realtime system for responsive voice AI in six months"
description: "GPT-Live replaces turn-detector-based voice AI with a full-duplex voice model that listens and speaks simultaneously, delegating deeper reasoning and tool use to frontier models like GPT-5.5 over an asynchronous RPC path that never blocks media."
url: "https://swe.quest/articles/how-we-built-a-realtime-system-for-responsive-voice-ai-in-six-months-00acf536a10a0c45"
canonical: "https://openai.com/index/continuous-voice-interaction-with-gpt-live"
source: "OpenAI"
published: "2026-08-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["inference","realtime","networking","speech-audio","system-design"]
---

# How we built a realtime system for responsive voice AI in six months

A post on [OpenAI](https://swe.quest/sources/openai.md), published 2026-08-03, 12 min read, Case study. Original: [https://openai.com/index/continuous-voice-interaction-with-gpt-live](https://openai.com/index/continuous-voice-interaction-with-gpt-live)

## Summary

GPT-Live replaces turn-detector-based voice AI with a full-duplex voice model that listens and speaks simultaneously, delegating deeper reasoning and tool use to frontier models like GPT-5.5 over an asynchronous RPC path that never blocks media. The system separates a Go-based media fast path (replacing Python asyncio, with new p95 matching old p50) from application logic. It uses warm model-instance handoffs to perform context compaction without KV-cache rebuild pauses, prefills frontier-model sessions at call start, and derives discrete turns from overlapping speech via speculative and authoritative transcript views. Startup is cut to a single UDP packet through WARP, a set of backward-compatible WebRTC changes that reduces handshakes from six round trips to one, plus Instant Connect for pre-negotiated SDP. Shadow testing on production traffic showed that capacity depends on concurrent sessions and CPU-side stream handling, not just GPU throughput.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Real-time systems](https://swe.quest/tags/realtime.md) (Backend & APIs)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [Speech & audio](https://swe.quest/tags/speech-audio.md) (AI & ML)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- WebRTC basics ([easy posts on Communications](https://swe.quest/tags/communications.md?difficulty=easy))
- LLM inference and KV cache ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- streaming audio ([easy posts on Stream processing](https://swe.quest/tags/stream-processing.md?difficulty=easy))

## Keywords

GPT-Live, WebRTC, WARP, DTLS 1.3, SCTP, Instant Connect, Pion, libwebrtc

## Related posts

- [How OpenAI delivers low-latency voice AI at scale](https://swe.quest/articles/how-openai-delivers-low-latency-voice-ai-at-scale-fa481a5234e95d30.md): OpenAI · 2026-05-04 · Hard · 13 min read · Networking, Real-time systems, Load balancing, Kubernetes, Speech & audio
  OpenAI rearchitected its WebRTC stack for ChatGPT voice and the Realtime API by splitting a stateless UDP relay from a stateful Go/Pion transceiver that owns ICE, DTLS and SRTP state.
- [FastRTC: The Real-Time Communication Library for Python](https://swe.quest/articles/fastrtc-the-real-time-communication-library-for-python-e889b4f612747a64.md): Hugging Face · 2025-02-25 · Medium · 6 min read · Speech & audio, Real-time systems, Python, LLMs
  FastRTC is a Python library for building real-time audio and video AI applications over WebRTC or WebSockets without needing WebRTC expertise.
- [How Together AI built the world’s fastest speech-to-text stack](https://swe.quest/articles/how-together-ai-built-the-world-s-fastest-speech-to-text-stack-b5ccd6ddea6a414d.md): Together AI · 2026-05-29 · Hard · 7 min read · Inference & serving, Speech & audio, Performance engineering, Python, Linux
  Speech-to-text serving is a full-path systems problem, because ASR models are small while audio inputs are large and need heavy CPU preprocessing.
- [One-second voice-to-voice latency with Modal, Pipecat, and open models](https://swe.quest/articles/one-second-voice-to-voice-latency-with-modal-pipecat-and-open-models-a0369eb06c4f6162.md): Modal · 2025-11-04 · Medium · 12 min read · Speech & audio, Inference & serving, Real-time systems, Performance engineering, RAG & retrieval
  A conversational voice bot on Modal reaches roughly one-second voice-to-voice latency.
- [How Decagon shipped real-time voice AI on Modal](https://swe.quest/articles/how-decagon-shipped-real-time-voice-ai-on-modal-b1a29f8666a68e7d.md): Modal · 2025-11-13 · Hard · 4 min read · Inference & serving, Model training, Speech & audio, LLMs, Performance engineering
  Decagon Voice 2.0 cut latency by 65% by replacing large frontier models with small open-source models fine-tuned through augmented multi-domain data, curriculum and mixed-objective SFT, and reinforcement learning.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
