Has Anyone Noticed the Missing Cost Tracking in Claude Code Logs?
Asked by
CuriousCoder42
I've been using a Python script to monitor my Claude Code usage on the $200/month MAX plan, ensuring I get my money's worth compared to the $100 plan or the pay-as-you-go option. I analyze token usage and generate daily Excel reports to assess my spending. However, I recently noticed that all my recent usage data shows $0.00 due to a change in Claude Code's logging format. The cost information used to be included in the JSON logs, but now it's completely absent. I've searched thoroughly but can't find where the cost data might have gone. I want to know if anyone else has noticed this change around June 3rd and how you're handling it. If you have a better approach than web scraping for pricing updates or if you've found any documentation on this change, please share!
Answers
I noticed the same issue! I was using a tool to track the data and suddenly everything went silent on the cost front. It's frustrating because I was relying on that data for my budgeting and usage analysis. I ended up switching my tracking strategy too, using token counts to estimate costs. Just like your setup, itโs a step back, for sure. I totally agree that transparency is key, and losing actual cost data feels like a big loss for folks like us trying to manage expenses effectively. Has anyone in the community reached out to Anthropic about this?
Reply to this answer
Yeah, I saw this change too! It's wild that theyโd just remove cost tracking without notice. I checked the ccusage project, and they had some discussions about this issue, but it seems like a proper fix isnโt out yet. I think they might have thought the new format was more efficient or something, but it only complicates things for us who need clear cost data. If you find any solutions in the ccusage logs, please share! I'm keen to know if they offer any updates.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions