optimaizr
by blendbunjaku
optimAIzr is a command-line tool, with a VS Code extension, that reads the logs kept by Claude Code, Codex and opencode to show where your AI tokens and money are going. It suggests and applies fixes, and can hold back costly messages before they are sent.
- Stars
- 197 +6 a day, est.
- Licence
- MIT
- Runs on
- Your computer
- Setup
- Easy
- Language
- TypeScript
- Age
- 32 days
What you can do with it
- See a breakdown of where your tokens and spending go, with estimated savings in dollars
- Show a cache countdown and hold an expensive message before it is sent to a long, idle conversation
- Apply or undo fixes such as earlier context compaction, then check whether they actually saved anything
Make money with it
"
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Cut the monthly bill for AI coding assistants by finding and removing wasteful usage patterns
- Track how much of a Claude plan's 5-hour and weekly limits each project uses, so work can be planned around them
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Run it with `npx optimaizr` (Node.js required), or install the VS Code extension or Claude Code plugin from the README.
Follow the official instructions in the project README.
Things to check
- Savings figures are estimates based on the author's own usage and may differ for you
- Only useful if you already use Claude Code, Codex or opencode
- Guard and apply features change your agent's settings and hooks
Checked 02 Nov 2026. Summary drafted by AI from the project's README.