Configuration for a model, Large Language Model (LLM) or otherwise, that's available through a configured model provider. For example, id could be set to "gpt-o", which is the official server-side name of the model. The alias field can be used by clients to refer to that model in a more convenient or custom manner. When a client provides the alias instead of the official name, the middleware will map the alias back to the underlying id (e.g., "gpt-o") and execute requests against the correct model.

interface Model {
    alias?: string;
    created?: number;
    id?: string;
    metadata?: Metadata;
    object?: string;
    owned_by?: string;
    uuid?: string;
}

Properties

alias?: string

The aliased name of the model. If set, this is the name that should be used by clients to refer to that model in a more convenient or custom manner. When a client provides the alias instead of the official name, the middleware will map the alias back to the underlying id (e.g., "gpt-o") and execute requests against the correct model.

created?: number

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

id?: string

The official provider-specific server-side unique identifier of the model instance.

metadata?: Metadata

Contains additional configuration for the model.

object?: string

The object type, which is always "model".

owned_by?: string

The provider that owns the model. Format: "provider type:provider name".

uuid?: string

The unique identifier for the model.