"stream": true to receive the response as Server-Sent Events (SSE). Tokens arrive in chunks as they’re produced, which is ideal for chat UIs.
Raw SSE
If you’re not using an SDK, read the stream directly. Each line is prefixed withdata: and the stream ends with data: [DONE].