Skip to content

Enable token usage to be reported in CLI for any session #2947

@keithboone

Description

@keithboone

Describe the feature or problem you'd like to solve

Github CLI should be able to track token usage for a session.

Proposed solution

Token usage is a cost metric. Tracking token usage by session allows users to track their usage.

Example prompts or workflows

How many tokens have we used so far?
How many tokens have we used since the last time I asked this question? (e.g., Are we there yet?)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:context-memoryContext window, memory, compaction, checkpoints, and instruction loading
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions