Chat
Generate a model response for a conversation. Supports streaming, tool calling, structured outputs and reasoning.
Create chat completion
Creates a model response for the given conversation. Set `stream: true` to receive the response as a stream of server-sent events; the final chunk carries the `usage` object when `stream_options.include_usage` is `true`.