Docs API reference
Markdown Get an API key

API referenceChat and agents

LLM Models

Discover the LLMs available to your account. The catalog rotates as workers come online, so consult the live endpoint rather than hardcoding model IDs. For image, video, and audio generation models, use the public model catalog.

#List models

GET /v1/models Auth required

Lists the LLM models in the current catalog, in the OpenAI list shape. The list is the same for every account.

#Request

curl https://api.sogni.ai/v1/models \
  -H "Authorization: Bearer $SOGNI_API_KEY"

#Response

{
  "object": "list",
  "data": [
    {
      "id": "qwen3.6-35b-a3b-gguf-iq4xs",
      "object": "model",
      "created": 1776384000,
      "owned_by": "qwen",
      "capabilities": { "reasoning": true }
    },
    {
      "id": "deepseek-v4-flash-vision-exp-dspark-1m",
      "object": "model",
      "created": 1788998400,
      "owned_by": "deepseek",
      "capabilities": { "reasoning": true }
    },
    {
      "id": "qwen3.5-35b-a3b-abliterated-gguf-q4km",
      "object": "model",
      "created": 1772582400,
      "owned_by": "qwen",
      "capabilities": { "reasoning": true }
    }
  ]
}

#Read a model

GET /v1/models/:model_id Auth required

Returns a single model record. An unknown id returns 404 with code: "model_not_found". A retired model id that has a replacement returns the replacement's record.

#Path parameters

NameTypeInDescription
model_idrequiredstringpathAn ID from GET /v1/models.