@dihak/pix-models

Pi extension — enhanced /models picker with BenchLM ranks

Packages

Package details

extension

Install @dihak/pix-models from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@dihak/pix-models
Package
@dihak/pix-models
Version
0.1.23
Published
Jul 23, 2026
Downloads
378/mo · 378/wk
Author
dihak
License
MIT
Types
extension
Size
45.5 KB
Dependencies
2 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "src/extension.ts"
  ]
}

Security note

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

README

pix-models

Pi extension — enhanced /models picker with coding score/rank.

What it does

Registers a /models slash command that replaces Pi's built-in /model selector with a richer TUI picker. Each row shows the model id, context window, per-million-token cost, and a coding-focused score/rank (with star bar) when available. The list is sorted by coding score (best first), then alphabetically for unscored models. Fuzzy search filters the list as you type. Tab and Shift+Tab cycle next/previous model; Enter selects. Selecting a model switches the active model for the session. Model metadata is sourced from ~/.cache/pi/ via pix-data (modelgrep), with registered Pi model cost/contextWindow filling gaps for private or gateway models not in the catalog; the coding score/rank is computed locally from the modelgrep catalog (best = #1). Requires @dihak/pix-data as a dependency.

Install

pi install npm:@dihak/pix-models

Also included in @dihak/pix-core:

pi install npm:@dihak/pix-core

Full distro

Source: github.com/dihak/pix-mono

To install the complete pix suite (all packages + Pi itself):

curl -fsSL https://raw.githubusercontent.com/dihak/pix-mono/main/scripts/install.sh | sh

License

MIT