[BUG]

Resolved 💬 3 comments Opened Apr 27, 2026 by LeandroGuaridoOliveira Closed May 29, 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?

Im getting Out of tokens in just one single prompt with Claude Opus 4.7 in Medium effort.

it happend two times now, before the new releases, the type of prompts that i gave would analyse, think, work, and get in maximum half of the session tokens, my last two prompts that are supposed to be normal, got out of tokens without even finish the Thinking part

What Should Happen?

I guess it should get in maxium half of the session, and im considering that im using

Error Messages/Logs

Steps to Reproduce

Its a private job so i cant put archives, basicaly i gave it a medium task list, it made it all, then i ask for a summary of what it did, it gave me, after that i tested all the job and found new issues, i appointed the issues and it started to solve the problems, and run out of tokens, i waited to the new session tokens, and just asked to continue the new task list, it did two simple fixes and run out of tokens again

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

4.7 before the last 2 or 3 releases

Claude Code Version

2.1.119 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

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