Interface: Usage - TypeSafe AI

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

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.