[BUG] Claude Code Chat not stopping and wasting tokens

Resolved 💬 4 comments Opened Mar 10, 2026 by greenfalcon44 Closed Apr 8, 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 just upgraded to the max plan, and then was using the Claude Code Chat in Visual Studio Code that's integrated with my project and I tried stopping it from doing what it was working on, and it wouldn't stop. Then it gave a error message and kept trying to continue though I kept trying to stop it. It ended up wasting a ton of my tokens. I'm pretty upset. It'd be nice to get 1 session gifted to my account. But good luck getting that...

So many times, if I click the stop button in Claude Code Chat, it keeps going, running into error message loops, and wasting a ton of credits till my whole session is wasted; which breaks the loop. I can't even use my old chat now for fear it'll use up the rest of my session usage so I had to start a new chat...
I'd be nice if someone could fix the stop button. It's pretty serious if you can't stop the AI chat from running.

What Should Happen?

Clicking Stop, should stop Claude code chat immediately.

Error Messages/Logs

Steps to Reproduce

if I click the stop button in Claude Code Chat while it's working, it keeps going, running into error message loops, and wasting a ton of credits till my whole session is wasted; which breaks the loop.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.12

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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