Skip to main content

Live

Create Session

Exchanges a WebRTC SDP offer for an answer and starts a GPT-Live session. Apply the returned answer to the peer connection and send Live events over the data channel. Requires an API key with realtime.execute. Voice usage is billed by the second at the active or standby rate. Set wake_policy.type to speech to start inference on speech. Set idle_timeout_s to return the session to standby after inactivity. Use client delegation to run backend work in your application.