Skip to content

Add token metrics as a field on ModelOutputThunk #607

Closed

Description

@ajbozarth

During review on #563 it was noted that it may be helpful to have programmatic access to the token metrics. In order to do this we would need the token metrics to be in a standard place in ModelOutputThunk. Currently they are stored in a different place per backend.

Ref:

Activity

  1. self-assigned this
    on Mar 9, 2026
  2. ajbozarth commented on Mar 9, 2026

    @ajbozarth
    MemberAuthor

    I've marked this as part of the metrics epic, I'll most likely implement it during my reimplementation to use hooks/plugins, as having a standard location to look at would streamline it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions