Skip to main content

Create chat completions.

POST 

/v1/chat/completions

Generate an OpenAI-compatible chat completion for the given messages using the specified model.

Request

Responses

An OpenAIChatCompletion. When streaming, returns Server-Sent Events (SSE) with OpenAIChatCompletionChunk objects.