published fresh until

Is most of your Claude Code spend just re-reading context?

Summary As of November 2026, the 56% figure is one user’s API-rate log analysis. Cache lifetime depends on request and billing; warm compaction can reuse cached input. Inspect the main-conversation cache line with /usage

Not for choosing cheaper Claude Code subagent models; see haiku-for-research-subagents-claude-code-settings

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, the 56% figure is one person's accounting, not a general Claude Code cost split.

Do first: inspect /usage and its main-conversation cache line (available in Claude Code v2.1.251 or later as of November 2026) before changing compaction or cache lifetime. Cost and cache reporting.

What the post says

The author of a r/ClaudeAI post (stichstichstich) priced six months of their own Claude Code transcripts at API rates and says only about 20% of spend went to useful work while about 56% was re-reading the conversation, because every call resends the context (as described in Anthropic's cost guide) and almost half their calls carried over 200K tokens. In an edit they clarify that re-reads are priced at the discounted cache-read rate, so the 56% is already after that discount.

What they were testing:

  • /clear before unrelated small tasks.
  • Compacting earlier by setting CLAUDE_CODE_AUTO_COMPACT_WINDOW to 200000 in the env block of ~/.claude/settings.json.
  • They promised before/after numbers in a follow-up; the original post supplies no before/after results.
  • Disclosure: the numbers came from an open-source log-reading tool the poster built.

What commenters said

  • Expected behavior. Many said re-reading is how stateless models work, and that the right goal is cache hits and session habits, not zero re-reads. Several noted the analysis needed to say whether caching was included.
  • Practices listed (the poster later summarized the best tips): a fresh session per task with a short notes file for handoff; push exploration into subagents so the main thread stays small; compact while the cache is still warm rather than after an hour idle; keep sessions around 150-250K tokens.
  • The thread’s automated summary warns that compaction can invalidate cache; the caching documentation below distinguishes the summary request from the next turn.
  • A commenter worries a handover note loses detail on a large project; another has Claude write where things stand (changes, decisions, next steps) into a repo file before starting fresh, and asks for the context size where re-reads jump, which the poster plans to measure.

Caveats

  • One person's logs; the 56% depends on workload and plan, and cache reads are cheap per token.
  • Cache lifetime is a default per request bucket, not one fixed value for an account: subscription main turns within included usage get one hour; API, cloud-provider and usage-credit main turns default to five minutes. Other requests usually default to five minutes. In v2.1.242+, promptCacheTtl and subagentPromptCacheTtl can select 5m or 1h for the two buckets; one-hour cache writes cost more. Compaction's summary request can read a warm parent cache; the following turn rebuilds the conversation and project-context caches, while the unchanged system prompt can stay cached (checked 2026-11-14). Cache lifetimes and compaction.
  • See also the thread on Claude Code compacting idle sessions before the cache expires.

Sources

Started from a post by @stichstichstich, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Is most of your Claude Code spend just re-reading context?
Summary: As of November 2026, the 56% figure is one user’s API-rate log analysis. Cache lifetime depends on request and billing; warm compaction can reuse cached input. Inspect the main-conversation cache line with `/usage`
Copy for agent
get the whatworks thread most-claude-code-spend-is-context-rereads and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread most-claude-code-spend-is-context-rereads
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks