claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Token and Time Counter Missing in Normal Mode 1.0.83

Open smixs opened this issue 1 year ago • 27 comments

Bug Report

Token counter missing in normal mode (only shows with verbose output) - v1.0.83

Environment

  • Version: Claude Code 1.0.83
  • Platform: macOS (Darwin 24.6.0)
  • Terminal: WarpTerminal / Terminal
  • Model: Any

Issue Description

The token counter and execution time display has disappeared from the normal interface and only appears when "Verbose output" is enabled. This forces users to enable verbose mode to see token usage, which clutters the terminal with excessive debug information.

Expected Behavior

Token counter should be visible in normal mode without requiring verbose output, as it was in previous versions.

Current Behavior

  • Normal mode: No token counter visible
  • Verbose mode: Token counter appears (e.g., "6s · 20 tokens · esc to interrupt") along with excessive debug output

Steps to Reproduce

  1. Ensure verbose output is disabled (/config → Verbose output: false)
  2. Send any query to Claude
  3. Notice no token counter is displayed
  4. Enable verbose output (/config → Verbose output: true)
  5. Send query again
  6. Token counter now appears but with excessive verbose information

Impact

Users cannot monitor token usage without enabling verbose mode, which significantly clutters the terminal output. Token monitoring is essential for:

  • Usage tracking and cost management
  • Performance monitoring
  • Query optimization

Proposed Solution

Restore token counter display in normal mode as a separate UI element, independent of verbose output setting. Verbose output should only control debug information, not basic usage metrics.

Priority

High - This affects core UX and financial control for users.

smixs avatar Aug 17 '25 06:08 smixs

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/5929

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 17 '25 06:08 github-actions[bot]

You can add it using /statusline command

Status Line Configuration

marcoscale98 avatar Aug 17 '25 10:08 marcoscale98

You can add it using /statusline command

Status Line Configuration

@marcoscale98 do you mind sharing how? The JSON data that's available in the input structure doesn't contain anything about the token counts so I'm not sure how to reproduce it using the statusline feature.

cahilfoley avatar Aug 19 '25 09:08 cahilfoley

You can add it using /statusline command

Status Line Configuration

@marcoscale98 do you mind sharing how? The JSON data that's available in the input structure doesn't contain anything about the token counts so I'm not sure how to reproduce it using the statusline feature.

I have tried it, but I noticed that it's bugged, maybe because it's not have data from JSON input

marcoscale98 avatar Aug 19 '25 12:08 marcoscale98

+1 we need this back

kirkouimet avatar Aug 19 '25 16:08 kirkouimet

100% this has to be coming back, otherwise it is not possible to tell if CC is just stuck (which does happen, especially behind various wonky internal corporate proxies) or legitimately streaming e.g. multi-thousand token response.

nktl avatar Aug 20 '25 12:08 nktl

Was pretty confused to see this suddenly disappear.. can we please have this back?

johtso avatar Aug 20 '25 15:08 johtso

It’d be great if we could get the token counter back in normal mode.

  • Super useful for keeping an eye on context size, debugging prompts, and tracking cost.
  • Right now the only option is --verbose, which works but clutters the output a lot.
  • The simple counter was one of the most handy features, and losing it really slows things down.

Any chance it could be restored, or maybe just a flag like --show-tokens so we can toggle it without full verbose mode?
Would make life a lot easier for those of us using Claude Code every day.

fbzhong avatar Aug 21 '25 17:08 fbzhong

Agreed, --verbose is not a suitable solution, it is not a mode you would like to run day to day (too much noise), perhaps useful for debugging, etc.

On the other hand, token counter is immensely useful - especially when dealing with flaky proxies, providers, etc. PLEASE add option to bring it back, perhaps via statusline parameter or something like that.

nktl avatar Aug 22 '25 20:08 nktl

Claude Code team has added the /context command recently that comes close to what you want. I think It won't be long before we see the tokens in the statusline as well.

For Time Counter, it has been added the cost.total_duration_ms in the JSON input for the statusline. You can configure it via /statusline command

marcoscale98 avatar Aug 22 '25 20:08 marcoscale98

people mentioning statusline or context command are giving incorrect information. This token count is specifically required during the streaming of cc , and helps to work out if cc is hung or streaming a large response. This is different to the token usage percentage stats relevant to the entire cc session. Right now there is no way to configure this feature unless verbose mode is on where most people don't need the full debug logs.

btebbutt96 avatar Aug 25 '25 02:08 btebbutt96

+1, what version can we npm install -g downgrade to to get those back?

KJ7LNW avatar Aug 25 '25 17:08 KJ7LNW

~~this fixes it, in fact I think this can probably close the ticket: /config -> enable verbose mode~~

**correction: ** while this works, verbose is far too verbose! there should be a setting just for the token ticker:

Image

KJ7LNW avatar Aug 25 '25 17:08 KJ7LNW

Hi everyone! We just added a feature to tweakcc to re-enable the token counter and the elapsed time automatically without having to run Claude Code with --verbose option. To try it out, just run npx tweakcc --apply . Enjoy!

bl-ue avatar Aug 25 '25 17:08 bl-ue

Bring it back please

artnikbrothers avatar Aug 26 '25 03:08 artnikbrothers

+1 Please bring it back! I'm running out of limits without ever knowing what's happening and how I can stop it when I'm working under pressure.

mahnoorfirdous avatar Aug 26 '25 10:08 mahnoorfirdous

The users want it! I've cancelled one claude subscription because of the new limits, and if I could see the tokens I'm using and use that information to properly tune my configuration, maybe that will avoid it happening with others or even cause me to give you more money!

brandon-fryslie avatar Aug 26 '25 20:08 brandon-fryslie

ccstatusline allows you to configure the status line to see context window token count, input token count, output token count and cache token count

marcoscale98 avatar Aug 26 '25 20:08 marcoscale98

Please bring this back

cleggypdc avatar Sep 04 '25 11:09 cleggypdc

Yeeaaah I'm gonna call conspiracy here. This is a fucking psyop. I don't know any self-respecting developer in existence, an engineer of AI at the frontier no less, employed at Anthropic, who would do such a thing given the regime involved here. We all know API requests can drop, we've all seen it. You need a pulse on the connection. This is a dark pattern in business where you obfuscate the numbers and create unnecessary fog of war, this way your customers can't track when the regime has changed in a way that doesn't benefit you, uses more tokens for the same functionality. Can't tell when the ingredients changed, shaved off a couple grams of product weight. It gives them pathways for frog boiling, slowly reversing quality and normalizing it, whereas with a precise pulse on every number the users are 24/7 keeping a tab psychically, performing free energy minimization in their brain to drive the token count lower and lower for the same behavior or better. This is all aligned with immoral business practices as well as their anti-acceleration constitution.

oxysoft avatar Sep 04 '25 17:09 oxysoft