Models
Fetch Models
Fetch all available models or use one or more filters
get/v1/models
Request
- Base URL: https://apipie.ai
- URL: https://apipie.ai/v1/models
- Auth: API key in header Authorization
Query parameters
type'llm' | 'vision' | 'embedding' | 'image' | 'voice' | 'moderation' | 'coding' | 'free'
Filter by type of model.
subtype'chat' | 'fill-mask' | 'question-answering' | 'tts' | 'stt' | 'multimodal'
Filter by subtype of model.
providerstring
Filter by provider of the model.
combinationstring
Filter by a combination of provider and subtype.
enabled1 | 0
only show enabled chat models
voicesunknown
Retrieve a complete list of available voices. just use /v1/models?voices do not include any other value
restrictionsstring
Retrieve a complete list of available Country Restrictions. just use /v1/models?restrictions do not include any other value
Response
Models or voices list depending on query parameter used.
Example response
{
"object": "list",
"data": [
{
"enabled": 1,
"type": "llm",
"subtype": null,
"provider": "openrouter",
"model": "nous-capybara-7b",
"route": "nousresearch/nous-capybara-7b",
"description": "The Capybara series is a collection of datasets and models...",
"max_tokens": 4096,
"max_response_tokens": 4096,
"req_price": "0.0000001800000000",
"res_price": "0.0000001800000000",
"price_type": "token",
"price_unit": "1.00",
"avg_cost": "0.0000912966",
"latency": "1162/2145/6245/8234/18456/8162",
"available": 1,
"query_count": "310,000"
},
{
"...": "Additional models not shown..."
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.