Skip to content

Token usage reporting in Codex to show Input token + Cache token in Token Usage #4729

Closed

Description

@Chetansuri7

What feature would you like to see?

In Codex versions up to 0.41, the /status command displayed cache token usage separately, and the same breakdown was also shown after running /quit.

In the current version, the /status output now shows only total token usage (combined input and output), without separately listing cache tokens. While functional, this change makes it more difficult to calculate the precise cost of a task, since cache tokens are billed differently.

Example from current version:

Token usage: 7.49K total (7.38K input + 105 output)
Context window: 100% left (7.49K used / 272K)
Limits: data not available yet
Token usage: total=7,485 input=7,380 output=105

Request: Restore the separate cache token figure in /status and /quit outputs to improve cost calculation accuracy.

Additional information

No response

Activity

  1. added
    enhancement
    on Oct 4, 2025
  2. tibo-openai commented on Oct 16, 2025

    @tibo-openai
    Collaborator

    This is an intentional change, marking as resolved but we might revisit in the future!

  3. mkaalto commented on Nov 4, 2025

    @mkaalto

    This is an intentional change, marking as resolved but we might revisit in the future!

    The change made the output less clear than previously. Could you describe, or link to the discussion why the change was made & what was the reasoning behind? Thank you

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions