GET /v1/models that supports chat, and replace the model name in the example:choices[0].message.content. Actual fields depend on model capabilities.stream to true. The response uses Server-Sent Events; read each data: event and handle the completion marker and interrupted connections. Optional parameters vary by model and client.