DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to find where Claude Code tokens are wasted with Optimaizr

Run one report on your local logs to see savings ranked by how sure they are, in dollars.

Short answer: Run npx optimaizr in a terminal; then read the Savings found section and the Where it goes breakdown; run optimaizr sessions to see your costliest conversations. All steps.

Who it is forA developer on a Claude Pro or Max plan whose usage limits run out early and who wants to know why.

The problemIn a long session most of the spend goes to re-reading the conversation, which is hard to see from the bill.

The outcomeA ranked list of savings from your own logs, split into clear waste, likely and up to, with spend broken down by model, project and kind of work.

What you need first

  • Node.js 20.11 or later (22.13 or later to read opencode history)
  • Existing usage logs from Claude Code, Codex or opencode on this machine
  • A terminal

Steps

  1. Run npx optimaizr in a terminal.
  2. Read the Savings found section and the Where it goes breakdown.
  3. Run optimaizr sessions to see your costliest conversations.
  4. Run optimaizr why to see spend by model, project and kind of work.

Prompt for your agent

Run `npx optimaizr` from the optimaizr repo (github.com/blendbunjaku/optimaizr) on this machine and report the Clear waste and Re-reading the conversation figures. Verify that the savings are reported per month and that the three savings tiers are not added together.

Caveat. All figures come from logs on your machine, and the README's sample numbers are the author's own usage, not yours.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for blendbunjaku/optimaizr and "Find where Claude Code tokens are wasted"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer