Documentation Index Fetch the complete documentation index at: https://docs.trellis.sh/llms.txt
Use this file to discover all available pages before exploring further.
Returns the list of AI models available for chat conversations, along with the current default model. Each model object includes a model_id to pass as the model parameter when sending messages via SSE or WebSocket , plus a human-readable display name and description.
Bearer token obtained from the authenticate endpoint.
Response
List of available model objects. The model key. Pass this as the model parameter when sending a message to override the default.
Human-readable name for the model (e.g. Claude Sonnet 4.6).
Short description of the model’s strengths and best use cases.
The model_id used when no model parameter is specified.
curl -X GET https://api.trellis.sh/v1/models \
-H "Authorization: Bearer YOUR_TOKEN"
{
"models" : [
{
"model_id" : "claude-sonnet-4-6" ,
"display_name" : "Claude Sonnet 4.6" ,
"description" : "Best overall balance of speed and intelligence. Great for most tasks."
},
{
"model_id" : "claude-opus-4-6" ,
"display_name" : "Claude Opus 4.6" ,
"description" : "Most capable Claude model. Best for complex analysis and reasoning."
},
{
"model_id" : "claude-haiku-4-5" ,
"display_name" : "Claude Haiku 4.5" ,
"description" : "Fastest responses. Good for simple questions and quick lookups."
},
{
"model_id" : "gpt-5.2" ,
"display_name" : "GPT-5.2" ,
"description" : "Most capable OpenAI model. Excellent for complex analysis."
},
{
"model_id" : "gpt-5-mini" ,
"display_name" : "GPT-5 Mini" ,
"description" : "Lightweight and fast. Good for straightforward queries."
},
{
"model_id" : "gemini-3.0-pro" ,
"display_name" : "Gemini 3.0 Pro" ,
"description" : "Google's advanced model. Strong reasoning and analysis."
},
{
"model_id" : "gemini-3.0-flash" ,
"display_name" : "Gemini 3.0 Flash" ,
"description" : "Ultra-fast responses. Best for quick, simple tasks."
}
],
"default" : "claude-sonnet-4-6"
}