Aller au contenu

@mirego/forra-api


@mirego/forra-api / All Types / TokenUsage

Interface: TokenUsage

Properties

cache_creation_tokens?

optional cache_creation_tokens: number


cache_tokens?

optional cache_tokens: number


input_tokens?

optional input_tokens: number


long_context_cache_tokens?

optional long_context_cache_tokens: number


long_context_input_tokens?

optional long_context_input_tokens: number


long_context_output_tokens?

optional long_context_output_tokens: number


long_context_reasoning_tokens?

optional long_context_reasoning_tokens: number


output_tokens?

optional output_tokens: number


reasoning_tokens?

optional reasoning_tokens: number


tool_usage?

optional tool_usage: Record\<string, number>


total_cost?

optional total_cost: number


total_tokens?

optional total_tokens: number