Skip to content

MAakber/opencodex-fast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencodex-fast

An OpenCode plugin that adds "service_tier": "priority" to Codex requests when /fast is enabled globally.

What it does

  • Adds a /fast command to OpenCode
  • When enabled, injects service_tier: "priority" into requests sent to https://chatgpt.com/backend-api/codex/responses
  • Mirrors Codex Fast mode, which is documented as 1.5x faster at 2x credit cost
  • Leaves all non-Codex requests untouched
  • Persists a single global enabled flag 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 state

Installation

Add to your OpenCode config:

// opencode.jsonc
{
  "plugin": ["opencodex-fast@latest"],
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages