Skip to content

Usage ​

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.

Type: object

FieldRequiredTypeDescription and constraints
input_tokensYesintegerformat: "int64"
minimum: 0
cached_input_tokensYesintegerformat: "int64"
minimum: 0
output_tokensYesintegerformat: "int64"
minimum: 0
reasoning_output_tokensYesintegerformat: "int64"
minimum: 0
total_tokensYesintegerformat: "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
    }
  }
}

All schemas · HTTP API