Install
Install with PiG
pig install npm:token-rate-piInstall with Pi
pi install npm:token-rate-piReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./token-rate.ts"
]
}README
Written by the package's publisher, shown as published in version 1.0.5 (README.md). PiG does not review it.
Token Rate Extension
Shows the average output tokens per second (TPS) in the footer status line.

Setup
Install the package and enable the extension:
pi install npm:token-rate-pi
pi config
Enable token-rate in pi config. Dependencies are installed automatically during pi install.
Usage
- The status line shows
TPS: --until it has enough data. - After each assistant turn, it updates to
TPS: <value> tok/s. - Resets when the session starts or when switching sessions.
File Structure
token-rate/
token-rate.ts # Extension entry point + status updates
package.json # Declares extension via "pi" field
License
MIT (see repository root)