[BUG] Discrepancy in Context Remaining

Resolved 💬 3 comments Opened Nov 30, 2025 by keith-leto Closed Dec 3, 2025

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?

After turning off the auto-compact feature (and thinking mode for Opus 4.5) in /config, I see a discrepancy between what is reported in the UI. I think the 5% warning here is a bug, because it should be 26.7%

<img width="1706" height="1220" alt="Image" src="https://github.com/user-attachments/assets/c2fb4c84-cb58-4aea-9834-2e4640e36cc4" />

What Should Happen?

Claude needs to explain why there is a discrepancy, if this isn't a bug.

  • Version: 2.0.55
  • Model: claude-opus-4-5-20251101
  • /context shows 27% remaining (53k/200k)
  • Status bar shows 5% remaining
  • These should be consistent or the difference explained

Error Messages/Logs

Steps to Reproduce

  • Turn off auto-compact
  • Turn off thinking mode
  • Run /context when you get the "% left until auto-compact" warning

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.55

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

Keep up the amazing work!

View original on GitHub ↗

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