Costs and balance
- Locally estimated costs: calculated from Claude's logs under
%USERPROFILE%\.claude\projects, for today, this month and the last 5 hours, by project and model. Only metadata is read, never content. The calculation uses list price, it is not Anthropic's invoice. You can place your own price list asprices.json, it overrides the built-in one. - API costs according to Anthropic: through the cost API, if an admin key is stored. According to Anthropic, these values can lag by several hours.
- Estimated balance: the starting value from the Console, plus top-ups, minus the API costs since the starting value. It is a calculation, not the Console balance.
All costs are estimates.