[BUG] Claude Code freezes during thinking or at a random token while still consuming usage limits

Resolved 💬 4 comments Opened Apr 25, 2026 by sefinek Closed May 28, 2026

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

View original on GitHub ↗

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