[BUG] Claude Code gets stuck sporadically

Resolved 💬 9 comments Opened Jan 7, 2026 by Anthoooooooony Closed Mar 1, 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?

After I send a message, Claude Code sometimes freezes for 5 minutes straight. The UI shows 0 tokens used and just nothing happens. Eventually Claude Code recovers like nothing was wrong.

What Should Happen?

It should respond normally without the long freeze.

Error Messages/Logs

Steps to Reproduce

  1. Start Claude Code
  2. Send any message
  3. UI freezes with "0 tokens used" showing — this happens sporadically
  4. Have to wait or restart Claude Code

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Versions from 2025-09 worked without this issue

Claude Code Version

2.0.76 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Dug into the network requests and realized there's always a pending request to statsig.anthropic.com when this happens.

Quick proof:

  • Force resolve statsig.anthropic.com to localhost
  • The hang goes away

View original on GitHub ↗

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