← Catalog

@calesennett/pi-codex-fast

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

Extension

Install

Install with PiG

pig install npm:@calesennett/pi-codex-fast

Install with Pi

pi install npm:@calesennett/pi-codex-fast
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

README

Written by the package's publisher, shown as published in version 0.1.14 (README.md). PiG does not review it.

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
  • openai/gpt-6.1-terra
  • openai/gpt-6.2-sol
  • openai/gpt-6.2-astra

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
  • openai/gpt-6.2-sol
  • openai-codex/gpt-6.2-sol
  • openai/gpt-6.2-astra
  • openai-codex/gpt-6.2-astra

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

The extension does not change other requests.

Example benchmark

The live benchmark in evals/ compares Fast mode with the default service tier. Speedups are ratios of median times across three paired trials per model.

ModelTTFB speedupTurn speedupWall speedup
gpt-5.6-sol1.52x1.58x1.57x
gpt-5.6-terra1.05x1.34x1.33x
gpt-5.6-luna1.30x2.31x2.25x
gpt-6-astra2.24x2.59x2.55x
gpt-6-sol1.25x1.07x1.06x
gpt-6-luna1.02x2.02x1.98x
gpt-6.1-sol2.74x1.92x1.89x
gpt-6.1-terra1.25x1.32x1.30x
gpt-6.2-sol1.12x1.46x1.45x
gpt-6.2-astra1.36x1.45x1.44x