OpenAI API · api · fg-0140

Realtime sessions opened with the OpenAI-Beta: realtime=v1 header stopped connecting in May 2026

Voice agent built on the Realtime beta fails to open a session

Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100

Cause

The Realtime API beta interface, selected with the OpenAI-Beta: realtime=v1 header, shut down on 2026-05-12, and the gpt-4o realtime and audio preview models were retired on 2026-05-07.

Fix

Remove the beta header, move to a GA realtime model, and retest every client event your code sends and handles against the GA reference.

Apply

const ws = new WebSocket('wss://api.openai.com/v1/realtime?model=gpt-realtime-2.1', {
  headers: { Authorization: `Bearer ${process.env.OPENAI_API_KEY}` }, // no OpenAI-Beta header
});

Affects: OpenAI Realtime API beta, shut down 2026-05-12; preview realtime and audio models retired 2026-05-07

Sources

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp