OpenRouter · Schema

ModelList

Artificial IntelligenceGatewayLarge Language ModelsRouter

Properties

Name Type Description
data array
View JSON Schema on GitHub

JSON Schema

openrouter-modellist-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ModelList",
  "title": "ModelList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "context_length": {
            "type": "integer"
          },
          "pricing": {
            "type": "object",
            "properties": {
              "prompt": {
                "type": "string"
              },
              "completion": {
                "type": "string"
              }
            }
          },
          "top_provider": {
            "type": "object"
          },
          "architecture": {
            "type": "object"
          }
        }
      }
    }
  }
}