@stagefright5/pi-openai-fast
Toggle OpenAI Fast mode (priority service tier) in pi
Package details
Install @stagefright5/pi-openai-fast from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@stagefright5/pi-openai-fast- Package
@stagefright5/pi-openai-fast- Version
0.1.3- Published
- Oct 17, 2026
- Downloads
- 292/mo · 18/wk
- Author
- stagefright5
- License
- Unlicense
- Types
- extension
- Size
- 14.2 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
OpenAI Fast
Adds service_tier: "priority" (OpenAI Fast mode) to requests for the openai and openai-codex providers.
Back to the extension workspace
Installation
Install the standalone package:
pi install npm:@stagefright5/pi-openai-fast
For source development and tests, see the source README and workspace development guide.
Usage
/fasttoggles it and atomically saves{ "enabled": true }orfalseingetAgentDir()/openai-fast.json, an owner-only file. It never rewrites Pi's shared settings. Until a saved override exists, the effective mergedopenaiFastsetting remains the default.pi --fastturns it on for one run without saving.- The footer shows
⚡︎while it is on and the current model is OpenAI. With Compact Status Bar, it appears immediately after the thinking/effort level.
It is off by default. /fast only turns on while an OpenAI model is selected.
Notes
- Priority costs more credits or money. OpenAI may still serve the request at the normal tier.
- Other providers are never changed.
- Don't combine it with another extension that sets
service_tier.