Skip to main content
Add "stream": true to supported JSON requests. Chat Completions and Responses generally return Server-Sent Events. Read each data: record and handle the protocol’s terminal event.
A disconnected request may still incur usage. Apply exponential backoff and do not blindly replay non-idempotent requests.