[BUG] Showing and hiding thinking resets the ↓tokens consumed counter

Resolved 💬 2 comments Opened Jan 29, 2026 by rben01 Closed Jan 30, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When showing and then hiding thinking (ctrl-O ctrl-O), the ↓tokens counter starts back at 0 and counts up again even when no tokens were consumed in the interim.

What Should Happen?

Token counter should persist.

Error Messages/Logs

Steps to Reproduce

Send a message to Claude, wait for token counter to pause at a number, press ctrl-O ctrl-O twice, watch token counter restart from 0 and quickly increase.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.23

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗