llmboxDocumentationSign in
Getting started · Models

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.

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

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:

TypeEndpoints
TextPOST/v1/chat/completions, POST/v1/responses
ImagesPOST/v1/images/generations
VideoPOST/v1/videos
AudioPOST/v1/text-to-speech/{voice_id}, POST/v1/speech-to-text and others — see 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).

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; public rates are in the model and pricing catalog, 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. 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.