Anthropic Guide: 5 Ways to Stop Burning Tokens in Claude Code
Arindam_1729 · x · 2026-08-27
Anthropic released a guide explaining how Claude Code consumes tokens (e.g., context like logs from turn 2 persists through turn 40) and offers optimization strategies:
- Run /clear between tasks: Prevents irrelevant prior context from being resent.
- Set model and effort level upfront: Changing mid-conversation busts the prompt cache, increasing costs.
- @-mention files: Attaches files directly, saving a Read call or search.
- Quiet flags or subagents: Prevents noisy command output from bloating the context window.
- Use /context and /compact: Check loaded contents to cut bloat; summarize before the prompt cache expires (1 hour) for cheaper processing.
Related event: Anthropic Shares Official Guide to Cut Claude Code Token Usage(2 posts)→
More from coding & agent
- User says Grok agents killed his Gmail habit — Musk amplifies the agent-takes-over-email workflow — elonmusk · 2026-11-30
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- SteerCamp launches on iPhone: AI coworkers run cloud PCs while you approve on the go — pramodk73 · 2026-11-30
- Returning to Squad after 6 months: the agent OS feels far more mature — ayushtweetshere · 2026-11-30
- Indie dev vibe-codes a native iOS RSS app with 183 curated AI sources, awaiting TestFlight — vista8 · 2026-11-30
- AI Slides: Why Text-Layer Separation and Native PPTX Both Fall Short, and When to Pick Which — dotey · 2026-11-30