api-cost

by Fabax · ★ 0 · updated 5 days ago

BandsStatus lineReskinsCommandsPromptwarnings

0

Shows what each request, the session and the billing month would cost at Claude API list prices, read from the transcripts

install api-cost

Install

/plugin marketplace add Fabax/claude-mod-api-cost
/plugin install api-cost@api-cost

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startprompt.submitturn.stepsession.measureturn.completesession.endcommand.runui.render
API calls
$.clock.now$.clock.sleep$.command.register$.http.fetch$.process.run$.session.id$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptCommandOutput
Can see
every prompt
Reach
level 3 of 3 networkruns processesreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Fabax/claude-mod-api-cost
Path in repo
repository root
Source commit
2608783 the exact code the scan read
Author
@Fabax
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.