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!
2 Answers
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.
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?
Related Questions
Online Hash Generator - String to Hash Converter
Convert CSV To HTML Table
Convert Json To Xml
Bitrate Converter
JavaScript Multi-line String Builder
GUID Generator