r/ClaudeCode • • 7d ago

Bug / Issue Claude Code (2.1.330) - Higer Token Usage

Is it only me but I'm feeling that Claude Code's 5 hours session has drained under 20-30 minutes, previously it was taking at least 1.5-2 hours me. I'm using Opus 5.5 Medium effort.

I think they have definitely changed token calculations or there is somethings wrong with Claude code source-code itself.

18 Upvotes

13 comments sorted by

View all comments

1

u/CCodeSI 7d ago

A 4-5x jump that sudden is usually one of three things, and they're quick to tell apart:

  1. Context size per turn. Run /context at the start of a session. If MCP tools, a big CLAUDE.md or a new skill/plugin is eating tens of thousands of tokens, every single turn pays for it. A plugin or MCP update can add that without you noticing.
  2. Cache misses. When the prompt cache stops hitting, each turn is billed for the whole context again instead of the cheap cached rate, and usage climbs several times over with no change in what you're doing. Things that break it: something in the system prompt or tool list that changes every turn (a timestamp, an MCP server whose tool list shifts), or long pauses between turns.
  3. The version itself. Easy to check: pin the previous version for one session (npm i -g @anthropic-ai/claude-code@<previous> if you installed via npm), run the same kind of task, and compare /usage before and after. If the old one is back to 1.5 hours, it's a regression worth a GitHub issue with both numbers, which gets looked at much faster than "feels higher".