@semanaut/zpi-tps-footer
pi extension: live model output speed (tokens/s) in the footer — the current generation rate, measured continuously and always visible after the model name, plus the session id; developed against the pi version given by the piVersion field
Package details
Install @semanaut/zpi-tps-footer from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@semanaut/zpi-tps-footer- Package
@semanaut/zpi-tps-footer- Version
1.2.1- Published
- Nov 2, 2026
- Downloads
- 691/mo · 73/wk
- Author
- semanaut
- License
- MIT
- Types
- extension
- Size
- 32.4 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions/*.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@semanaut/zpi-tps-footer
Live model output speed (tokens/s) in the pi footer, plus the session id.
The headline feature is the throughput readout: while the model is generating, every completed token is counted and the current output rate — <t/s> — is displayed after the model name, updating live. It is always rendered (NULL t/s only before the first measurement), so you can watch how fast your model actually streams.
Replaces pi's built-in footer via ctx.ui.setFooter() and reproduces it, adding exactly two elements:
- line 2, after the model name:
• <t/s>— the live output rate - line 1, right-aligned: the session id
Install
pi install npm:@semanaut/zpi-tps-footer