@ryan_nookpi/pi-extension-codex-fast-mode
Codex fast mode extension for pi.
Package details
Install @ryan_nookpi/pi-extension-codex-fast-mode from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ryan_nookpi/pi-extension-codex-fast-mode- Package
@ryan_nookpi/pi-extension-codex-fast-mode- Version
0.2.9- Published
- Oct 24, 2026
- Downloads
- 707/mo · 155/wk
- Author
- ryan_nookpi
- License
- MIT
- Types
- extension
- Size
- 9.3 KB
- Dependencies
- 0 dependencies · 2 peers
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
@ryan_nookpi/pi-extension-codex-fast-mode
This extension helps pi use OpenAI Codex in a faster, lower-verbosity mode.
It is intended for openai-codex with the supported gpt-5.6 variants, gpt-6-astra, gpt-6-luna, gpt-6-sol, and gpt-6.1-sol, when you want quick execution and shorter responses.
Install
pi install npm:@ryan_nookpi/pi-extension-codex-fast-mode
Great for
- prioritizing speed over long explanations
- keeping Codex responses concise
- toggling a faster Codex setup per session
Usage
/codex-fast on
/codex-fast off
/codex-fast status
Notes
- Target models:
openai-codex / gpt-5.6-luna,gpt-5.6-sol,gpt-5.6-terra,gpt-6-astra,gpt-6-luna,gpt-6-sol, andgpt-6.1-sol.gpt-5.4andgpt-5.5are no longer targeted. - Command descriptions and status messages abbreviate the list as
gpt-5.6, gpt-6, gpt-6.1-sol; matching still uses the exact model IDs above. - This extension does not register models. All target models are in Pi SDK
1.0.1; availability still depends on your account and workspace. - OpenAI documents Fast mode usage at 2.5x the Standard rate for included subscription limits and 2x for purchased credits and Enterprise pay-as-you-go usage. These are billing multipliers, not speed increases.
- Pi SDK
1.4.0removedopenai-codex/gpt-5.5because the Codex backend rejects it for ChatGPT accounts, so this extension no longer targets it. - It always applies
text.verbosity=low. - When fast mode is enabled, it also injects
service_tier=priorityinto the ChatGPT Codex backend request. Do not substitute the Codex CLI config valuefastwithout verifying backend support. - Live requests with Pi SDK
1.0.1succeeded for all four targeted GPT-6 models withpriorityand low verbosity. The backend returnedservice_tier=default, so this confirms request acceptance, not actual priority scheduling or a speed increase. - The setting is stored locally and persists across sessions.
References
OpenAI documents GPT-6 Astra Fast mode availability and Codex credit consumption: https://developers.openai.com/codex/speed
OpenAI documents Astra and its API Fast mode pricing: https://developers.openai.com/api/docs/models/gpt-6-astra
Pi's model catalog and provider implementation: https://github.com/earendil-works/pi/tree/main/packages/ai/src/providers
OpenAI recommends the Responses API for reasoning models such as
gpt-5.6: https://developers.openai.com/api/docs/guides/textOpenAI documents
text.verbosity=lowfor shorter GPT-5-family outputs: https://help.openai.com/en/articles/5072518-controlling-the-length-of-completionsOpenAI documents
service_tier=priorityas the request-level opt-in for Priority processing on the Responses API: https://developers.openai.com/api/docs/guides/priority-processing