---
title: "Get Models"
method: GET
path: "/v1/models"
tags: ["Models"]
---

# Get Models

`GET /v1/models`

Lists the currently available models and provides basic information.

## Response `200`

Successful Response

- ModelsResponse
  - `object` 'list' — Type of the object.
  - `data` Model[], required — List of models.
    - `object` 'model' — Type of the object.
    - `id` string, 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'
    - `aliases` string[] — Aliases of the model. It will be used to identify the model by users.
    - `created` integer, required — Time of creation, as Unix timestamp.
    - `owned_by` string, required — The organization that owns the model.
    - `max_context_length` integer, nullable — Maximum amount of tokens a context could contains. Makes sure it is the same for all models.
    - `costs` ModelCosts
      - `prompt_tokens` number — Cost of a million prompt tokens (decrease user budget)
      - `completion_tokens` number — Cost of a million completion tokens (decrease user budget)

## Other responses

- `401` — Invalid authentication scheme.<br>Invalid API key.
- `403` — Your account has expired. Please contact support to renew your account.

---

[API](https://skmtc.net/betagouv/apis/opengatellm.md) · [All operations](https://skmtc.net/betagouv/apis/opengatellm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/betagouv/opengatellm/versions/f2624a610e5a/schema)
