Sonnet is wasting token doing something simple
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Other unexpected behavior
What You Asked Claude to Do
I asked Claude to put a simple save button on a page that has four drop downs on so that it can save the values in the dropdown and I told it what page it was on
What Claude Actually Did
Claude proceeded to search my entire code base looking for this file when I told it exactly where the file was then it creates a plan to put a button on this page but it grabbed the wrong page So then I explained to it that it had the wrong page and it finally goes and creates the right plan, But at this point it's already spent 31% of my tokens For something that I could have done myself in about two minutes
Expected Behavior
It should have found my page without having to Spend 15% of my tokens. And it certainly shouldn't have taken 31% of my tokens to put a single button on a single page at that point you're stealing from me. It cost me way too much for Claude to put a single button on a single page that's ridiculous.
Files Affected
Permission Mode
Accept Edits was OFF (manual approval required)
Can You Reproduce This?
Haven't tried to reproduce
Steps to Reproduce
_No response_
Claude Model
Sonnet
Relevant Conversation
Impact
High - Significant unwanted changes
Claude Code Version
2.1.81 (Claude Code)
Platform
Anthropic API
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗