ResponseUsageResource interface
model interface ResponseUsageResource
Properties
| input_tokens | The number of input tokens consumed by the Decision request. |
| input_tokens_details | A breakdown of input token usage, including prompt caching. |
| output_tokens | The number of output tokens generated for the Decision request. |
| output_tokens_details | A breakdown of output token usage, including reasoning. |
| total_tokens | The total number of input and output tokens used by the Decision request. |
Property Details
input_tokens
The number of input tokens consumed by the Decision request.
input_tokens: number
Property Value
number
input_tokens_details
A breakdown of input token usage, including prompt caching.
input_tokens_details: InputTokensDetailsResource
Property Value
output_tokens
The number of output tokens generated for the Decision request.
output_tokens: number
Property Value
number
output_tokens_details
A breakdown of output token usage, including reasoning.
output_tokens_details: OutputTokensDetailsResource
Property Value
total_tokens
The total number of input and output tokens used by the Decision request.
total_tokens: number
Property Value
number