Chat completions

The chat completions endpoint generates a model response from a conversation supplied as a list of messages. Reasoning is not carried across turns on this endpoint; for agentic and multi-step workloads that need reasoning continuity, use the Responses API.

For usage examples, streaming, multi-turn conversations, and parameter guidance, see the Chat completion feature page.