Skip to content

List the catalog of AI models available through the Hoody AI gateway. Use this endpoint to retrieve the current cached list of models along with their capabilities (modalities, context length) and Hoody pricing. Provider details are intentionally not exposed.

Returns the current cached catalog of available AI models. Pricing is returned as Hoody prices. Provider details are intentionally not exposed.

GET /api/v1/ai/models

This endpoint takes no parameters.

{
"statusCode": 200,
"message": "AI models retrieved successfully",
"data": {
"updated_at": "2025-12-12T20:00:00.000Z",
"models": [
{
"id": "openai/gpt-4o",
"name": "GPT-4o",
"description": "A multimodal model supporting text and image inputs.",
"created": 1715558400,
"context_length": 128000,
"input_modalities": ["text", "image", "file"],
"output_modalities": ["text"],
"pricing": {
"prompt": "0.00000263",
"completion": "0.00001050",
"image": "0.003793"
}
}
]
}
}
FieldTypeDescription
statusCodenumberHTTP status code of the response
messagestringHuman-readable status message
dataobjectResponse payload
data.updated_atstring | nullISO 8601 timestamp of when the catalog was last updated
data.modelsarrayList of available AI models
data.models[].idstringModel identifier (e.g. openai/gpt-4o)
data.models[].namestringDisplay name of the model
data.models[].descriptionstring | nullShort description of the model
data.models[].createdinteger | nullUnix timestamp of the model’s upstream creation date
data.models[].context_lengthinteger | nullMaximum context length in tokens
data.models[].input_modalitiesarraySupported input modalities (e.g. text, image, file)
data.models[].output_modalitiesarraySupported output modalities (e.g. text)
data.models[].pricingobjectHoody pricing map keyed by cost dimension (e.g. prompt, completion, image)
const result = await client.api.ai.listModels();