Models API
Copy Page as Markdown
Use the Models API to list the model IDs your API key can use with Chat Completions.
List models
GET /v1/modelsRequest
curl https://api.subq.ai/v1/models \
-H "Authorization: Bearer sk-your-api-key"Response
The response follows the OpenAI-compatible list shape. Use the returned id as the model value in a chat completion request.
{
"object": "list",
"data": [
{
"id": "subq-preview",
"object": "model",
"owned_by": "subq.ai"
}
]
}For current model capabilities and preview constraints, see Models.