UsageAppears in · Band / Inline / Pane / ToastAdded

optimAIzr

Turn cost, the 5-hour window and a cache countdown as Claude works plus switches that pay.

optimAIzr · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
✶ Thinking · $0.18 · 61% of 5h…
61% of 5h · ~2h 25m left at this pace · resets 01:00
cache warm 10m more, then 300K is written again ($2.40)
optimaizr: this turn $0.18 · 4 requests · 5h 55% → 56%
❯

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add blendbunjaku/optimaizr
/plugin install optimaizr@optimaizr
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads cost, tokens, context and plan windows, the commands Claude runs, and files under ~/.optimaizr.

Writes files

Yes

Writes one state file per session and handoff notes per project under ~/.optimaizr/mod.

Runs commands

Unspecified

Not stated explicitly in README; no process launches seen in code.

Network

Yes

Handoff asks Claude for a note through your session and injects it next time; can switch request models.

Introduction

optimAIzr is a Claude Code mod from the optimAIzr CLI that puts what your session costs where you work.

  • Spinner and band: the turn's cost so far and your 5-hour window on the spinner; above the prompt, how long the window lasts at this pace and when it resets.
  • A line under each answer: the turn's cost, requests and window change; a switched turn leads with what it saved.
  • Cache countdown: past 50K tokens, the last 15 minutes before the cache expires count down, with a toast at 5 minutes and the next message's cost after.
  • /optimaizr handoff: Claude writes a three-line note while the cache is warm; after /clear the next conversation starts from it.
  • Switches: model or effort swaps you accept with Y in optimaizr live apply from the next request; /optimaizr off goes back.
  • Retry guard: the same command failing twice unchanged is held once and Claude is asked to change something.

/optimaizr hud opens gauges in a pane. The author states Claude Code 2.1.287 or later.

Who it is for

  • People watching per-turn cost and the 5-hour window who want to spend fewer tokens

Requirements

  • Claude Code ≥ 2.1.287
  • Model and effort switches need the optimaizr CLI (npm) running optimaizr live.
  • The author's tests last ran on 2.1.286, which needed the early-access flag.