@deathbeam/pi-usage

Minimal extension for token usage and cost per provider, model and project.

Packages

Package details

extension

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

$ pi install npm:@deathbeam/pi-usage
Package
@deathbeam/pi-usage
Version
0.0.3
Published
Oct 29, 2026
Downloads
417/mo · 257/wk
Author
deathbeam
License
MIT
Types
extension
Size
27.2 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

@deathbeam/pi-usage

Use the /usage command for a fullscreen dashboard of token usage and costs.

Installation

# Choose one:
pi install npm:@deathbeam/pi-usage               # this package
pi install git:github.com/deathbeam/pi-packages  # all my packages

Development

From this package directory:

npm install
npm test
pi install .