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

This project provides a bridge that allows users to use the ChatGPT Web interface (including Pro accounts) as native models within the Codex environment. It eliminates the need for paid API keys by leveraging the web-based version of ChatGPT, while maintaining the native Codex user interface, context lifecycle, and tool harness.

How it works

The software operates as a local bridge (Responses bridge) that routes Codex tasks to a fresh ChatGPT Temporary Chat session. It uses an embedded browser to automate the interaction with the ChatGPT web page, streaming reasoning, tool activity, and Markdown responses back into Codex.

Depending on the mode selected, it can function in three ways:

  • Browser-only: Basic routing of prompts and responses.
  • Full harness: Uses the OpenAI tunnel-client and MCP (Model Context Protocol) to connect ChatGPT's tool calls back to the Codex task's filesystem, shell, and other configured tools.
  • Zero Risk: A manual mode where the user pastes prompts and responses to avoid automation risks.

Who it’s for

Developers and Codex users who want to access high-tier ChatGPT Web models (like Pro) without paying for API fees, or who want to integrate the native web-based reasoning and tool capabilities of ChatGPT into their existing Codex workflow.

Highlights

  • Native Integration: ChatGPT Web models appear directly in the Codex model picker.
  • Full Tool Access: Via MCP, the web-based model can interact with the local filesystem and shell of the active Codex task.
  • Session Management: Uses Temporary Chats to maintain task-bound sessions and supports native Codex compaction at context boundaries.
  • Cross-Platform Launcher: A dedicated app for macOS, Windows, and Linux that handles sign-in, setup, and health checks.
  • Fail-Closed Design: Explicitly errors out if models or tools are missing rather than silently failing or switching capabilities.

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Project