Usage
Последний полученный расход токенов. Пропущенные отчёты не восстанавливаются из истории. Кешированные входные токены входят во входные, токены рассуждения входят в выходные. Учитывается сохранённая детализация.
Тип: object
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
input_tokens | Да | integer | format: "int64"minimum: 0 |
cached_input_tokens | Да | integer | format: "int64"minimum: 0 |
output_tokens | Да | integer | format: "int64"minimum: 0 |
reasoning_output_tokens | Да | integer | format: "int64"minimum: 0 |
total_tokens | Да | integer | format: "int64"minimum: 0 |
JSON Schema
json
{
"type": "object",
"description": "Last reported token consumption; missed reports are not reconstructed from history. Cached input and reasoning output are included in input and output respectively. The breakdown is recorded only since collection began; historical usage is not reconstructed.",
"required": [
"input_tokens",
"cached_input_tokens",
"output_tokens",
"reasoning_output_tokens",
"total_tokens"
],
"properties": {
"input_tokens": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"cached_input_tokens": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"output_tokens": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"reasoning_output_tokens": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"total_tokens": {
"type": "integer",
"format": "int64",
"minimum": 0
}
}
}