AIToday
Audio & SpeechAI Business & IndustryOpenAI BlogPublished: May 5, 2026, 04:00 JST

OpenAI rearchitects WebRTC stack for low-latency voice AI

Send on LINE

3 Key Points

  1. What happened

    OpenAI rebuilt its WebRTC stack to support real-time voice AI for more than 900 million weekly active users, using a split relay plus transceiver architecture. The relay handles packet routing globally, while the transceiver owns WebRTC session state. The company chose this SFU-less design because most of its sessions are point-to-point and latency-sensitive.

  2. Why it matters

    The old one-port-per-session model didn't fit OpenAI's Kubernetes infrastructure well, requiring large UDP port ranges that were hard to expose and secure. The new design keeps standard WebRTC behavior for clients while reducing the public UDP surface area, which is easier to secure and load balance, and enables global ingress points closer to users.

  1. What to watch

    The architecture's success hinges on maintaining low latency and reliability at global scale, especially as voice AI usage grows among ChatGPT voice, the Realtime API, and research projects. The team's choice to route on ICE credentials (a standard WebRTC identifier) and use geo-steered signaling is key to reducing how long users wait before speech can start.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

OpenAI's decision to rearchitect its WebRTC stack stems from its unique workload: most sessions are one-to-one, latency-sensitive conversations between a user and a model or agent. Unlike group calling, where a selective forwarding unit (SFU) is a good fit, this shape of traffic benefits from a simpler transceiver model where backend services can scale like ordinary services rather than acting as WebRTC peers. The team explicitly notes that this SFU-less design was the right default for their needs, a validation that came after building on the work of WebRTC pioneers Justin Uberti and Sean DuBois, who are now OpenAI colleagues.

The relay plus transceiver split is notable because it preserves the client-facing WebRTC protocol entirely, keeping browser and mobile interoperability intact, while giving OpenAI internal control over routing. Encoding routing metadata into the protocol-native ICE ufrag field allowed for deterministic first-packet routing without a hot-path lookup, and using a Redis cache for recovery makes the system resilient to relay restarts. This approach of adding complexity only in a thin routing layer is a deliberate design philosophy that contrasts with more complex kernel bypass frameworks.

The stakes going forward lie in how well this architecture sustains its performance as voice AI interactions grow and diversify across products. While the infrastructure appears well-suited for current point-to-point workloads, its flexibility for future extensions like human handoff or multiparty scenarios may be tested. The design's reliance on standard WebRTC semantics also means OpenAI benefits from ongoing ecosystem improvements, limiting its exposure to custom protocol drift.

FAQ
What is WebRTC and why is it important for voice AI?
WebRTC is an open standard for sending low-latency audio, video, and data between browsers, mobile apps, and servers. It standardizes connectivity, encryption, codec negotiation, and quality control, which is essential for natural conversational turn-taking in voice AI products like ChatGPT voice.
What was the main problem OpenAI solved?
OpenAI needed to run WebRTC media on Kubernetes without exposing thousands of UDP ports per service. The one-port-per-session model was difficult to secure, load balance, and autoscale, so they built a relay layer that forwards packets to the owning transceiver, which keeps all session state.
How does the new architecture reduce latency?
Global Relay places packet ingress points geographically close to users, shortening the first hop. Geo-steered signaling ensures the initial request reaches a nearby transceiver cluster. The relay also uses routing hints encoded in the ICE ufrag for fast first-packet routing.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGoogle announced major AI updates in April 2026, including the Gemini Enterprise Agent Platform, eighth-generation TPUs, Gemma 4 open model, and free Google Vids video generation.