OpenAI API DocsCommunity translation · Official structure

Chat Completions

Chat Completions Overview

English source
This English page is rendered from the official Markdown mirror in this repository.View on OpenAI ↗

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

The Chat Completions API endpoint will generate a model response from a list of messages comprising a conversation.

Related guides:

Starting a new project? We recommend trying Responses to take advantage of the latest OpenAI platform features. Compare Chat Completions with Responses.