LLM
List models
- Community
LLM
Endpoint Examples
LLM
List models
Lists all models supported by LLMstudio
GET
/
api
/
engine
/
models
object
provider
string
provider
string
Provider id used to filter models
curl --request GET \
--url http://localhost:8000/api/engine/models \
--header 'Content-Type: application/json' \
--data '{
"provider": "<string>"
}'
{
"anthropic": {
"name": "Anthropic",
"models": [
"claude-2.1",
"claude-2",
"claude-instant-1.2",
"claude-instant-1"
]
},
"ollama": {
"name": "Ollama",
"models": ["llama2"]
}
}
provider
string
Provider id used to filter models
curl --request GET \
--url http://localhost:8000/api/engine/models \
--header 'Content-Type: application/json' \
--data '{
"provider": "<string>"
}'
{
"anthropic": {
"name": "Anthropic",
"models": [
"claude-2.1",
"claude-2",
"claude-instant-1.2",
"claude-instant-1"
]
},
"ollama": {
"name": "Ollama",
"models": ["llama2"]
}
}