{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Usage",
"title": "Usage",
"type": "object",
"description": "Usage statistics for the API call.",
"properties": {
"prompt_tokens": {
"type": "integer",
"description": "Number of tokens in the prompt.",
"example": 10
},
"completion_tokens": {
"type": "integer",
"description": "Number of tokens in the generated completion.",
"example": 10
},
"total_tokens": {
"type": "integer",
"description": "Total number of tokens used in the request.",
"example": 10
}
},
"required": [
"prompt_tokens",
"total_tokens"
]
}