AI Agent Hub
Back to plugins
🤖

dsh-llm-chatgpt-oauth

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install zhangxiubo/dsh-llm-chatgpt-oauth

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install zhangxiubo/dsh-llm-chatgpt-oauth in DeepSeek Harness to install; source repository at https://github.com/zhangxiubo/dsh-llm-chatgpt-oauth

About this plugin

If you already have a ChatGPT Plus or Pro subscription and want to fold GPT-5 series models into your DeepSeek Harness workflow without ever requesting an OpenAI API key or paying per token, dsh-llm-chatgpt-oauth was built for that. It rides on pi-ai's openai-codex OAuth route so that Harness can draw directly on your ChatGPT subscription quota to call gpt-5.4, gpt-5.5, and compatible gpt-5.6-* models, removing the friction of juggling another set of credentials.

Under the hood the plugin registers an openai-codex inference route in DeepSeek Harness and inherits the full PiAiAdapter feature set: message conversion, tool calling, reasoning-level control, attachment handling, and stream-event translation. Authentication is handled through a dedicated device-code login command; OAuth access tokens refresh automatically, and credentials are persisted privately with atomic writes, never leaking into settings files or logs. Users who already have a Codex CLI login session can bootstrap from it with zero extra steps.

It is best suited for developers who run DeepSeek Harness daily and hold a ChatGPT subscription, especially those who prefer a flat subscription over per-token billing and want fewer API keys to manage. Keep in mind that model availability and usage caps are governed entirely by the ChatGPT account, and the plugin pins specific versions of pi-ai and PiAiAdapter, so upstream changes may require a corresponding upgrade.

Use Cases

  • Invoke GPT-5 models via ChatGPT subscription without an OpenAI API key
  • Manage DeepSeek and OpenAI Codex multi-model routes in a single Harness profile
  • Bootstrap from an existing Codex CLI login with zero extra configuration

Best For

  • DeepSeek Harness users with a ChatGPT Plus or Pro subscription
  • Developers who prefer flat subscription billing over per-token API costs
  • Engineers already using Codex CLI who want to extend it into Harness