← Reddit

Claude stores loads of data on our machines in a secret folder - I made it visible and would love some input from the the sub on how to give more insights

Reddit · Bren-dev · May 21, 2026
A developer created TokenOptics, a tool that visualizes conversation data stored locally by Claude, displaying metrics including token usage, cache reads, and spending patterns. The application operates entirely client-side without backend infrastructure and takes approximately two minutes to connect, enabling analysis of spending by conversation and comparison between pay-as-you-go and plan pricing. TokenOptics currently supports Chromium browsers only.

Detailed Analysis

A developer has identified that Claude, Anthropic's AI assistant application, stores substantial conversation and usage data in a local folder on users' machines — data that is not surfaced through the standard interface but is nonetheless accessible on-device. The developer built a browser-based tool called TokenOptics (available at tokenoptics.dev) that reads this locally stored data and renders it into visual dashboards showing token consumption, cache reads, prompt costs, and conversation-level spending breakdowns. The tool requires no backend infrastructure, processes everything client-side, and connects within approximately two minutes, pulling in the full conversation history stored on the device.

The practical value the developer highlights is significant for cost-conscious users, particularly those on pay-as-you-go pricing. One concrete finding illustrated in the post is that frequently switching conversational contexts within a single session — without using Claude's `/clear` or `/compact` commands — causes the system to re-read large amounts of cached context unnecessarily, potentially doubling token expenditure. This kind of inefficiency is invisible through Claude's standard interface, meaning users may routinely overspend without any feedback mechanism to correct their behavior. TokenOptics makes this waste legible by visualizing token usage by conversation, project, and branch.

The post also touches on a broader economic concern within the Claude user community: the long-term viability of flat-rate subscription plans as AI providers face mounting infrastructure costs. The developer speculates that providers, including Anthropic, will likely move toward consumption-based pricing over the coming years, making granular token-tracking tools increasingly important for budgeting and workflow optimization. This sentiment reflects a growing awareness among power users that the economics of AI usage are shifting, and that understanding one's own consumption patterns will become a practical necessity rather than a curiosity.

From a technical standpoint, the discovery that Claude stores rich structured metadata locally — including token counts, cache behavior, and session identifiers — suggests that Anthropic's desktop client architecture logs considerably more telemetry than is exposed to end users. Whether this data collection is documented in user agreements or privacy disclosures is not addressed in the post, but the fact that a third-party developer was able to locate, parse, and visualize it raises reasonable questions about transparency. The data's local-only storage does mitigate some privacy concerns, as no information leaves the device when using TokenOptics, but the existence of the hidden folder itself may prompt users to scrutinize what is being captured and why.

The TokenOptics project fits within a broader pattern of community-driven tooling emerging around large language model interfaces, where official developer documentation and built-in analytics often lag behind the actual complexity of usage patterns. As Claude and competing models are adopted more deeply into professional development workflows, third-party observability tools like this one are filling a genuine gap. The open-source nature of the project, hosted on GitHub, positions it as a foundation for community contribution, and the developer's explicit solicitation of ideas for additional charts and analytics signals an intent to expand the tool's capabilities in response to user needs.

Read original article →