v1
latestOpenAPI 3.1.02026-07-2676188241.3 KBChat
Create chat completion
Creates a model response for the given conversation. This is the OpenAI Chat Completions API. Some models return chain-of-thought reasoning in the reasoning field of the response message. The -instant model variants do not produce reasoning on this endpoint.
post/chat/completions
Request body
Response
Successful response. For non-streaming requests, returns a complete chat completion. For streaming requests, returns Server-Sent Events (SSE) with incremental chunks.