{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opper/main/json-schema/opper-models-response-schema.json",
  "title": "ModelsResponse",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opper-openapi.json#/components/schemas/ModelsResponse",
  "properties": {
    "limit": {
      "type": "integer"
    },
    "models": {
      "items": {
        "properties": {
          "access": {
            "type": "string"
          },
          "aliases": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "api_type": {
            "type": "string"
          },
          "benchmarks": {
            "properties": {
              "aa_slug": {
                "type": "string"
              },
              "as_of": {
                "type": "string"
              },
              "coding_index": {
                "type": "number"
              },
              "evaluations": {
                "properties": {
                  "aime": {
                    "type": "number"
                  },
                  "aime_25": {
                    "type": "number"
                  },
                  "gpqa": {
                    "type": "number"
                  },
                  "hle": {
                    "type": "number"
                  },
                  "ifbench": {
                    "type": "number"
                  },
                  "lcr": {
                    "type": "number"
                  },
                  "livecodebench": {
                    "type": "number"
                  },
                  "math_500": {
                    "type": "number"
                  },
                  "mmlu_pro": {
                    "type": "number"
                  },
                  "scicode": {
                    "type": "number"
                  },
                  "tau2": {
                    "type": "number"
                  },
                  "terminalbench_hard": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "intelligence_index": {
                "type": "number"
              },
              "math_index": {
                "type": "number"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "as_of"
            ],
            "type": "object"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "compliance": {
            "properties": {
              "cache_scope": {
                "type": "string"
              },
              "cache_ttl_seconds": {
                "type": "integer"
              },
              "caching": {
                "type": "string"
              },
              "content_storage": {
                "type": "string"
              },
              "country": {
                "deprecated": true,
                "description": "Deprecated: read inference_location. The English name of inference_location when that is one country (SE reads Sweden); absent otherwise.",
                "type": "string"
              },
              "dpa_available": {
                "type": "boolean"
              },
              "inference_location": {
                "type": "string"
              },
              "logging": {
                "type": "string"
              },
              "moderation": {
                "type": "string"
              },
              "residency": {
                "type": "string"
              },
              "retention_days": {
                "type": "integer"
              },
              "route_id": {
                "type": "string"
              },
              "storage_location": {
                "type": "string"
              },
              "third_party_access": {
                "type": "boolean"
              },
              "training": {
                "type": "string"
              },
              "transfer_mechanism": {
                "type": "string"
              },
              "zdr": {
                "properties": {
                  "caching": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "logging": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "moderation": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subprocessors": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "training": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "logging",
                  "moderation",
                  "caching",
                  "training",
                  "subprocessors"
                ],
                "type": "object"
              }
            },
            "required": [
              "dpa_available",
              "third_party_access"
            ],
            "type": "object"
          },
          "context_window": {
            "type": "integer"
          },
          "cost": {
            "type": "number"
          },
          "country": {
            "deprecated": true,
            "description": "Deprecated: read compliance.inference_location on /v3/models. The English name of that location when it is one country (SE reads Sweden); absent otherwise.",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "family": {
            "type": "string"
          },
          "featured": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "input_modalities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "long_description": {
            "type": "string"
          },
          "maker": {
            "properties": {
              "country": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "slug"
            ],
            "type": "object"
          },
          "maker_country": {
            "type": "string"
          },
          "max_output_tokens": {
            "type": "integer"
          },
          "model": {
            "type": "string"
          },
          "model_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "output_modalities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "params": {
            "properties": {
              "caller_params": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "default_max_tokens": {
                "type": "integer"
              },
              "embedding": {
                "properties": {
                  "dimensions": {
                    "type": "integer"
                  },
                  "max_input_tokens": {
                    "type": "integer"
                  },
                  "supports_dimensions": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "dimensions"
                ],
                "type": "object"
              },
              "image": {
                "properties": {
                  "aspect_ratios": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "default": {
                    "type": "string"
                  },
                  "parameters": {
                    "items": {
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "enum": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "qualities": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "resolutions": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "size_constraints": {
                    "properties": {
                      "max_edge": {
                        "type": "integer"
                      },
                      "max_pixels": {
                        "type": "integer"
                      },
                      "max_ratio": {
                        "type": "integer"
                      },
                      "min_edge": {
                        "type": "integer"
                      },
                      "min_pixels": {
                        "type": "integer"
                      },
                      "multiple_of": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "sizes": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "styles": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "image_edit": {
                "properties": {
                  "aspect_ratios": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "default": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "max_tokens": {
                "type": "boolean"
              },
              "realtime": {
                "properties": {
                  "default_voice": {
                    "type": "string"
                  },
                  "input_audio_format": {
                    "type": "string"
                  },
                  "input_sample_rate": {
                    "type": "integer"
                  },
                  "output_audio_format": {
                    "type": "string"
                  },
                  "output_sample_rate": {
                    "type": "integer"
                  },
                  "reasoning": {
                    "properties": {
                      "default": {
                        "type": "string"
                      },
                      "max_budget": {
                        "type": "integer"
                      },
                      "mode": {
                        "type": "string"
                      },
                      "supported": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "wire": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "supported",
                      "default"
                    ],
                    "type": "object"
                  },
                  "sample_rate": {
                    "type": "integer"
                  },
                  "supports_tools": {
                    "type": "boolean"
                  },
                  "supports_vad": {
                    "type": "boolean"
                  },
                  "voices": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "reasoning": {
                "properties": {
                  "default": {
                    "type": "string"
                  },
                  "max_budget": {
                    "type": "integer"
                  },
                  "mode": {
                    "type": "string"
                  },
                  "supported": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "wire": {
                    "type": "string"
                  }
                },
                "required": [
                  "supported",
                  "default"
                ],
                "type": "object"
              },
              "stt": {
                "properties": {
                  "default_language": {
                    "type": "string"
                  },
                  "diarize": {
                    "type": "boolean"
                  },
                  "formats": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "languages": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "parameters": {
                    "items": {
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "enum": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "stream": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "temperature": {
                "properties": {
                  "default": {
                    "type": "number"
                  },
                  "max": {
                    "type": "number"
                  },
                  "min": {
                    "type": "number"
                  }
                },
                "required": [
                  "min",
                  "max",
                  "default"
                ],
                "type": "object"
              },
              "tts": {
                "properties": {
                  "default_voice": {
                    "type": "string"
                  },
                  "formats": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "max_length": {
                    "type": "integer"
                  },
                  "parameters": {
                    "items": {
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "enum": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "voices": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "video": {
                "properties": {
                  "aspect_ratios": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "max_duration": {
                    "type": "integer"
                  },
                  "max_fps": {
                    "type": "integer"
                  },
                  "max_frames": {
                    "type": "integer"
                  },
                  "parameters": {
                    "items": {
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "enum": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "resolutions": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "speed_modes": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "supports_seed": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "policy": {
            "properties": {
              "allowed": {
                "type": "boolean"
              },
              "blocked_by": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              }
            },
            "required": [
              "allowed"
            ],
            "type": "object"
          },
          "pooled": {
            "type": "boolean"
          },
          "pricing": {
            "properties": {
              "audio_cached_input": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "audio_input": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "audio_input_per_minute": {
                "type": "number"
              },
              "audio_output": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "audio_output_per_minute": {
                "type": "number"
              },
              "billing_unit": {
                "type": "string"
              },
              "cache_creation": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "cache_creation_1h": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "cached_input": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "free_reference_images": {
                "type": "integer"
              },
              "google_search_price_per_prompt": {
                "type": "number"
              },
              "google_search_price_per_query": {
                "type": "number"
              },
              "image_cached_input": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "image_input": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "image_output": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "image_prices": {
                "additionalProperties": {
                  "additionalProperties": {
                    "type": "number"
                  },
                  "type": "object"
                },
                "type": "object"
              },
              "input": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "input_surcharge_multiplier": {
                "type": "number"
              },
              "input_surcharge_threshold_tokens": {
                "type": "integer"
              },
              "input_transcription_per_minute": {
                "additionalProperties": {
                  "type": "number"
                },
                "type": "object"
              },
              "openai_code_interpreter_price_per_session": {
                "type": "number"
              },
              "openai_file_search_price_per_call": {
                "type": "number"
              },
              "openai_web_search_price_per_call": {
                "type": "number"
              },
              "output": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "output_surcharge_multiplier": {
                "type": "number"
              },
              "price_first_megapixel": {
                "type": "number"
              },
              "price_per_extra_reference_image": {
                "type": "number"
              },
              "price_per_generation": {
                "type": "number"
              },
              "price_per_m_chars": {
                "type": "number"
              },
              "price_per_megapixel": {
                "type": "number"
              },
              "price_per_minute": {
                "type": "number"
              },
              "price_per_page": {
                "type": "number"
              },
              "price_per_second": {
                "type": "number"
              },
              "price_per_second_audio": {
                "type": "number"
              },
              "price_per_second_by_resolution": {
                "additionalProperties": {
                  "type": "number"
                },
                "type": "object"
              },
              "price_per_second_voice": {
                "type": "number"
              },
              "price_vector_style": {
                "type": "number"
              },
              "rates": {
                "items": {
                  "properties": {
                    "amount": {
                      "type": "number"
                    },
                    "dimensions": {
                      "additionalProperties": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "unit": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "unit",
                    "amount"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "reasoning": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "reported_cost_markup": {
                "type": "number"
              },
              "thresholds": {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "web_fetch_price_per_request": {
                "type": "number"
              },
              "web_search_price_per_request": {
                "type": "number"
              },
              "xai_x_search_price_per_call": {
                "type": "number"
              }
            },
            "type": "object"
          },
          "provider": {
            "properties": {
              "display_name": {
                "type": "string"
              },
              "owner_country": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "slug",
              "display_name"
            ],
            "type": "object"
          },
          "provider_display_name": {
            "type": "string"
          },
          "quality": {
            "type": "string"
          },
          "quantization": {
            "type": "string"
          },
          "references": {
            "items": {
              "properties": {
                "created_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "url"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "region": {
            "type": "string"
          },
          "release": {
            "properties": {
              "date": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "date",
              "source"
            ],
            "type": "object"
          },
          "retired_at": {
            "format": "date-time",
            "type": "string"
          },
          "route": {
            "properties": {
              "access": {
                "type": "string"
              },
              "country": {
                "deprecated": true,
                "description": "Deprecated: read inference_location. The English name of inference_location when that is one country (SE reads Sweden); absent otherwise.",
                "type": "string"
              },
              "data_handling": {
                "properties": {
                  "caching": {
                    "properties": {
                      "default": {
                        "type": "string"
                      },
                      "scope": {
                        "type": "string"
                      },
                      "storage_location": {
                        "type": "string"
                      },
                      "ttl_seconds": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "default"
                    ],
                    "type": "object"
                  },
                  "logging": {
                    "properties": {
                      "default": {
                        "type": "string"
                      },
                      "human_review": {
                        "type": "string"
                      },
                      "retention_days": {
                        "type": "integer"
                      },
                      "storage_location": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "default",
                      "retention_days"
                    ],
                    "type": "object"
                  },
                  "moderation": {
                    "properties": {
                      "default": {
                        "type": "string"
                      },
                      "human_review": {
                        "type": "string"
                      },
                      "retention_days": {
                        "type": "integer"
                      },
                      "storage_location": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "default",
                      "retention_days"
                    ],
                    "type": "object"
                  },
                  "residency_enforced": {
                    "type": "boolean"
                  },
                  "subprocessors_read_content": {
                    "type": "boolean"
                  },
                  "training": {
                    "properties": {
                      "default": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "default"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "training",
                  "logging",
                  "moderation",
                  "caching"
                ],
                "type": "object"
              },
              "gdpr": {
                "properties": {
                  "dpa_available": {
                    "type": "boolean"
                  },
                  "residency": {
                    "type": "string"
                  },
                  "transfer_mechanism": {
                    "type": "string"
                  }
                },
                "required": [
                  "residency",
                  "transfer_mechanism"
                ],
                "type": "object"
              },
              "id": {
                "type": "string"
              },
              "inference_location": {
                "type": "string"
              },
              "last_verified_at": {
                "type": "string"
              },
              "native_region": {
                "type": "string"
              },
              "provider": {
                "type": "string"
              },
              "provider_display_name": {
                "type": "string"
              },
              "region": {
                "type": "string"
              },
              "sources": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "underlying_maker": {
                "type": "string"
              },
              "verification": {
                "properties": {
                  "attested_at": {
                    "type": "string"
                  },
                  "opper_verified_at": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "verified_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              "zdr": {
                "properties": {
                  "caching": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "logging": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "moderation": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subprocessors": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "training": {
                    "oneOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "logging",
                  "moderation",
                  "caching",
                  "training",
                  "subprocessors"
                ],
                "type": "object"
              }
            },
            "required": [
              "id",
              "provider",
              "provider_display_name",
              "region",
              "native_region",
              "data_handling",
              "gdpr"
            ],
            "type": "object"
          },
          "server_tools": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "service_route": {
            "properties": {
              "adapter": {
                "type": "string"
              },
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "adapter"
            ],
            "type": "object"
          },
          "service_tier": {
            "description": "Processing tier of this endpoint when it is not the provider default: flex (discounted and slower; may be out of capacity) or priority / ultrafast (faster at a premium). Absent on default-tier endpoints. Reach a tier with the service_tier request field or by this endpoint's id.",
            "enum": [
              "flex",
              "priority",
              "ultrafast"
            ],
            "type": "string"
          },
          "short_description": {
            "type": "string"
          },
          "speed": {
            "type": "string"
          },
          "successor": {
            "type": "string"
          },
          "thinking": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "provider",
          "provider_display_name",
          "name",
          "model_id",
          "capabilities",
          "speed",
          "quality",
          "context_window",
          "description",
          "service_route"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "offset": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "models",
    "total",
    "offset",
    "limit"
  ],
  "type": "object"
}