You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
/goal completion should show token usage breakdown, not only combined usage #28083
Codex CLI and Codex Desktop/App, using Goal mode (/goal)
What feature would you like to see?
Summary
/goal currently reports combined usage when a goal completes. I would like the goal completion message to also show a token usage breakdown.
For example, instead of only showing an effective/combined total, the completion receipt could include:
input tokens
cached input tokens
output tokens
reasoning output tokens
effective/combined usage
Why this matters
Goal mode is often used for long-running autonomous work. When a goal finishes, a single combined usage number is not enough to understand where the usage went.
A breakdown would help users tell whether a goal was expensive because of:
large input/context
poor prompt-cache reuse
high reasoning output
large final/output responses
repeated continuation turns
compaction or retry overhead
This would make /goal completion receipts much more useful for debugging unexpected usage and comparing long-running goal sessions.
Expected behavior
When a goal completes, Codex should show something like:
Adding another user-impact data point in support of this request.
In Codex Desktop/App chat, a user asked for the equivalent of Claude Code's /usage report: per-session model usage, input/output/cached/reasoning tokens, wall/API time, limit reset information, and USD cost or a clearly labeled estimate. From inside the app session, the assistant could only report that no active goal usage report was available and that billing/cost data was not exposed.
It would be very useful if Desktop/App tasks exposed a session/task receipt similar to:
model(s) used
input tokens
cached input tokens
output tokens
reasoning output tokens
effective/combined usage
wall time and API time where available
estimated cost or explicit "cost unavailable" reason
relevant plan/limit reset status
This should ideally be available for normal tasks, goal completion receipts, and historical task inspection. The main value is not just debugging token burn; it lets users understand whether a task was expensive because of context size, cache behavior, reasoning effort, tool loops, or output volume.
Activity
zinman commentedon Jul 22, 2026
Adding another user-impact data point in support of this request.
In Codex Desktop/App chat, a user asked for the equivalent of Claude Code's
/usagereport: per-session model usage, input/output/cached/reasoning tokens, wall/API time, limit reset information, and USD cost or a clearly labeled estimate. From inside the app session, the assistant could only report that no active goal usage report was available and that billing/cost data was not exposed.It would be very useful if Desktop/App tasks exposed a session/task receipt similar to:
This should ideally be available for normal tasks, goal completion receipts, and historical task inspection. The main value is not just debugging token burn; it lets users understand whether a task was expensive because of context size, cache behavior, reasoning effort, tool loops, or output volume.