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.81 adds bare flag for scripting, fixes authentication and voice mode issues
Claude Code v2.1.81 introduces a --bare flag for scripted -p calls that skips hooks, LSP, and plugin sync, requiring ANTHROPIC_API_KEY or apiKeyHelper via --settings. The release also fixes multiple concurrent session authentication issues, voice mode error handling, and adds --channels permission relay.

Pope Leo XIV's Encyclical on AI: Key Takeaways for Developers
The Vatican released an encyclical on AI ethics. The document highlights LLM interpretability issues, cultural biases in training data, and the environmental cost of AI.

AWS Bedrock Silently Kills Claude Opus 4.7 Quota: A Warning for Production AI Workflows
An HN user reports AWS Bedrock set their Claude Opus 4.7 quota to 0 without warning. AWS support confirms it was a system update and cannot guarantee restoration. Users are advised to migrate to Opus 4.6 or switch providers.

Claude Skills Evaluation & Regression Testing with Snowflake Cortex Agent
A production Claude credit risk agent on Snowflake Cortex Agent needs regression testing for skills changes. The team currently evaluates results manually against existing BI queries, seeking automation.