Helicone · Schema

ModelProviderConfig

AI GatewaysAI MonitoringGatewaysLLM ObservabilityLLM RoutingPrompt Management

Properties

Name Type Description
pricing array
contextLength number
maxCompletionTokens number
ptbEnabled boolean
version string
unsupportedParameters array
providerModelId string
provider object
author object
supportedParameters array
supportedPlugins array
rateLimits object
endpointConfigs object
crossRegion boolean
priority number
quantization string
responseFormat object
requireExplicitRouting boolean
providerModelIdAliases array
View JSON Schema on GitHub

JSON Schema

helicone-modelproviderconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ModelProviderConfig",
  "title": "ModelProviderConfig",
  "properties": {
    "pricing": {
      "items": {
        "$ref": "#/components/schemas/ModelPricing"
      },
      "type": "array"
    },
    "contextLength": {
      "type": "number",
      "format": "double"
    },
    "maxCompletionTokens": {
      "type": "number",
      "format": "double"
    },
    "ptbEnabled": {
      "type": "boolean"
    },
    "version": {
      "type": "string"
    },
    "unsupportedParameters": {
      "items": {
        "$ref": "#/components/schemas/StandardParameter"
      },
      "type": "array"
    },
    "providerModelId": {
      "type": "string"
    },
    "provider": {
      "$ref": "#/components/schemas/ModelProviderName"
    },
    "author": {
      "$ref": "#/components/schemas/AuthorName"
    },
    "supportedParameters": {
      "items": {
        "$ref": "#/components/schemas/StandardParameter"
      },
      "type": "array"
    },
    "supportedPlugins": {
      "items": {
        "$ref": "#/components/schemas/PluginId"
      },
      "type": "array"
    },
    "rateLimits": {
      "$ref": "#/components/schemas/RateLimits"
    },
    "endpointConfigs": {
      "$ref": "#/components/schemas/Record_string.EndpointConfig_"
    },
    "crossRegion": {
      "type": "boolean"
    },
    "priority": {
      "type": "number",
      "format": "double"
    },
    "quantization": {
      "type": "string",
      "enum": [
        "fp4",
        "fp8",
        "fp16",
        "bf16",
        "int4"
      ]
    },
    "responseFormat": {
      "$ref": "#/components/schemas/ResponseFormat"
    },
    "requireExplicitRouting": {
      "type": "boolean"
    },
    "providerModelIdAliases": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "pricing",
    "contextLength",
    "maxCompletionTokens",
    "ptbEnabled",
    "providerModelId",
    "provider",
    "author",
    "supportedParameters",
    "endpointConfigs"
  ],
  "type": "object",
  "additionalProperties": false
}