[BUG] Claude Code hanging on on thinking for prolonged periods of time with no response after thinking
Status Closed — not planned
Maintainer reply None cached
Activity 11 comments · opened Apr 10, 2026 · closed Jul 2, 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?
Claude Code randomly hangs at thinking or other token outputs
<img width="916" height="47" alt="Image" src="https://github.com/user-attachments/assets/73267570-1aea-4db5-9df8-3ed9c66cc829" />
<img width="1558" height="350" alt="Image" src="https://github.com/user-attachments/assets/5289d34d-db8b-44d8-9762-e17c970932a6" />
What Should Happen?
Claude should continue generating tokens
Error Messages/Logs
n/a
Steps to Reproduce
- Prompt something to CC
- It might freeze during thinking.
Claude Model
All
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.97
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
This is also the same on WSL and Debian, it seems to hang especially at 3.4K tokens most of the time.
<img width="286" height="35" alt="Image" src="https://github.com/user-attachments/assets/86475d29-d06a-4d79-931d-8c99533caf64" />
11 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Hi, this bug is still persistent for me, even in the new updates.
<img width="1130" height="90" alt="Image" src="https://github.com/user-attachments/assets/1d72b832-ab70-4d0f-9d33-bc354faac56c" />
Below is another example to push this issue again, also to indicate that this issue still persists on v2.1.117
It got to 22k tokens within a minute or two, then it hung there.
<img width="1114" height="87" alt="Image" src="https://github.com/user-attachments/assets/30e02ba4-63cb-4165-84e4-0decb692fc68" />
Bumping again, executing a plan. It shot up to 14k tokens quickly and then froze there again. Right now it is on medium effort.
<img width="1091" height="73" alt="Image" src="https://github.com/user-attachments/assets/c690cc4e-d70b-4592-b98f-2ca73b267837" />
Why on Earth did I resubscribe to Claude Code. Sigh. Whenever I sign up again, it's just a constant shitshow of debugging issues like this.
I need it for work, otherwise I'd be gone too.
Bump. Still on this issue, it hung at 23,4k tokens during thinking for 5 hours and 23 minutes now.
Got the same thing just now, hung at around 20k tokens for almost 8 minutes straight ...
Bump against closure
Anthropic does not care, and never will.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.