Raw schema
{
"type": "object",
"properties": {
"audio_input_tokens": {
"description": "Quantity in tokens for the audio_input meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"audio_output_tokens": {
"description": "Quantity in tokens for the audio_output meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"audio_seconds": {
"description": "Quantity in audio seconds for the input meter (models billed in audio_duration).",
"maximum": 100000000,
"minimum": 0,
"type": "integer"
},
"cache_read_tokens": {
"description": "Quantity in tokens for the cache_read meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"cache_write_1h_tokens": {
"description": "Quantity in tokens for the cache_write_1h meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"cache_write_tokens": {
"description": "Quantity in tokens for the cache_write meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"characters": {
"description": "Quantity in characters for the input meter (models billed in characters).",
"maximum": 10000000000,
"minimum": 0,
"type": "integer"
},
"context_tokens": {
"description": "Input context length used to choose a context-length tier. Only for models whose tiers depend on context length; defaults to the input and cache tokens.",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"image_input_tokens": {
"description": "Quantity in tokens for the image_input meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"image_output_tokens": {
"description": "Quantity in tokens for the image_output meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"images": {
"description": "Quantity in images for the image_n meter.",
"maximum": 100000000,
"minimum": 0,
"type": "integer"
},
"input_tokens": {
"description": "Quantity in tokens for the input meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"model": {
"description": "Exact, case-sensitive model ID as returned by chinaapi_list_models.",
"maxLength": 128,
"minLength": 1,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,127}$",
"type": "string"
},
"output_tokens": {
"description": "Quantity in tokens for the output meter (models billed in tokens).",
"maximum": 1000000000000,
"minimum": 0,
"type": "integer"
},
"requests": {
"description": "Quantity in requests for the per_call meter.",
"maximum": 100000000,
"minimum": 0,
"type": "integer"
},
"video_seconds": {
"description": "Quantity in seconds for the video_second meter.",
"maximum": 100000000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"model"
],
"additionalProperties": false
}