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 config keys in both SDKs. The Python and Node JS SDKs share these field names.

Constructor

config keys

Import paths

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

Inference models

These OpenAI models also run through the Inference Gateway on your Zero Runtime auth token, with no OpenAI API key. Pass the model id to the same class imported from zeroruntime.inference. The Node JS SDK does not route this provider through the gateway yet.