Skip to content

[FR] Token Usage for Eval Agents #4017

@uttamdeb

Description

@uttamdeb
Image

Currently, I am unable to find token usage details of the eval agents that run against a trace. I can find only the token usage usage details of my app's actual agent as belows. If I could get the details of the eval agent's token usage, then I could keep track of how much my eval agent is costing me.

{
  "completion_tokens": 389,
  "original_usage.completion_tokens": 389,
  "original_usage.completion_tokens_details.audio_tokens": 0,
  "original_usage.completion_tokens_details.reasoning_tokens": 192,
  "original_usage.prompt_tokens": 6472,
  "original_usage.prompt_tokens_details.audio_tokens": 0,
  "original_usage.prompt_tokens_details.cached_tokens": 1152,
  "original_usage.total_tokens": 6861,
  "prompt_tokens": 6472,
  "total_tokens": 6861
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions