Skip to main content

Interface: Usage

Documentation Index

Fetch the complete documentation index at: https://docs.typesafe.ai/llms.txt Use this file to discover all available pages before exploring further.

Interface: Usage

Token usage for a request.

Properties

input_tokens

readonly input_tokens: number;

Number of input tokens used.


output_tokens

readonly output_tokens: number;

Number of output tokens used.