The plugin-based architecture of DeepSeek Harness (DSH) allows developers to extend functionality flexibly. When using OpenAI-compatible models, it is sometimes necessary to make calls through a ChatGPT/Codex subscription account rather than an API key. The following section introduces a plugin designed specifically to connect such subscriptions to DSH, providing model management, thinking-intensity adjustment, and image-generation capabilities.

What This Is

This is a DSH plugin named @h2mzzz/dsh-openai-subscription, maintained by HuaiminHuang. Its core value is bringing ChatGPT/Codex subscription capabilities into DSH, providing a dynamic model list, thinking-intensity adjustment, Quick Mode, and image generation, without replacing DSH’s existing OpenAI configuration.

Core Features

The plugin provides the following main capabilities:

  • Account authorization and model list: The plugin has an independent login entry. Authorization, credential storage, and token refresh are handled by the Host. After logging in, it can retrieve the dynamic model catalog visible to the account. Click “Refresh Models” to update it. If a request fails or returns an empty list, the current catalog is kept.
  • Compact model panel: Model selection and thinking-intensity adjustment are integrated into the same interface. You can drag the slider for continuous adjustment, with automatic snapping to valid levels. You can also use clicking or keyboard input. When the panel is collapsed, it displays the current model and intensity. When expanded, the input-bar button says “Select Model”.
  • Quick Mode: It is toggled by the lightning button in the top-left corner of the panel and is disabled by default. When enabled, a lightning mark appears before the model name in the input bar. Speed and thinking intensity can be configured independently.
  • Image features: When the model catalog supports image input, the plugin can convert images in the session into native messages without the need to register additional image-recognition tools. It also provides a standalone OpenAI image-generation tool, codex_generate_image, which supports prompt-only generation and editing generation using up to 10 reference images.
  • Quota query: The settings page provides an experimental, read-only subscription quota query, displaying the remaining ratio and reset countdown.

Installation and Enabling

Run the following command in the terminal to install the plugin (Web Profile):

dsh plugin --profile web add @h2mzzz/dsh-openai-subscription@0.1.3

After installation, load the plugin according to the DSH prompts, log in under Settings → OpenAI, and then select a subscription model from the session model selector.

Typical Usage

  1. Open DSH, go to the OpenAI page in Settings, and log in to your account.
  2. Click “Refresh Models” to retrieve the latest model catalog.
  3. In the session model selector, select a model supported by the logged-in account.
  4. Enable Quick Mode using the lightning button in the top-left corner of the panel.

Use Cases and Notes

  • Use cases: Suitable for users who need to use ChatGPT subscription models (such as GPT-4o) in DSH but want to avoid configuring an API key directly in the Host.
  • Notes:
    • Permissions and license: Check the source code and license before installing (this project is under the MIT license).
    • Version requirements: The current version 0.1.3 targets DSH 0.2.0-rc.2. The release scope is limited to Ubuntu / Web. Desktop and real-account end-to-end flows have not been validated.
    • Experimental features: Image input and image generation are experimental. Real-account validation is pending.
    • API stability: The quota source API is unstable and may fail.
    • Independence: This project is an independent community plugin and is not an official product of DeepSeek or OpenAI.

Summary

This plugin provides DSH users with another way to access ChatGPT subscription models and simplifies the configuration process. For more details, refer to its GitHub repository.