Streaming
Handle events, usage and terminal errors.
A stream may contain usage events with no choices, completion markers or errors after output has begun. Process each event and check the terminal state; an initial HTTP 200 does not prove completion.
Confirms the response was served by the Gia Cat Group gateway.
Billed token usage for a non-streaming call. Streaming responses do not include this header.
curl https://api.giacatgroup.vn/v1/models \
-H "Authorization: Bearer sk-gcg-your_key"