
OpenAI Realtime API
Speech-to-speech API for building low-latency voice assistants
What is OpenAI Realtime API?
The OpenAI Realtime API is a developer API for speech-to-speech voice agents. Models such as gpt-realtime-2.1 work directly with audio, keep conversation state, and call tools, so apps can hold low-latency spoken conversations. Browsers connect over WebRTC with short-lived client secrets, servers over WebSocket, and phone calls can be routed in over SIP through a trunking provider.
Best for
- Building voice assistants for apps
- Answering phone calls with an AI agent
- Adding spoken conversation to web pages
Key features
- WebRTC, WebSocket and SIP connections
- Text, audio and image input
- Function calling and tool use
- Voice activity detection
- Call transfer and hang-up controls for SIP
- Full and mini model sizes
Limitations
- Realtime models work only on the Realtime endpoint, not Chat Completions, Responses or Batch.
- gpt-realtime-2.1 has a 128,000-token context window and rate limits that depend on the account's usage tier.
Pricing
Usage is billed per million tokens, with separate input, output and cached-input rates for audio, text and image, and cheaper mini models. Check the official site for current prices.
Based on OpenAI Realtime API's official pages, checked November 2026: developers.openai.com
0 insights
OpenAI Realtime API questions
What is OpenAI Realtime API?
The OpenAI Realtime API is a developer API for speech-to-speech voice agents. Models such as gpt-realtime-2.1 work directly with audio, keep conversation state, and call tools, so apps can hold low-latency spoken conversations. Browsers connect over WebRTC with short-lived client secrets, servers over WebSocket, and phone calls can be routed in over SIP through a trunking provider.
Who makes OpenAI Realtime API?
OpenAI Realtime API is made by OpenAI.
Is OpenAI Realtime API free?
Usage is billed per million tokens, with separate input, output and cached-input rates for audio, text and image, and cheaper mini models. Check the official site for current prices.
What are some alternatives to OpenAI Realtime API?
Popular alternatives on Which AI Works include ElevenLabs, NotebookLM, Suno, Udio and Whisper.