OpenAI-Beta: realtime=v1 — Retired
- Deprecated
- —
- Shutdown
- 2026-05-07
- Status
- deprecated
- Replacement
- Realtime API
Quick fix — copy & paste
Choose your language. The "before" block matches the deprecated call; the "after" block is the drop-in replacement.
# OpenAI: OpenAI-Beta: realtime=v1 (deprecated)
model = "OpenAI-Beta: realtime=v1" # Replacement
model = "Realtime API" // OpenAI: OpenAI-Beta: realtime=v1 (deprecated)
const model = "OpenAI-Beta: realtime=v1"; // Replacement
const model = "Realtime API"; "model": "OpenAI-Beta: realtime=v1" "model": "Realtime API" This migration was generated automatically from the model rename. If your code does more than swap a model id, double-check request/response shapes against the official OpenAI migration guide.
Error messages
Seeing one of these? You're in the right place.
-
model_not_found: OpenAI-Beta: realtime=v1 -
The model `OpenAI-Beta: realtime=v1` has been deprecated -
The model `OpenAI-Beta: realtime=v1` does not exist or you do not have access to it
Replacement options
-
Realtime APICompare token cost →
Other OpenAI deprecations
What this means for your code
OpenAI-Beta: realtime=v1 is a realtime model used over a WebSocket or WebRTC for low-latency speech-to-speech. Realtime models maintain stateful sessions over a persistent connection. Migrating means updating session.update events, tool definitions, and any custom turn-detection logic. Pricing is per minute of input and output audio.
OpenAI-Beta: realtime=v1 was retired by OpenAI on 2026-05-07. API calls now return an error and the model is no longer accessible. New code should use Realtime API; legacy code that still references this model id needs to be updated immediately.
Find every call in your codebase
Before you change anything, locate every place the deprecated model id is referenced. Search source files, environment files, feature flags, and config repos. Use these commands from your project root:
Python projects
grep -rn '"OpenAI-Beta: realtime=v1"' --include="*.py" . JavaScript / TypeScript projects
grep -rn '"OpenAI-Beta: realtime=v1"' --include="*.{js,ts,tsx,jsx}" . Anywhere (configs, scripts, infra)
grep -rn "OpenAI-Beta: realtime=v1" . Migration checklist
Steps in order. Skip any that don't apply, but read the whole list — for realtime models, the non-obvious steps are usually the ones that break in production.
- 1. Update the model id in your session.update event payload
- 2. Verify supported voices and modalities (audio, text) on the new model
- 3. Re-test turn detection (server VAD vs none) and interruption handling
- 4. Audit tool definitions — function calling schema may have changed
- 5. Reconnect logic should fall back to a still-supported model on session failure
Will this migration cost more?
Switching from OpenAI-Beta: realtime=v1 to Realtime API could change your costs significantly. Calculate the exact difference for your prompts.
Open the cost calculator →