v13

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-0148123138.3 KB
Models

Get Model

Get a model by name and provide basic information.

get/v1/models/{model}

Path parameters

modelstring required

The name of the model to get.

The name of the model to get.

Response

Successful Response

object'model'

Type of the object.

idstring required

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

type'automatic-speech-recognition' | 'image-text-to-text' | 'image-to-text' | 'text-classification' | 'text-embeddings-inference' | 'text-generation'
aliasesstring[]

Aliases of the model. It will be used to identify the model by users.

createdinteger required

Time of creation, as Unix timestamp.

owned_bystring required

The organization that owns the model.

max_context_lengthinteger nullable

Maximum amount of tokens a context could contains. Makes sure it is the same for all models.

Example response

{
  "aliases": [
    "model-alias",
    "model-alias-2"
  ]
}