Support Matrix
When To Use It
- lower perceived latency in chat and assistant UIs
- show long answers as they are generated
- react to tool-call arguments before the final answer finishes
Recommended Example
Protocol Differences
Responsesstreams named lifecycle events and typed deltas.Chat Completionsstreams OpenAI-compatiblechat.completion.chunkpayloads.Messagesstreams Anthropic-style event names such ascontent_block_deltaandmessage_stop.
Protocol Examples
- Responses
- Chat Completions
- Messages
Responses streams semantic events, so you usually branch on event.type.Client Checklist
- parse the stream structurally instead of treating it as plain text
- stop normal stream processing if an error frame appears
- expect tool and reasoning deltas to be interleaved with text on some models
- if you need usage data, check the API-specific streaming docs for how it is delivered