Models

List models

Every model with its type, price and input schema.

GET/v1/models

Authorization

Authorizationstringheaderrequired
Bearer ast_gw_.... The key needs the models:read scope.

Returns every model in the catalog in one response, with no paging. At most 200 entries.

Response

dataarray
The models.
data[].idstring
Send this as model.
data[].model_revisionstring
The model version the catalog describes.
data[].namestring
Readable name.
data[].descriptionstring | null
One line on what it does and its limits.
data[].typestring
image or video today. More types may be added.
data[].enabledboolean
Whether the model is for sale. The list only holds models that are, so this is true today; skip any entry where it is false. The list isn't filtered per key: a key limited to certain models gets 403 model_not_available for the rest.
data[].priceobject | null
Lowest price: currency, amount (trailing zeros dropped, such as "0.08") and unit. Set for every model listed today.
data[].input_schemaobject | null
JSON Schema for input.
data[].output_schemaobject | null
Shape of the job's output.