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-openai-fast

v1.0.1

Published

Focused Pi extension for OpenAI Fast Mode priority service-tier requests.

Readme

pi-openai-fast

A small Pi extension that lets you turn on OpenAI Fast Mode from inside Pi.

When Fast Mode is active, the extension asks OpenAI for the priority service tier on supported OpenAI models and shows a simple fast indicator in Pi.

Fast Mode also follows newly launched Pi subagents, so workers, reviewers, scouts, and other child sessions can use the same Fast Mode preference automatically.

Install

pi install git:github.com/studioarray/pi-openai-fast

Use it

Inside Pi, run:

/fast

That toggles Fast Mode on or off for your current Pi session.

You can also start a Pi run with Fast Mode already requested:

pi --fast

Works with subagents

Turn on /fast once in your parent Pi session, then launch subagents as usual. Newly started subagents inherit the same Fast Mode preference.

That means a subagent can request OpenAI priority too, as long as it is using a supported model and has this extension available.

For a quick sanity check, ask a subagent to print PI_OPENAI_FAST_DESIRED. A value of 1 means Fast Mode was handed off to that subagent.

How it behaves

Fast Mode only turns on when both of these are true:

  1. You have requested Fast Mode with /fast or --fast.
  2. Your current Pi model is in the supported-model list.

If you turn Fast Mode on while using an unsupported model, Pi keeps your preference but does not send priority requests until you switch to a supported model.

By default, /fast is session-only. If you want Pi to remember your choice between runs, enable persistence in the config below.

Supported models

Fast Mode is currently supported by these Pi model keys:

[
  "openai/gpt-5.4",
  "openai/gpt-5.5",
  "openai-codex/gpt-5.4",
  "openai-codex/gpt-5.5"
]

You can change this list in your config. Model names must match Pi's provider/model key exactly.

Configure it

Config files can live in either place:

  • Global: ~/.pi/agent/extensions/pi-openai-fast.json
  • Project: .pi/extensions/pi-openai-fast.json

Project config overrides global config.

Example config:

{
  "persistState": true,
  "desiredActive": true,
  "supportedModels": [
    "openai/gpt-5.4",
    "openai/gpt-5.5",
    "openai-codex/gpt-5.4",
    "openai-codex/gpt-5.5"
  ],
  "footer": {
    "mode": "replace"
  }
}

Common options:

  • persistState: set to true if /fast should be remembered between Pi runs.
  • desiredActive: the saved on/off preference used when persistState is true.
  • supportedModels: exact model keys that may use Fast Mode.
  • footer.mode:
    • replace shows fast next to the model name in Pi's footer. This is the default.
    • status leaves Pi's normal footer alone and shows a plain status indicator.
    • off hides Fast Mode UI feedback. Priority requests still work when Fast Mode is active.

Customize the fast label color

In the default replace footer mode, the fast label follows your Pi theme automatically.

If you want custom colors, set one or both of these fields:

{
  "footer": {
    "mode": "replace",
    "darkFastColor": "#00ffaa",
    "lightFastColor": "#0066cc"
  }
}

If a custom color is invalid or missing, Pi falls back to the theme-matched color.

Troubleshooting

I turned Fast Mode on, but I do not see fast.

Check that your current model is in supportedModels. Also check that footer.mode is not set to off.

My /fast choice is not remembered after restarting Pi.

Set "persistState": true in your config.

My subagent does not seem to be using Fast Mode.

Subagents only inherit Fast Mode when they start after /fast is turned on. The subagent also needs to use a supported model. To debug, ask it to print PI_OPENAI_FAST_DESIRED; 1 means the preference was inherited.

I see a config warning.

Check that your JSON is valid and that every entry in supportedModels is an exact provider/model key.

Does this guarantee faster responses?

No. The extension requests OpenAI's priority service tier when possible. Actual availability, latency, and billing behavior depend on OpenAI and your account.

Reference attribution

Inspired by pi-better-openai.