Aider · Schema

ModelCatalog

ModelCatalog schema from Aider CLI

AIAI Pair ProgrammingDeveloper ToolsCLICommand LineCoding AssistantCode GenerationOpen SourcePythonApache 2.0LLMGitBYO LLMTerminalPolyglotTree SitterRepository MapPair Programming

Properties

Name Type Description
models array Model identifiers matching the search query.
View JSON Schema on GitHub

JSON Schema

aider-cli-model-catalog-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aider/refs/heads/main/json-schema/aider-cli-model-catalog-schema.json",
  "title": "ModelCatalog",
  "description": "ModelCatalog schema from Aider CLI",
  "type": "object",
  "properties": {
    "models": {
      "type": "array",
      "description": "Model identifiers matching the search query.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "anthropic/claude-opus-4"
          },
          "provider": {
            "type": "string",
            "example": "anthropic"
          },
          "context_window": {
            "type": "integer",
            "example": 200000
          },
          "supports_edit_format": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "diff"
            },
            "example": [
              "diff",
              "udiff"
            ]
          }
        }
      },
      "example": [
        {
          "id": "anthropic/claude-opus-4",
          "provider": "anthropic",
          "context_window": 200000,
          "supports_edit_format": [
            "diff",
            "udiff"
          ]
        }
      ]
    }
  }
}