# Models

> Model IDs, the GET /v1/models catalog, private models and providers.

## Model list

`GET /v1/models` returns the current catalog. A key is optional, but with your
key in the Authorization header the list also includes models opened to your
account personally.

```bash [curl]
curl https://llmbox.cc/v1/models \
  -H "Authorization: Bearer $LLMBOX_API_KEY"
```

```python [Python]
from openai import OpenAI

client = OpenAI(base_url="https://llmbox.cc/v1", api_key="$LLMBOX_API_KEY")
for model in client.models.list():
    print(model.id)
```

The response uses the OpenAI format:

```json
{
  "object": "list",
  "data": [
    {"id": "openai/gpt-5.6-sol", "object": "model", "created": 1767225600, "owned_by": "openai"},
    {"id": "openai/gpt-image-2", "object": "model", "created": 1767225600, "owned_by": "openai"}
  ]
}
```

`created` is when the model was added to the catalog (Unix seconds); `owned_by`
is the model's vendor. Prices and the model type are not part of the response.

You can fetch a single model by ID: `GET /v1/models/{id}` returns the model
object (without the `list` wrapper). An ID containing a slash is passed as is
(`GET /v1/models/vendor/model`) or with `%2F`. If the model does not exist, is
disabled or is not available to your account, the answer is `404 model_not_found`
(identical in all these cases).

If a key header is sent, the key must be valid: an invalid key gets
`401 invalid_api_key`, not the anonymous list.

## Model ID

An ID is a catalog string of the form `vendor/model`, e.g. `openai/gpt-5.6-sol`.
Pass the ID exactly as `GET /v1/models` returns it; the `model` field in gateway responses carries the
same ID.

## Model type and endpoint

Every model has one type — text, images, video or audio — and works only on
endpoints of that type:

| Type | Endpoints |
| --- | --- |
| Text | `POST /v1/chat/completions`, `POST /v1/responses` |
| Images | `POST /v1/images/generations` |
| Video | `POST /v1/videos` |
| Audio | `POST /v1/text-to-speech/{voice_id}`, `POST /v1/speech-to-text` and others — see [Audio](https://llmbox.cc/en/docs/audio) |

A model on an endpoint of another type gets `404 model_not_found`, just like a
model that does not exist. Among text endpoints, a model works on those whose
format its provider supports: the gateway does not translate between request
formats (see [API overview](https://llmbox.cc/en/docs/endpoints#request-format-and-model)).

## Private models and pricing

Some models are opened to an account personally: they appear in
`GET /v1/models` only with your key and return `404 model_not_found` to
everyone else. Your account may have personal prices. How a request is priced
is covered in [Balance and pricing](https://llmbox.cc/en/docs/pricing); public rates are in the
[model and pricing catalog](https://llmbox.cc/en/models), personal ones are in your account under
“Models”.

## Model pages

Every public model with its price in US dollars is listed in the
[model and pricing catalog](https://llmbox.cc/en/models). Each vendor has its own page listing
its models (`/en/models/{vendor}`), and each model has its own page with prices,
specs and a request example (`/en/models/{vendor}/{id}`). The catalog links to
them; the set depends on which models are currently enabled.
