Skip to main content
All streaming endpoints use SSE-style frames: data: <json-or-sentinel>

Typical frame sequence

  1. One or more progress/delta frames.
  2. A completion frame with final status and usage.
  3. data: [DONE] sentinel.

JavaScript parser example

Python parser example

Endpoint format notes

  • /v1/chat/completions: chunked choices[].delta style events.
  • /v1/responses: responses-style output item/delta events.
  • /v1/messages: Anthropic-style events (message_start, content_block_delta, message_stop).
Last modified on July 26, 2026