{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazee-io/json-schema/amazee-io-public-region-models-schema.json",
  "title": "PublicRegionModels",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazee-io-private-ai-keys-openapi.yml#/components/schemas/PublicRegionModels",
  "properties": {
    "region": {
      "type": "string",
      "title": "Region"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "models": {
      "items": {
        "$ref": "#/$defs/PublicModelSummary"
      },
      "type": "array",
      "title": "Models"
    }
  },
  "type": "object",
  "required": [
    "region",
    "status",
    "models"
  ],
  "$defs": {
    "PublicModelCapabilities": {
      "properties": {
        "supports_vision": {
          "type": "boolean",
          "title": "Supports Vision",
          "default": false
        },
        "supports_function_calling": {
          "type": "boolean",
          "title": "Supports Function Calling",
          "default": false
        },
        "supports_reasoning": {
          "type": "boolean",
          "title": "Supports Reasoning",
          "default": false
        },
        "supports_prompt_caching": {
          "type": "boolean",
          "title": "Supports Prompt Caching",
          "default": false
        }
      },
      "type": "object",
      "title": "PublicModelCapabilities"
    },
    "PublicModelManufacturer": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "website": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Website"
        },
        "version": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Version"
        },
        "release_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Release Date"
        },
        "attribution": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Attribution"
        }
      },
      "type": "object",
      "required": [
        "name"
      ],
      "title": "PublicModelManufacturer"
    },
    "PublicModelPricing": {
      "properties": {
        "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_million_tokens": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Input Cost Per Million Tokens"
        },
        "output_cost_per_million_tokens": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Output Cost Per Million Tokens"
        },
        "cache_creation_input_cost_per_million_tokens": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cache Creation Input Cost Per Million Tokens"
        },
        "cache_creation_input_cost_above_1hr_per_million_tokens": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cache Creation Input Cost Above 1Hr Per Million Tokens"
        },
        "cache_read_input_cost_per_million_tokens": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cache Read Input Cost Per Million Tokens"
        }
      },
      "type": "object",
      "title": "PublicModelPricing"
    },
    "PublicModelSummary": {
      "properties": {
        "model_id": {
          "type": "string",
          "title": "Model Id"
        },
        "display_name": {
          "type": "string",
          "title": "Display Name"
        },
        "aliases": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Aliases"
        },
        "metadata_raw": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "title": "Metadata Raw"
        },
        "provider": {
          "type": "string",
          "title": "Provider"
        },
        "type": {
          "type": "string",
          "title": "Type"
        },
        "context_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Context Length"
        },
        "max_output_tokens": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Output Tokens"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "manufacturer": {
          "anyOf": [
            {
              "$ref": "#/$defs/PublicModelManufacturer"
            },
            {
              "type": "null"
            }
          ]
        },
        "capabilities": {
          "$ref": "#/$defs/PublicModelCapabilities"
        },
        "pricing": {
          "$ref": "#/$defs/PublicModelPricing"
        },
        "access_groups": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Access Groups",
          "description": "Access groups this model belongs to in this region, limited to the groups the caller may see: the region default, public groups and the caller team's opt-ins (admins see every group). Listing only: a public group the caller's team has not opted in to is shown but its models are not callable by that team, so do not build a model picker from this list alone."
        },
        "aliased_to": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Aliased To",
          "description": "The canonical model_id this entry points at, or null when this model is itself canonical. Two models in the same region are the same deployment when they share a litellm_params.model."
        },
        "eol_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Eol Date",
          "description": "End-of-Life date as ISO YYYY-MM-DD, or null when the model has no known EOL date."
        },
        "eol_source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Eol Source",
          "description": "Where eol_date came from. Always 'bedrock' -- the upstream AWS Bedrock catalog is the only source. Null when eol_date is null."
        }
      },
      "type": "object",
      "required": [
        "model_id",
        "display_name",
        "provider",
        "type",
        "description",
        "capabilities",
        "pricing"
      ],
      "title": "PublicModelSummary"
    }
  }
}