Skip to main content
OpenAI Realtime is a speech-to-speech model. It handles transcription, reasoning, and voice synthesis end-to-end in a single model, so it goes in the pipeline’s llm slot with no separate STT or TTS. The Pipeline auto-detects Realtime mode when you pass it.

Setup

Set your OpenAI API key in the worker environment. Generate a key from the OpenAI dashboard:

Usage

Pass the realtime model to the pipeline’s llm slot, no stt or tts needed.

Configuration

OpenAIRealtime constructor and OpenAIRealtimeConfig fields for the Python SDK. The JavaScript SDK passes the same settings via the flat config object; the Go SDK via RealtimeOptions.

Constructor

OpenAIRealtimeConfig

Import paths

To pair the realtime model with an external STT or TTS, see Hybrid mode.