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

@pixelsnis/pi-codex-fast-mode

v0.1.3

Published

Adds priority service-tier aliases for available OpenAI and OpenAI Codex models in Pi.

Readme

Codex Fast Mode

Pi extension that adds -fast model aliases for available models from the openai and openai-codex providers. Selecting an alias sends the original model ID with the OpenAI service_tier: "priority" request field.

Install

Install the umbrella Git package to load this extension alongside Plan Mode:

pi install git:github.com/pixelsnis/pi-extensions

To install just this extension from npm, after it has been published:

pi install npm:@pixelsnis/pi-codex-fast-mode

Restart Pi or run /reload after changing package settings. Remove it with pi remove npm:@pixelsnis/pi-codex-fast-mode, or remove the umbrella Git package with pi remove git:github.com/pixelsnis/pi-extensions.

What it changes

At session startup, the extension wraps the registered openai and openai-codex providers when they are available. For each catalogued model whose ID does not already end in -fast, it offers an alias with:

  • ID <original-id>-fast
  • Display name <original-name> (fast)

If the provider's model catalog already contains that alias ID, the extension skips it rather than creating a collision. The alias maps back to the original model ID for requests and adds service_tier: "priority" to the provider payload, while preserving an existing payload callback. Ordinary model IDs pass through unchanged. Providers other than openai and openai-codex are not modified.

The suffix is a model selector alias, not a promise that a request will be faster. Priority-tier availability, billing, rate limits, and eligibility depend on the provider and account. A provider may reject the field or the requested tier. Check current provider terms and usage settings before selecting an alias.

Verify without sending a request

Start Pi with the local extension, then inspect the model selector and look for -fast entries. Do not submit a prompt or select a fast alias just to test it:

pi --no-extensions -e ./extensions/codex-fast-mode

This check depends on the corresponding provider and model catalog being visible in your Pi installation. It does not require sending a model request.

Troubleshooting

  • No -fast aliases: Check that the openai or openai-codex provider is registered and has models in its catalog. A model ID already ending in -fast is not aliased; a colliding alias ID is skipped.
  • A priority request fails: The provider or account may not accept service_tier: "priority", or the requested tier may be unavailable. Retry with the original model ID and consult the provider's current documentation.
  • Normal model requests behave differently: Only openai and openai-codex provider wrappers are installed, and only alias requests receive the priority payload transform. Report reproducible differences with the provider/model ID and Pi version.

Local development

From the repository root, load only this extension in an isolated local Pi session with pi --no-extensions -e ./extensions/codex-fast-mode. The source is index.ts; no build step is required because Pi loads TypeScript extensions directly.