@pi-plugins/speed

Inference speed extension for pi-agent: tokens/sec and time to first token.

Packages

Package details

extension

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

$ pi install npm:@pi-plugins/speed
Package
@pi-plugins/speed
Version
0.1.8
Published
Sep 14, 2026
Downloads
725/mo · 288/wk
Author
kedom1337
License
MIT
Types
extension
Size
240.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.mjs"
  ]
}

Security note

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

README

@pi-plugins/speed

See estimated generation speed and time to first token in pi, above the editor.

Install

pi install npm:@pi-plugins/speed

To try it for one session without changing your settings:

pi -e npm:@pi-plugins/speed

Usage

Send a prompt. The status line updates automatically as measurements become available:

~48 tok/s · TTFT 920ms
  • ~48 tok/s means approximately 48 tokens per second, based on recent responses from the selected model.
  • TTFT means time to first token: how long the model takes to start responding.

There are no commands or settings. Use elapsed to track the full agent run, including tool calls.