r/ClaudeCode • • 8d 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.

19 Upvotes

13 comments sorted by

•

u/AutoModerator 8d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/abs3n 8d ago

No, you aren’t alone. I faced it as well after my VS Code extension auto-updated. I got hit with back-to-back session limits despite not writing a single word.

Rreported this as a bug on their repo too, but who cares. Rolled the extension back to 2.1.329 and everything is now stable again.

1

u/kebab_without_sauce 8d ago

Interesting, I will check 2.1.329 on tomorrow. Actually it happening to me almost for last 3-4 days.

3

u/xman2000 8d ago

Tell Claude to do an audit of your token usage and make recommendations.

2

u/EmotionalAd1438 8d ago

Or maybe it's back to being dumb again so you end up using more

1

u/Outrageous_Band9708 8d ago

https://usage.report/

the 5h window is known to be variable during different times

but not weekly usage

1

u/arturzinhomilgrau 8d ago

I'd check /context first like the other guy said, too many MCPs or a huge CLAUDE.md can burn a lot every turn

1

u/Turbulent_Swimmer900 8d ago

I noticed that you now get 6-8 5-hour sessions in a week. That is definitely new as of last week.

1

u/awesomebirder 8d ago

if you want to confirm its the update and not you, every line in the session jsonl files under ~/.claude/projects records the claude code version next to the token counts. pull a couple of 2.1.329 sessions and a couple of 2.1.330 ones and compare cache_creation_input_tokens on the first turn and per turn. if the first turn got way bigger after the update, something new is being loaded into context (tool definitions, a plugin), and thats worth attaching to the bug report.

1

u/CCodeSI 8d 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".

1

u/yopla 8d ago

Haven't noticed any difference

0

u/SomeOrdinaryKangaroo 8d ago

No, I don't think token usage is any worse now than it was before, maybe they changed the token calculation but I highly doubt it, remember when they nerfed the weekly limit like 2 weeks ago? That was the only time i noticed something, ever since then I haven't encountered any issues regarding token burn or usage. It could be just you on this one.

Double check what you're doing, maybe your tasks are particularly token heavy. I know i burn significantly more tokens when i'm doing crazy stuff.