Maciek-roboblog/Claude-Code-Usage-Monitor
I’ve been trying out Claude Code lately using the Claude Pro plan. One thing I’m curious about is the actual value of using the Claude Pro plan versus using the Claude Code CLI with a normal Claude API token: you can use either method. Claude Code itself has a /cost
command which will print out token cost information in-app if you are using a Claude API key but it doesn’t tell you any cost data if you’re using the app with a Claude Pro subscription.
It turns out that in either case Claude Code logs your whole session’s messages to disk in jsonl
files that this CLI app can read and give you token usage/cost information anyway. I’m curious if my real usage will be more than $20 worth of token usage in a month thus making the Claude Pro subscription a better value than just using a Claude API key.