← Reddit

I used 5.18B Claude Code tokens in 2 months. 96% were cache reads. Am I doing this right?

Reddit · lina_d_inrahd · July 4, 2026
A software developer reported using 5.18 billion Claude Code tokens over four months while building a large SaaS product, with 96% of tokens consisting of cached reads and only 0.49% being output tokens. The total cost was approximately $4,110.78, though early July usage patterns suggested a potential monthly burn rate exceeding $13,000. The developer implemented an extensive Claude Code workflow featuring skills, agents, guardrails, and review agents to minimize defects in feature implementations.

Detailed Analysis

A Reddit user's deep dive into their Claude Code token consumption offers a revealing window into how heavy, professionalized use of AI coding assistants actually behaves at scale. Over roughly four months of building a SaaS product with feature parity against an established competitor, the developer racked up 5.18 billion tokens and $4,110.78 in spend. The breakdown is striking: input and output tokens combined account for less than 1% of total usage, while cache reads make up 96.38% and cache creation another 3.01%. This yields a cache read-to-create ratio of roughly 32:1, and an effective blended cost of about $0.79 per million total tokens — far cheaper than raw API pricing would suggest, thanks to Anthropic's prompt caching architecture doing the heavy lifting.

The economics here matter because they illustrate how Claude Code's cost structure diverges sharply from naive assumptions about "token usage." Prompt caching allows repeated context — system prompts, tool definitions, codebase snippets, prior conversation state — to be stored and re-read at a steep discount rather than reprocessed at full input-token rates. For a workflow like this one, which layers in skills, custom agents, guardrails, type checks, CI integration, AI code review, and adversarial review agents, the system is effectively re-injecting large amounts of stable context on every turn. A 96% cache-read rate isn't necessarily a red flag; it may reflect a well-architected agentic pipeline where large, mostly-static context (repo structure, style guides, prior plans) is reused efficiently rather than regenerated. But the user's own math also flags a real risk: extrapolating July's early-month burn rate ($422/day) to a full month implies roughly $13,000 — an order of magnitude jump from June's $2,356.81, despite total token volume looking similar. That divergence between "tokens" and "dollars" is the crux of the confusion, since cache reads and cache writes are priced very differently from fresh input/output tokens, meaning raw token counts can be a misleading proxy for cost trajectory.

This case matters beyond one developer's spreadsheet because it exposes a broader tension in the current wave of agentic coding tools: as workflows become more sophisticated — multi-agent review chains, guardrail checks, adversarial critique passes — they multiply the number of times context gets reloaded into the model, even if each pass is individually cheap due to caching. Anthropic has leaned heavily on prompt caching as a mechanism to make long-context, tool-heavy, agentic workloads economically viable, and this post is essentially a real-world stress test of that mechanism at serious scale. It also highlights an emerging skill gap among power users: understanding cache-hit economics, context window management, and when to prune or restructure prompts is becoming as important as understanding the model's raw capabilities. Developers running large repos with CI-integrated AI agents are, in effect, becoming amateur FinOps engineers for their own AI infrastructure.

More broadly, this thread reflects how quickly "vibe coding" and agentic software engineering have moved from novelty to infrastructure-grade practice, complete with cost monitoring, workflow tuning, and community benchmarking of what "normal" usage looks like. As coding agents like Claude Code get embedded into serious production pipelines — with automated review loops, guardrails, and multi-agent orchestration — the industry is still establishing norms for what efficient usage even means. Questions like the ratio between cache reads and cache creates, or what a "healthy" monthly token budget looks like for a large codebase, don't yet have settled answers, and posts like this one function as informal crowdsourced benchmarking for a discipline that barely existed two years ago. It also underscores a pricing signal for Anthropic and competitors: as usage patterns mature, the gap between raw token volume and actual dollar cost will increasingly shape how developers architect their agentic workflows, favoring designs that maximize cache reuse and minimize redundant context reconstruction.

Article image Read original article →