Skip to main content
GPT-Realtime-2 is OpenAI’s reasoning-capable realtime voice model for speech-to-speech agents and tool use. Use the Realtime WebSocket endpoint. The Chat Completions endpoint is not supported for this MixRoute route.

Key capabilities

  • Realtime speech - Text and audio input and output
  • Configurable reasoning - Adjust reasoning effort for voice workflows
  • Tool use - Supports function calls in realtime sessions
  • Multimodal input - Accepts text, audio, and image input

Quick example

Node.js WebSocket

Install the ws package, then connect with the model query parameter and a Bearer token.

Parameters

Vendor reference