How OpenAI delivers low-latency voice AI at scale

AI-generated summary of reporting by OpenAI News. Read the original for the full story.

Why it matters

OpenAI's real-time voice stack now routes media through a stateless relay to stateful transceivers, a pattern other teams running WebRTC on Kubernetes may copy for scaling audio agents.

Read this as

OpenAI rebuilt the plumbing behind ChatGPT's voice mode and its Realtime API, which serves over 900 million weekly users. Voice feels natural only when replies are instant, so the company redesigned how audio packets travel through its servers to cut delays and stutter. Instead of each conversation needing its own public network port, a lightweight 'relay' now forwards traffic to the server that owns the call. This makes the voice assistant faster to connect and steadier worldwide.

OpenAI published a deep dive into rearchitecting its WebRTC stack for ChatGPT voice and the Realtime API, products serving 900 million-plus weekly users. The old one-port-per-session model clashed with Kubernetes autoscaling, so the company split routing from session handling and added a globally distributed relay layer to shorten the first network hop. Builders on the Realtime API benefit from faster, more stable connections; competitors' voice agents are the relative losers. No costs or benchmark timings are disclosed.

OpenAI replaced one-port-per-session WebRTC termination with a two-tier design: a stateless Go relay forwards UDP packets to a stateful transceiver (built on Pion) that owns ICE, DTLS and SRTP state. Routing is protocol-native, the server-generated ICE ufrag embeds a routing hint decoded from the first STUN binding request; a Redis cache maps client to transceiver for recovery. A single shared UDP socket per transceiver and a small public surface via relay VIPs (e.g. 203.0.113.10:3478) fit Kubernetes; Cloudflare geo steering plus a Global Relay fleet minimize first-hop RTT. No latency numbers or benchmarks are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

ChatGPT voice Realtime API WebRTC Pion Global Relay Cloudflare

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading