{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-model-group-info-proxy-schema.json",
  "title": "ModelGroupInfoProxy",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-model-management-api-openapi.yml#/components/schemas/ModelGroupInfoProxy",
  "properties": {
    "model_group": {
      "type": "string",
      "title": "Model Group"
    },
    "providers": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Providers"
    },
    "max_input_tokens": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Input Tokens"
    },
    "max_output_tokens": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Output Tokens"
    },
    "input_cost_per_token": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Cost Per Token"
    },
    "output_cost_per_token": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Cost Per Token"
    },
    "input_cost_per_pixel": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Cost Per Pixel"
    },
    "mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "string",
          "enum": [
            "chat",
            "embedding",
            "completion",
            "image_generation",
            "audio_transcription",
            "rerank",
            "moderations"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Mode",
      "default": "chat"
    },
    "tpm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tpm"
    },
    "rpm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rpm"
    },
    "itpm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Itpm"
    },
    "otpm": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Otpm"
    },
    "supports_parallel_function_calling": {
      "type": "boolean",
      "title": "Supports Parallel Function Calling",
      "default": false
    },
    "supports_vision": {
      "type": "boolean",
      "title": "Supports Vision",
      "default": false
    },
    "supports_web_search": {
      "type": "boolean",
      "title": "Supports Web Search",
      "default": false
    },
    "supports_url_context": {
      "type": "boolean",
      "title": "Supports Url Context",
      "default": false
    },
    "supports_reasoning": {
      "type": "boolean",
      "title": "Supports Reasoning",
      "default": false
    },
    "supports_function_calling": {
      "type": "boolean",
      "title": "Supports Function Calling",
      "default": false
    },
    "supported_openai_params": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Supported Openai Params",
      "default": []
    },
    "configurable_clientside_auth_params": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/ConfigurableClientsideParamsCustomAuth-Output"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Configurable Clientside Auth Params"
    },
    "is_public_model_group": {
      "type": "boolean",
      "title": "Is Public Model Group",
      "default": false
    },
    "health_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Health Status"
    },
    "health_response_time": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Health Response Time"
    },
    "health_checked_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Health Checked At"
    }
  },
  "type": "object",
  "required": [
    "model_group",
    "providers"
  ],
  "$defs": {
    "ConfigurableClientsideParamsCustomAuth-Output": {
      "properties": {
        "api_base": {
          "type": "string",
          "title": "Api Base"
        }
      },
      "type": "object",
      "required": [
        "api_base"
      ],
      "title": "ConfigurableClientsideParamsCustomAuth"
    }
  }
}