claude-code - 💡(How to fix) Fix [BUG] Claude Code freezes during thinking or at a random token while still consuming usage limits [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53122Fetched 2026-04-26 05:23:50
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

Error Message

Claude Code should either complete the response or return a timeout/error and stop consuming limits. In its current state, this can be perceived as misleading for users. Claude experiences failures relatively often, and users receive no compensation, which may be considered an unfair practice. The process stalls, does nothing, and tokens/limits continue to be consumed. No error message is shown.

Fix Action

Fix / Workaround

Claude Code sometimes freezes halfway through a response - either during the extended thinking phase or on a random token - and completely stops generating output. Despite no visible activity, it continues to consume tokens and user limits. The only workaround is CTRL+C and resending the prompt.

RAW_BUFFERClick to expand / collapse

What's Wrong?

Claude Code sometimes freezes halfway through a response - either during the extended thinking phase or on a random token - and completely stops generating output. Despite no visible activity, it continues to consume tokens and user limits. The only workaround is CTRL+C and resending the prompt.

Environment

System: Windows 11 Installation method: native installer (irm https://claude.ai/install.ps1 | iex) Model: claude-sonnet-4-6 (default)

What Should Happen?

Expected behavior

Claude Code should either complete the response or return a timeout/error and stop consuming limits. In its current state, this can be perceived as misleading for users. Claude experiences failures relatively often, and users receive no compensation, which may be considered an unfair practice.

Actual behavior

The process stalls, does nothing, and tokens/limits continue to be consumed. No error message is shown.

Steps to Reproduce

  1. Run Claude Code on any project (e.g. C# code analysis)
  2. Send any prompt
  3. Claude freezes on a random token
<img width="609" height="56" alt="Image" src="https://github.com/user-attachments/assets/40d756b7-d220-41b8-a0ef-56666f85fff0" /> <img width="1052" height="57" alt="Image" src="https://github.com/user-attachments/assets/69c7ee68-50de-4d54-9fa9-0a07e505a1ba" />

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.119 (native, win32-x64)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

extent analysis

TL;DR

The issue can be temporarily mitigated by using CTRL+C to stop the process when Claude Code freezes and then resending the prompt.

Guidance

  • Verify that the issue is indeed a regression by checking if older versions of Claude Code (if available) exhibit the same behavior.
  • Try to identify patterns in when the freezing occurs, such as specific prompts or project types, to potentially isolate the cause.
  • Consider reporting the issue to the developers with detailed steps to reproduce and any patterns found, as this could be a bug that needs fixing.
  • Since the issue is confirmed to be a regression, checking for any updates to Claude Code that may address this problem is advisable.

Notes

The provided information does not specify the previous working version, which could be crucial for identifying the cause of the regression. Without this information, pinpointing the exact cause or providing a definitive fix is challenging.

Recommendation

Apply workaround: Given the current information, the best course of action seems to be continuing to use CTRL+C to stop the process when it freezes and resending the prompt, while awaiting a potential fix from the developers.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Claude Code should either complete the response or return a timeout/error and stop consuming limits. In its current state, this can be perceived as misleading for users. Claude experiences failures relatively often, and users receive no compensation, which may be considered an unfair practice.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Code freezes during thinking or at a random token while still consuming usage limits [1 comments, 2 participants]