pi-scoped-models-extra-info

Pi coding agent extension — interactive table of your scoped models with pricing, context window, thinking levels, modalities, and Artificial Analysis Intelligence Index

Packages

Package details

extension

Install pi-scoped-models-extra-info from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-scoped-models-extra-info
Package
pi-scoped-models-extra-info
Version
1.3.0
Published
Oct 29, 2026
Downloads
300/mo · 268/wk
Author
kdejaeger
License
unknown
Types
extension
Size
170.6 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "image": "https://raw.githubusercontent.com/kdejaeger/pi-scoped-models-extra-info/main/screenshot.png",
  "extensions": [
    "index.ts"
  ]
}

Security note

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

README

pi-scoped-models-extra-info

Interactive table of your pi coding agent's scoped models — pricing, context window, thinking levels, modalities, and the optional Artificial Analysis Intelligence Index.

Screenshot

Features

  • Rich model table — shows all your enabled (scoped) models in one view
  • Columns: model slug, input price, output price, context window, input modalities, thinking levels, and the AA Intelligence Index
  • Sortable — press m (model), i (input price), o (output price), a (AA index)
  • Model switching — press Enter on any row to switch to that model
  • Keyboard navigation — ↑↓/jk to move, Home/End to jump, q/Esc to close
  • Optional AA index — per-thinking-level Artificial Analysis Intelligence Index (if AA_API_KEY is set)

Installation

Via git (pi package manager)

pi install git:github.com/kdejaeger/pi-scoped-models-extra-info

Then reload pi (/reload) or restart.

Via local clone

Clone the repo and add to ~/.pi/agent/settings.json:

{
  "extensions": [
    "~/pi-scoped-models-extra-info/index.ts"
  ]
}

Usage

Run the command:

/scoped-models-extra-info

Or use the keyboard shortcut: Alt+E

Navigation

Key Action
↑ / k Move selection up
↓ / j Move selection down
Home Jump to first model
End Jump to last model
PageUp Page up through the model list
PageDown Page down through the model list
Enter / Space Switch to selected model
m Sort by model
i Sort by input price
o Sort by output price
a Sort by AA Intelligence Index
f Toggle free-models-only filter
q / Esc Close table

Configuration

AA Intelligence Index (optional)

The extension can show Artificial Analysis Intelligence Index scores per thinking level. To enable this:

  1. Get an API key from artificialanalysis.ai
  2. Set the environment variable before starting pi:
export AA_API_KEY="aa_your_key_here"
pi

Or add to your ~/.bashrc / ~/.zshrc:

export AA_API_KEY="aa_your_key_here"

Without this variable, the extension works perfectly — it just omits the AA index column.

Data credit: index values are sourced from Artificial Analysis and shown under their API terms. Free-tier keys only cover the /language/models/free endpoint, which publishes the Intelligence Index and the six capability indices — the old Coding Index was retired by AA.

What it shows

The table displays only the models you have enabled/scoped in your pi settings.json (enabledModels). If you haven't scoped any models, it shows all available models.

Pricing comes from pi's built-in model registry — it's accurate for all providers pi supports (OpenAI, Anthropic, Google, OpenRouter, Groq, etc.).

Thinking levels are resolved from each model's capabilities, with smart fallback for OpenRouter-proxied models.

Package structure

pi-scoped-models-extra-info/
├── index.ts              # Extension source
├── package.json          # Pi package manifest
├── screenshot.png        # Table screenshot
└── README.md             # This file