Skip to main content

Attributes

FieldDescription
input_tokensNumber of tokens in the prompt/input to the model.
output_tokensNumber of tokens generated by the model as output.
total_tokensTotal tokens used (input + output).
audio_input_tokensAudio tokens in the input.
audio_output_tokensAudio tokens in the output.
audio_total_tokensTotal audio tokens (if using audio input/output).
cache_read_tokensTokens served from cache (if caching is used).
cache_write_tokensTokens written to cache.
reasoning_tokensTokens used for reasoning steps (if enabled).
time_to_first_tokenTime until the first token is generated (in seconds).
durationTotal run time (in seconds).
provider_metricsProvider-specific metrics (dict).
additional_metricsAny extra metrics provided by the model/tool (e.g., latency, cost, etc.).
Note: Not all fields are always present; it depends on the model/tool and the run.
I