Skip to main content
Streaming allows you to receive responses in real-time as they’re generated, instead of waiting for the complete response.

Enable streaming

Set stream: true in your request:

Stream format

Responses are sent as Server-Sent Events (SSE):
All chat models support streaming, including GPU TEE confidential models.

Chat completions

Error handling