Skip to main content
Go to Latest
method OpenAI.prototype.listModels
import { OpenAI } from "https://deno.land/x/commit_genius@v0.4.0/deps.ts";

Lists the currently available models, and provides basic information about each one such as the owner and availability.

https://platform.openai.com/docs/api-reference/models/list

Returns

Promise<ModelList>