These are the docs for Trigger.dev v2 which will be deprecated on January 31st, 2025. You probably want the v3 docs.

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");