Models

object Models

Holds all the available models for the OpenAI API. Most users are probably interested in Models.Chat.

Note that this list is manually updated, and may fall out of date. For the most updated information, check the OpenAI documentation. If you notice that something is out of date, please open an issue.

When OpenAI marks a model as 'Legacy', the corresponding field in Models will be marked as Deprecated. Once it is reported that a model throws an error due to deprecation, the deprecation level will be set to DeprecationLevel.ERROR.

Types

Link copied to clipboard
object Chat

Holds all available Chat models. Chat models are used to generate text in a conversational manner. Chat models work using conversational memory.

Link copied to clipboard
object Completion

Holds all available completion models.