8 weeks of Claude Code logs show where subagents and cache actually move the token bill
Blocboiven · reddit · 2026-07-24
A developer published 8 weeks of Claude Code usage logs and broke down what actually affects token consumption.
- The chart tracks one Mac from Jun 1 to Jul 24, 2026, across 13,600 requests.
- The main focus is output tokens per week, split between the main model and subagents.
- One annotated week shows subagents being forced to Sonnet, plus a codebase wiki being read instead of re-exploring the project.
- Another chart shows fresh input tokens per 1k output, with weekly numbers ranging roughly from 10K to 24.4K.
- The source data comes from local /.claude/projects//.jsonl logs, with cache hit rates between 92% and 97% and 3.35B cached reads versus 153M fresh input tokens.
More from coding & agent
- Resin lets an agent build standalone LLM inference engines; vLLM and SGLang optimize DeepSeek kernels differently — AccBalanced · 2026-10-27
- How I let my cloud Grok Bot code on my Mac mini via Tailscale, no public ports — talkaboutdesign · 2026-10-27
- Context layout is a cost decision: one memory edit can bust your entire agent prompt cache — dscape · 2026-10-27
- Alchemy adds effect/Workflow support across Durable Objects, Workflows and Lambda Durable Functions — samgoodwin89 · 2026-10-27
- Alchemy's Lambda Web Functions run plain Node web servers on Lambda, no OpenNext needed — samgoodwin89 · 2026-10-27
- Alchemy makes all ~2,850 AWS bindings work from any cloud, not just S3/Lambda/DynamoDB — samgoodwin89 · 2026-10-27