omp packages

@calesennett/pi-codex-fast0.1.12

pi extension that adds Fast and Ultrafast service tiers to supported OpenAI requests.

calesennett Published 11 days ago ~1.7K downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-codex-fast

Screenshot 2026-07-11 at 10 38 19 AM

This pi extension adds Fast and Ultrafast service tiers to supported OpenAI requests.

Usage

Inside pi:

  • /codex-fast toggles Fast mode.
  • /codex-ultrafast toggles Ultrafast mode.

From CLI:

  • pi --fast
  • pi --ultrafast
  • pi --no-fast disables Fast and Ultrafast modes.

You cannot enable both modes at the same time. --no-fast overrides saved settings, --fast, and --ultrafast. CLI flags do not change saved settings.

Persistence

The extension reads the mode from these pi settings files:

  • global: $PI_CODING_AGENT_DIR/settings.json (or ~/.pi/agent/settings.json)
  • project override: <cwd>/.pi/settings.json

Use the key pi-codex-fast.mode. The allowed values are off, fast, and ultrafast. The extension also accepts the old enabled key.

Writes go to the global settings file.

Behavior

Fast mode sets service_tier: "priority" for these models:

  • openai/gpt-5.4
  • openai/gpt-5.5
  • openai/gpt-5.6-sol
  • openai/gpt-5.6-terra
  • openai/gpt-5.6-luna
  • openai/gpt-6-astra
  • openai/gpt-6-sol
  • openai/gpt-6-luna
  • openai/gpt-6.1-sol

For each model in this list, you can also use the openai-codex/ prefix. This prefix identifies the legacy provider. Fast mode sets service_tier: "priority" with either prefix.

Ultrafast mode sets service_tier: "ultrafast" for these models:

  • openai/gpt-5.6-sol
  • openai/gpt-6-astra
  • openai-codex/gpt-6-astra
  • openai/gpt-6.1-sol
  • openai-codex/gpt-6.1-sol

Before you use Ultrafast mode, check the Codex access requirements or the API access requirements.

The extension does not change other requests.

Example benchmark

A local live benchmark is available in this repository under evals/. Three paired trials per model produced:

Model TTFB speedup Turn speedup Wall speedup
gpt-5.6-sol 1.52x 1.58x 1.57x
gpt-5.6-terra 1.05x 1.34x 1.33x
gpt-5.6-luna 1.30x 2.31x 2.25x
gpt-6-astra 2.24x 2.59x 2.55x
gpt-6-sol 1.25x 1.07x 1.06x
gpt-6-luna 1.02x 2.02x 1.98x
gpt-6.1-sol 2.74x 1.92x 1.89x