dsh-codex: A ChatGPT Subscription Sign-in Plugin for DeepSeek Harness

yan-zero/dsh-codex

Models & ReasoningVerified
Listed on 2026-08-20
Page last updated 2026-10-04

dsh-codex lets DeepSeek Harness use a ChatGPT subscription via OpenAI's Codex sign-in flow, no API key required, enabling Codex models, streaming, and tool calls.

dsh-codex is a model and inference plugin for DeepSeek Harness that lets ChatGPT subscribers use ChatGPT models inside DSH through OpenAI's Codex sign-in flow, without needing an OpenAI Platform API key. It solves the problem of subscription users being unable to call ChatGPT in DSH, offering OAuth login, the Codex model catalog, streaming, tool calls, reasoning replay, prompt caching, compaction, standalone web search, image generation, and browser image input. After installation, you can sign in with one click from the settings panel and select Codex models in the picker, ideal for developers who want to integrate their ChatGPT subscription into DeepSeek Harness workflows.

How to Install

install
npmdsh plugin --profile web add dsh-codex
Category
Models & Reasoning
Platform
DSH Plugin
Author
yan-zero
Distribution
Plugin

dsh-codex Key Features

ChatGPT OAuth loginCodex model catalogStreaming & tool callsImage gen & inputQuota display & switch
Listed on dsh-plugin.org

dsh-codex Repo Summary

What Does It Do?

dsh-codex is a model and inference DSH plugin for DeepSeek Harness that lets you use your ChatGPT subscription through OpenAI's Codex sign-in flow, without an OpenAI Platform API key or any dsh source patch. It solves the problem of using ChatGPT models inside the harness for subscription users, and its core capabilities include ChatGPT OAuth login, the Codex model catalog, streaming, tool calls, reasoning replay, prompt caching, compaction, standalone web search, image generation, and browser image input.

Core Features

  • ChatGPT OAuth login: sign in from the DSH Settings panel or a standalone CLI, with automatic token refresh.
  • Codex model catalog: includes vision-capable models; the picker advertises the full catalog by default, and you can choose which entries stay visible via checkboxes.
  • Streaming and tool calls: supports streaming, tool calls, reasoning replay, prompt caching, and compaction through the normal LLM service.
  • Standalone web search: uses dsh's existing web_search tool for Codex web search.
  • Image generation and input: provides an imagegen tool backed by gpt-image-2, with workspace or conversation reference images, plus browser paste and drop image input.
  • Fast Mode and quota indicator: a per-conversation Fast Mode switch and a compact weekly quota indicator in the Web composer.

How to Use This Plugin?

After enabling it in DSH, open Settings → OpenAI Codex and click "Sign in with ChatGPT"; the plugin opens OpenAI's authorization page and completes the localhost callback. Once signed in, the model picker lists Codex models, defaulting to gpt-5.6-sol, and you can select any other visible model. For TUI, install the bundle into the same profile, then use /model to list the openai-codex catalog and /codex commands to manage login, status, usage, and settings. If dsh runs on another machine, you must approve the trust-origin command on the dsh host.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: yan-zero/dsh-codex. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ