Overview of Azure OpenAI /realtime API
mainThe /realtime API is a low-latency, WebSocket-based endpoint designed for "speech in, speech out" conversational interactions using the gpt-4o-realtime-preview model family. It supports text messages, function tool calling, and asynchronous streaming communication.
Important Architecture Note: The API is designed to be used via a trusted, intermediate service (a "middle tier") that manages connections between end users and the model. It is not intended to be used directly from untrusted end-user devices. The API handles model communication, while the middle tier handles user-side audio capture, rendering, and authentication.