token-rate-pi
v1.0.2
Published
Token rate status extension for pi-coding-agent - shows average output tokens per second
Downloads
121
Maintainers
Readme
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@latest
pi configEnable 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" fieldLicense
MIT (see repository root)
