miuuyy/codex-chatgpt-web

Use ChatGPT Web (including Pro) as a native model in Codex — with context, tools, streaming and images, without using Codex quota.

What it solves

If you pay for ChatGPT (Free, Plus, or Pro) and also use OpenAI's Codex coding agent, you normally have to jump between two separate interfaces: Codex for terminal-based coding tasks, and the ChatGPT website for its models. This project removes that gap by letting you use your account's ChatGPT Web models directly from Codex's model picker—no separate API key or extra costs. It also lets ChatGPT act on your local files and tools through Codex's MCP harness, so you keep one workflow as your project grows.

How it works

It's an unofficial desktop launcher that ships its own browser and runtime. You sign in to ChatGPT once in the embedded browser, then the launcher exposes those models inside Codex. Messages run through your signed-in ChatGPT Web session, so they're subject to your account's usage limits and stay in your ChatGPT history.

Three usage modes are available:

  • Browser-only: Codex sends messages automatically to the ChatGPT page; no local tool access.
  • Full harness (With Automation): Codex's tool calls are connected to ChatGPT via the official OpenAI tunnel-client, letting ChatGPT use your current task's files, terminal, and other tools (through MCP). The tunnel is outbound only—no public IP or port forwarding—and uses your system proxy when configured.
  • Zero Risk: You manually paste a prepared prompt into ChatGPT and confirm sending. The launcher never reads or operates the page, and a separate MCP connector allows local tool use.

The launcher includes model entries for Free/Go (Luna/Think) and paid plans (GPT-6 Sol, GPT-5.6 Sol) with effort levels and context limits. It also supports different protocols for subagents, a "Run doctor" health check, and temporary chat to keep new tasks out of ChatGPT history by default.

Who it's for

This is for developers who already have a ChatGPT account and use Codex for coding, and who want to use the ChatGPT web models (including Pro) inside Codex without paying for an extra API. It's also for people who want ChatGPT to interact with their local files and terminal through Codex's MCP tool-calling, as long as they're comfortable with an unofficial browser-automation tool that may break if ChatGPT changes its interface. It's not for bypassing authentication or access controls—it requires your own account and obeys the same limits that apply to it.

Highlights

  • Uses your existing ChatGPT Web subscription—no separate API key needed.
  • Works with free, Plus, and Pro accounts, exposing whichever models your account allows (Luna/Think, GPT-6 Sol, GPT-5.6 Sol, etc.).
  • Full harness mode links ChatGPT's tool calls to your current Codex task via MCP, using an outbound-only tunnel for security.
  • Zero Risk mode gives you total control: it never automates the ChatGPT page.
  • Bundled browser and runtime—no need to install Chrome, Node, or Bun separately.
  • Detailed context limits and compaction support (e.g., 90K–270K token windows depending on plan and model).
  • Includes subagent compatibility modes and an end-to-end health check (Run doctor).

Related

  • Project
  • Project
  • Project
  • Project
  • Project