List and describe the various models available in the API. You can refer to the Models documentation to understand what models are available and the differences between them. Official OpenAI Docs

list

Lists the available models. Official OpenAI Docs

example.ts
const models = await io.openai.models.list("list-models");