Has Anyone Noticed the Missing Cost Tracking in Claude Code Logs?

0
5
Asked By CuriousCoder42 On

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

Answered By LogiCalDesigns On

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.

Answered By TechieTinker On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.