Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/mod.ts>Model

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface Model
import { type Model } from "https://deno.land/x/openai@v4.24.4/resources/mod.ts";

Describes an OpenAI model offering that can be used with the API.

Properties

id: string

The model identifier, which can be referenced in the API endpoints.

created: number

The Unix timestamp (in seconds) when the model was created.

object: "model"

The object type, which is always "model".

owned_by: string

The organization that owns the model.