@kafuuchino-s/opencodex-fast
v0.1.2
Published
OpenCode plugin that adds Codex priority service tier behind /fast
Readme
opencodex-fast
An OpenCode plugin that adds "service_tier": "priority" to Codex-style requests when /fast is enabled globally.
What it does
- Adds a
/fastcommand to OpenCode - When enabled, injects
service_tier: "priority"into requests sent tohttps://chatgpt.com/backend-api/codex/responses - Also supports custom OpenAI-compatible providers in
opencode.jsoncby matching provideroptions.baseURL/options.baseUrlrequests to/chat/completionsor/responses - Mirrors Codex Fast mode, which is documented as 1.5x faster at 2x credit cost
- Leaves unrelated provider requests untouched
- Persists a single global
enabledflag in~/.config/opencode/opencodex-fast.jsonc
Commands
/fast Toggle fast mode globally
/fast on Enable fast mode
/fast off Disable fast mode
/fast status Show current global fast-mode stateInstallation
Add to your OpenCode config:
// opencode.jsonc
{
"plugin": ["@kafuuchino-s/opencodex-fast@latest"],
}