Analysis of 100M tokens in Claude Code reveals 99.4% input usage

Token usage breakdown from 100M tokens tracked
A detailed analysis of Claude Code usage tracked 1,289 requests across extended coding sessions, totaling approximately 100.9M tokens. The breakdown reveals a significant imbalance between input and output tokens.
Token distribution:
- Input tokens: 100.3M (99.4% of total)
- Cached tokens: 84.2M (84% of input)
- Output tokens: 616K (0.6% of total)
The context re-reading bottleneck
Claude Code spends 99.4% of its token budget reading context and only 0.6% writing code. This pattern isn't specific to Claude Code but reflects how all agentic coding systems currently operate. Every time Claude Code makes a move — reading a file, running a command, editing code — it requires the full context to be fed back in, including repository structure, conversation history, tool results, and error logs.
The 84M cached tokens represent the same context being re-sent 1,289 times because the model lacks persistent memory between turns. Unlike human developers who maintain a mental model of their codebase, Claude Code follows a pattern of: forget everything → re-read everything → write code → forget everything again.
Prompt caching limitations
Anthropic's prompt caching makes this process cheaper but doesn't make it faster. The bottleneck isn't inference speed — it's the re-reading loop. The analysis suggests the real unlock for Claude Code and agentic coding in general would be persistent project memory — not just saved facts via memory files or CLAUDE.md, but a compressed, evolving understanding of the codebase that carries forward across sessions.
Current systems essentially brute-force intelligence through repeated context instead of building understanding. The day this changes could make AI coding genuinely faster by eliminating the need to repeatedly process the same information.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code v2.1.150 Adds Remote System Prompt Injection via Network
Claude Code v2.1.150 fetches system prompts from Anthropic servers at startup and every 60 seconds via a GrowthBook feature flag, allowing remote injection—bypassed with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1.

Claude Code v2.1.211: Subagent Text Forwarding, Permission Fixes, and Vim Mode Changes
Claude Code v2.1.211 adds --forward-subagent-text flag, fixes permission preview spoofing, improves subagent model overrides, and updates Vim s/S to work in NORMAL mode.

Two South African Home Affairs Officials Suspended Over AI Hallucinations in Policy Paper
Two officials were suspended after AI hallucinations were found in the reference list of a revised white paper on citizenship, immigration, and refugee protection. The department will implement AI checks and review all policy documents back to Nov 2022.

Claude Desktop v1.1.5749 Adds Computer Control and Corporate Proxy Fixes
Claude Desktop v1.1.5749 introduces computer use capability with MCP server for desktop control, adds six macOS TCC permission management methods, and fixes corporate proxy SSL certificate issues by forwarding NODE_EXTRA_CA_CERTS, SSL_CERT_FILE, and SSL_CERT_DIR environment variables.