[BUG] Incorrect determination of remaining tokens

Resolved 💬 4 comments Opened Jan 21, 2026 by melonask Closed Feb 28, 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?

I see the message “You've hit your limit” but I still have tokens left.

What Should Happen?

Continue creating the plan.

Error Messages/Logs

Steps to Reproduce

Start creating a plan.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.14

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

  • I see the message “You've hit your limit”

---

<img width="885" height="459" alt="Image" src="https://github.com/user-attachments/assets/2b983589-9e2f-44eb-a549-c874d99d04d4" />

---

  • but I still have tokens left

---

<img width="892" height="473" alt="Image" src="https://github.com/user-attachments/assets/95d26622-c340-44d0-9cfe-42a9106fab10" />

<img width="965" height="358" alt="Image" src="https://github.com/user-attachments/assets/6f62db1e-5d74-4448-9960-ea3121e50fb1" />

View original on GitHub ↗

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