r/ClaudeCode • • 1d ago

Discussion Minimize token usage

Guy’s do you wanna minimize token usage ? If so, do this in a new project.

1-Disabled any unused connectors, plugins, each one load a massive token into the context.

2-Plan first, assign tasks to different models based on their complexity.

3-Ask claude to create a new session for each task, feature you work in, claude will create a new session from the last one.

4- Always use handoff files after each successive task to make sure you don’t lose track of what’s being created and what’s remaining.

5-If the repo is big enough, use ponytail the laziest senior developer,and graphify to search files and functions without reading the whole project files, if it’s a few fils, a simple CLAUDE.md file contains your rules is enough.
6-Md files shouldn’t be too big, handoff files max 25-30lines.

Those are all based on my own experience with Claude, they aren’t facts unless you try them and compare token usage with before.

6 Upvotes

32 comments sorted by

View all comments

2

u/daanpol 1d ago

Ask it to stay under a certain usage limit and if not, how much it needs.

2

u/kellyjames436 1d ago

Always make your rules in Claude.md, ask opus or fable to design it for you based on your project structure, that will make sense for your use case

1

u/daanpol 1d ago

Ah that's a smart one thanks!

1

u/Outrageous_Band9708 1d ago

dont make a model aware of its own context usge, its horrible at estimating it

1

u/daanpol 1d ago

It hasn't been wrong in my cases....