Skip to content

[Feature Request]: Token Count #17987

@Jarvx

Description

@Jarvx

Feature Description

I really enjoy using llama, but is there a better way to track how many tokens we have used in agent workflow?
So far I cannot find any doc about this and the count for cached token is also limited.

I'd say, it's definitely not difficult to implement since each LLM raw response contains this information.

Reason

No response

Value of Feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageIssue needs to be triaged/prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions