In this case, the developer's application probably handled the context incorrectly. If you can choose a model, choose Haiku 4.5, which is one-third the price of Sonnet. Haiku is very fast. I use Claude Code in the terminal. The way I manage context is to open a new terminal when there is only about 10% of the conversation left. Copy the unfinished task conversation to the new conversation. It is accurate and efficient. I don't use Claude Code's automatic conversation compression function. Automatic conversation compression always causes many problems, the context connection is also very poor, and it is very slow.
Discussion
nostr:npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p found that it was trying to read console errors and ballooning costs but I’ll tag him here just in case there’s some useful info.