
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
oc-chatgpt-multi-auth
Advanced tools
OpenCode plugin for using ChatGPT Plus/Pro in GPT-5 and Codex workflows with OAuth login, multi-account rotation, and guided setup
Use your ChatGPT Plus/Pro subscription inside OpenCode with OAuth login, GPT-5/Codex model presets, and multi-account failover.
oc-chatgpt-multi-auth is an OpenCode plugin for developers who want ChatGPT-backed GPT-5 and Codex workflows in OpenCode without switching to separate Platform API credentials for personal use. It uses the same official OAuth flow as the Codex CLI, adds model templates for current GPT-5 families, and can rotate across multiple ChatGPT accounts when one account is rate-limited or unavailable.
gpt-5.4, gpt-5-codex, and related GPT-5 families# 1. Install or refresh the plugin config
npx -y oc-chatgpt-multi-auth@latest
# 2. Sign in with ChatGPT Plus/Pro
opencode auth login
# 3. Run a prompt in OpenCode
opencode run "Explain this repository" --model=openai/gpt-5.4 --variant=medium
What the installer does:
~/.config/opencode/opencode.json"oc-chatgpt-multi-auth"By default, the installer now writes a full catalog config that includes both:
gpt-5.4 for --variant workflowsgpt-5.4-high so the shipped catalog is visible directly in model pickers# General GPT-5 workflow
opencode run "Summarize the failing test and suggest a fix" --model=openai/gpt-5.4 --variant=medium
# Codex-focused workflow
opencode run "Refactor the retry logic and update the tests" --model=openai/gpt-5-codex --variant=high
[!CAUTION] This project is for personal development use with your own ChatGPT Plus/Pro subscription.
- It is not intended for commercial resale, shared multi-user access, or production services.
- It uses official OAuth authentication, but it is an independent open-source project and is not affiliated with OpenAI.
- For production applications, use the OpenAI Platform API.
- You are responsible for complying with OpenAI's Terms of Use.
OpenCode users often want the same GPT-5 and Codex model experience they use in ChatGPT, but inside a local terminal workflow. This plugin exists to bridge that gap cleanly:
codex-setup, codex-help, codex-doctor, and codex-nextreasoning.encrypted_content for multi-turn sessionsgpt-5.4 or gpt-5-codexThe plugin sits between OpenCode and the ChatGPT-backed Codex workflow:
store: false.See Architecture for implementation details.
Use the quick-start path above for the fastest setup. For full setup, local development installs, legacy OpenCode support, and verification steps, see Getting Started.
If you prefer the compact variant-only config on OpenCode v1.0.210+, use:
npx -y oc-chatgpt-multi-auth@latest --modern
Detailed configuration lives outside this README:
Start here if the plugin does not load or authenticate correctly:
Common first checks:
"plugin": ["oc-chatgpt-multi-auth"] is present in your OpenCode configopencode auth login~/.opencode/logs/codex-plugin/ after running one request with ENABLE_PLUGIN_REQUEST_LOGGING=1Short answers for the most common questions live in docs/faq.md, including:
Contributions are welcome if they keep the project accurate, maintainable, and aligned with its personal-use scope.
MIT. See LICENSE.
ChatGPT, GPT-5, Codex, and OpenAI are trademarks of OpenAI, L.L.C.
FAQs
OpenCode plugin for using ChatGPT Plus/Pro in GPT-5 and Codex workflows with OAuth login, multi-account rotation, and guided setup
We found that oc-chatgpt-multi-auth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.