Skip to content

Models API

Use the Models API to list the model ID your API key can use with Chat Completions.

GET /v1/models
Terminal window
curl https://api.subq.ai/v1/models \
-H "Authorization: Bearer sk-your-api-key"

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.

Authenticating...