Arnict
← DocumentationVerified reference

Streaming

Server-sent events and final usage.

Server-sent events

Set stream to true and consume data events until [DONE]. The proxy asks the backend to include a final usage event and keeps the public model ID stable in each chunk.

json
{"model":"qwen3.8-27b","messages":[{"role":"user","content":"Stream a short answer."}],"stream":true,"stream_options":{"include_usage":true}}

Disconnects

If a client disconnects before authoritative usage is available, the request is moved to a review state rather than silently converted into revenue. Requests with no confirmed usage release their reservation.

Reference model

qwen3.8-27b