npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-scoped-models-extra-info

v1.0.5

Published

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

Readme

pi-scoped-models-extra-info

Interactive table of your pi coding agent's scoped models — pricing, context window, thinking levels, modalities, and optional coding benchmarks.

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 coding benchmarks
  • Sortable — press n (name), i (input price), o (output price), c (coding 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 coding benchmarks — per-thinking-level coding index from Artificial Analysis (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: Ctrl+Alt+F

Navigation

| Key | Action | |-----|--------| | / k | Move selection up | | / j | Move selection down | | Home / Ctrl+A | Jump to first model | | End / Ctrl+E | Jump to last model | | Enter / Space | Switch to selected model | | n | Sort by model name | | i | Sort by input price | | o | Sort by output price | | c | Sort by coding index | | q / Esc | Close table |

Configuration

Coding benchmarks (optional)

The extension can show Artificial Analysis coding 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 coding index column.

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
├── LICENSE               # MIT
└── README.md             # This file