{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clipia-ai/json-schema/clipia-ai-llm-model-summary-schema.json",
  "title": "LlmModelSummary",
  "description": "OpenAI-совместимая запись текстовой LLM.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clipia-ai-openapi.yml#/components/schemas/LlmModelSummary",
  "type": "object",
  "required": [
    "id",
    "canonical_slug",
    "object",
    "name",
    "created",
    "owned_by",
    "context_length",
    "architecture",
    "pricing",
    "top_provider",
    "supported_parameters"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "canonical_slug": {
      "type": "string"
    },
    "object": {
      "type": "string",
      "const": "model"
    },
    "name": {
      "type": "string"
    },
    "created": {
      "type": "integer",
      "format": "int64"
    },
    "owned_by": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "context_length": {
      "type": "integer"
    },
    "architecture": {
      "type": "object",
      "required": [
        "modality",
        "input_modalities",
        "output_modalities",
        "tokenizer"
      ],
      "properties": {
        "modality": {
          "type": "string"
        },
        "input_modalities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "output_modalities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tokenizer": {
          "type": "string"
        }
      }
    },
    "pricing": {
      "type": "object",
      "description": "USD per token, encoded as decimal strings.",
      "properties": {
        "prompt": {
          "type": "string"
        },
        "completion": {
          "type": "string"
        }
      }
    },
    "top_provider": {
      "type": "object",
      "required": [
        "context_length",
        "max_completion_tokens",
        "is_moderated"
      ],
      "properties": {
        "context_length": {
          "type": "integer"
        },
        "max_completion_tokens": {
          "type": "integer"
        },
        "is_moderated": {
          "type": "boolean"
        }
      }
    },
    "supported_parameters": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "per_request_limits": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true
    }
  }
}