UsageSummary
UsageSummary =
object
Usage values normalized by vitest-evals harnesses.
Properties
Section titled “Properties”inputTokens?
Section titled “inputTokens?”
optionalinputTokens?:number
Input, prompt, or request tokens consumed by the run.
metadata?
Section titled “metadata?”
optionalmetadata?:Record<string,JsonValue>
Provider-specific JSON-safe usage details. Cost estimates belong here.
model?
Section titled “model?”
optionalmodel?:string
Model used for the application run.
outputTokens?
Section titled “outputTokens?”
optionaloutputTokens?:number
Output or completion tokens produced by the run.
provider?
Section titled “provider?”
optionalprovider?:string
Provider that served the application run.
reasoningTokens?
Section titled “reasoningTokens?”
optionalreasoningTokens?:number
Reasoning tokens reported by providers that expose them.
retries?
Section titled “retries?”
optionalretries?:number
Retry count observed during the run.
toolCalls?
Section titled “toolCalls?”
optionaltoolCalls?:number
Count of tool calls observed during the run.
totalTokens?
Section titled “totalTokens?”
optionaltotalTokens?:number
Total token count reported by the provider or adapter.