GeezerVison is showing github.com — [FEATURE]: v2: show per-step and per-turn cost in the token usage view · Issue #53121 · anomalyco/opencode
[FEATURE]: v2: show per-step and per-turn cost in the token usage view #53121
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Hello!
When I open the debug.turn_tokens usage view I can see how a turn splits into steps by token counts (New / Cached / Total), but there's no cost dimension, so I can't tell which step actually cost the most.
It would help to see the spend next to the tokens:
- A
Cost column in the expanded per-step table, each row showing its incremental spend (e.g. +$0.0004).
- A turn total on the collapsed summary line (e.g.
· $0.0012 cost).
Related, but different scope: #46636 reports a units bug on this same summary line, and #41915 / #39740 ask for cost elsewhere (a /usage report and the session footer).
👉 I'm about to open a PR for this 😉
EDIT: Opened #53156 !
Activity
github-actions commented on Oct 4, 2026
This issue might be a duplicate of existing issues. Please check:
changed the title
[-][FEATURE]: show per-step and per-turn cost in the token usage view[/-] [+][FEATURE]: v2: show per-step and per-turn cost in the token usage view[/+] on Oct 4, 2026opencodejr commented on Oct 27, 2026
Thanks for the request, @bew! To restate it: you'd like the debug.turn_tokens usage view to show cost as well as tokens. That means a Cost column with each step's incremental spend in the expanded table, plus a turn total on the collapsed summary line. Right now the view only shows New / Cached / Total token counts, so it's hard to tell which step cost the most.
Maintainers will consider it, and thanks for opening #53156 alongside it.
Related issues:
Metadata
Metadata
Development
No branches or pull requestsIssue actions