Pay for what fits.
Decadra reads the session logs Claude Code and Codex write locally, prices your usage under every plan the vendor sells, and reports each provider on its own. Nothing leaves your machine.
Why it exists
Token counts measure consumption, not output, and the units differ between vendors. So Decadra never sums or ranks them. It gives every provider its own block, and one opinion about that provider's own plans.
Runs inside the agent's shell
Run !decadra now from the ! shell in Claude Code or Codex.
It prints one block in about 200 milliseconds: this session so far, today, and month to
date against the plan you hold. No browser tab, no lost context.
Where your usage sits against every tier
decadra assess prices your list-equivalent usage under every plan the
vendor sells, so you can see whether a flat-rate tier is comfortably covering you or
barely keeping up.
Each provider, its own math
Claude Code tokens and Codex tokens aren't the same unit, so Decadra never adds them up or ranks them. Each gets its own block. The only number that spans providers is what you paid, not what you used.
Local reads, offline by default
Token and cost math run through ccusage, always --offline. Decadra makes
zero network calls today. An opt-in price-refresh command is planned for a later
release.
| tool | native usage view | from the agent shell | prices it against other plans | no separate login |
|---|---|---|---|---|
| Claude Code | /usage: quota bars, burn rate, reset time | yes | no | yes |
| Codex | /status or a web dashboard: quota %, reset time | yes | no | yes |
| Cursor | web dashboard; a balance figure in editor settings | no | no | no |
| Devin | web dashboard: ACU balance per task | no | no | no |
| Muse Code | not publicly confirmed as of this writing | unconfirmed | no | no |
| Decadra | decadra now: one command, Claude Code and Codex today | yes | yes | yes |
Get it running
- Node.js 22.13 or later
- Today: build from source (left). v0.4.0 is unreleased, not yet on npm.
- Once published:
npm install -g decadragives you thedecadracommand directly - First run writes
~/.decadra/plans.jsonwith plan prices as of 2026-09-05, hand maintained, never overwritten
| command | what it does |
|---|---|
decadra now | this session, today, and month to date against the plan you hold |
decadra baseline add | record what you pay for today, append only |
decadra assess | effective cost under every plan the vendor sells, one provider at a time |
decadra sessions | turns, duration, and commit signals per session, medians per provider |
decadra doctor | checks config, local data, pricing coverage, git, and ccusage |
decadra alerts check | plan-change alerts from stored verdict history, quiet unless one fires |
| provider | commands that produce data |
|---|---|
| Claude Code | nowassesssessionsdoctor |
| Codex | nowassesssessionsdoctor |
| Cursor | nowassesssessionsdoctorusage import planned |
| Devin | nowassesssessionsdoctorreader planned |
| Muse Code | nowassesssessionsdoctorreader planned |
Frequently asked questions
$ what is decadra
$ does it send anything over the network
--offline. There is no opt-in price refresh yet either.
Decadra makes zero network calls today.
$ which providers work today
now, assess,
sessions, alerts,
baseline, and doctor
work for Claude Code and Codex. Cursor, Devin, and Muse Code adapters exist and their
doctor check confirms whether the local files are there, but reading usage from them
(a Cursor CSV import, manual entry for Devin, a native Muse reader) is planned, not
built yet.
$ how is this different from ccusage
decadra now, are what
Decadra adds on top.
$ why won't it tell me the cheapest provider
$ what does now do inside an agent
! shell in Claude Code or
Codex and it prints one block for the session you are in: this session so far, today,
month to date against your plan, pace to month end, ceiling evidence, and the last
plan-fit verdict. It exits 0 on every readout, including empty ones, because the agent reads the output too.