pi-rakit-token-speed

Show live token streaming speed in the Pi status bar

Packages

Package details

extension

Install pi-rakit-token-speed from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-rakit-token-speed
Package
pi-rakit-token-speed
Version
0.1.0
Published
Sep 1, 2026
Downloads
111/mo · 111/wk
Author
anandamw
License
MIT
Types
extension
Size
4.8 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

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

README

Pi Rakit Token Speed

A Pi extension that shows the current token streaming speed in the status bar.

Install

pi install npm:pi-rakit-token-speed

During an assistant response the footer displays an updating estimate such as:

⚡ ~42.5 tok/s

When the response finishes, the extension replaces the estimate with a final rate calculated from the provider-reported output token usage:

⚡ 40.8 tok/s

The timer starts at the first streamed content delta, so provider time-to-first-token is not included. Text, reasoning, and tool-call deltas contribute to the live estimate. The status is cleared when the next assistant response starts or the session shuts down.