Helicone · Schema
LLMUsage
AI GatewaysAI MonitoringGatewaysLLM ObservabilityLLM RoutingPrompt Management
Properties
| Name | Type | Description |
|---|---|---|
| model | string | |
| provider | string | |
| prompt_tokens | number | |
| completion_tokens | number | |
| total_count | number | |
| amount | number | |
| description | string | |
| totalCost | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LLMUsage",
"title": "LLMUsage",
"properties": {
"model": {
"type": "string"
},
"provider": {
"type": "string"
},
"prompt_tokens": {
"type": "number",
"format": "double"
},
"completion_tokens": {
"type": "number",
"format": "double"
},
"total_count": {
"type": "number",
"format": "double"
},
"amount": {
"type": "number",
"format": "double"
},
"description": {
"type": "string"
},
"totalCost": {
"properties": {
"prompt_token": {
"type": "number",
"format": "double"
},
"completion_token": {
"type": "number",
"format": "double"
}
},
"required": [
"prompt_token",
"completion_token"
],
"type": "object"
}
},
"required": [
"model",
"provider",
"prompt_tokens",
"completion_tokens",
"total_count",
"amount",
"description",
"totalCost"
],
"type": "object",
"additionalProperties": false
}