@ravshansbox/pi-cost

Cost report extension for pi

Packages

Package details

extension

Install @ravshansbox/pi-cost from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@ravshansbox/pi-cost
Package
@ravshansbox/pi-cost
Version
2.0.1
Published
Oct 16, 2026
Downloads
213/mo · 213/wk
Author
ravshansbox
License
MIT
Types
extension
Size
17.6 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-cost

Cost report extension for pi.

Install

pi install npm:@ravshansbox/pi-cost

Usage

Pi loads the command from ./index.ts. Run /cost to open the cost report UI above the editor, then use the tabs to switch between day, week, month, and all views.

For example, run /cost, inspect the week tab for provider totals, and press Backspace on a selected provider to remove that provider's assistant messages from session logs, including mapped multi-provider entries such as Claude Multi.

Development

npm install
npm run check