Usage guide
Setup, environment variables, and Python/JavaScript/Go usage examples.
OpenAIRealtime
OpenAI Realtime speech-to-speech model that handles listening, reasoning and speaking in one model. Choose it for low-latency voice conversations without a separate STT, LLM and TTS. Authenticates with OPENAI_API_KEY from your environment, or an explicitapi_key.
Fields
Session settings such as voice, temperature, turn_detection, input_audio_transcription, tool_choice and modalities (“text”, “audio”). Defaults to None (not set).