-
Notifications
You must be signed in to change notification settings - Fork 691
Description
Summary
The Codex cost summary can show a completely implausible combination of cost and token count, for example $0.08 · 2.3B tokens.
Why this looks wrong
2.3B tokens is billions of tokens. That volume cannot plausibly cost only $0.08, so at least one of these values is being computed or displayed incorrectly.
What I expected
The displayed token count and displayed USD cost should be internally consistent for the same underlying usage.
What happened
The UI showed a tiny cost together with an enormous token count ($0.08 · 2.3B tokens).
Screenshot
Suspected cause
This looks more like a token aggregation/parsing issue than a pricing-table issue.
Possible areas to inspect:
- Codex log parsing of
total_token_usagevslast_token_usage - delta calculation when cumulative counters reset, roll over, or are re-read from cache
- duplicate counting across files/sessions
- summary token totals coming from a different source than cost totals
Notes
I initially investigated a separate menu hover issue, but after reviewing the screenshot more closely, the core user-visible bug seems to be the cost/token inconsistency itself.
