# codex-with-chatgpt

> codex-with-chatgpt is an open-source AI tool for coding. Use ChatGPT on the web to plan and review while Codex executes your coding tasks. It is available on macOS, Windows, CLI and self-hosted.

- **Kind:** Tool
- **Pricing:** Open source
- **Platforms:** macOS, Windows, CLI, self-hosted
- **Repository:** https://github.com/xiaoduoya/codex-with-chatgpt
- **GitHub stars:** 7,719
- **License:** MIT
- **Categories:** coding, developer tools
- **Listing updated:** 2026-11-14

## About

The idea is to stop spending metered Codex or API tokens on planning and review when a paid ChatGPT subscription sits partly unused. The ChatGPT web app becomes the thinking side of a Codex coding session, and Codex keeps all execution.

It works through a read-only, OAuth-protected MCP connection to the current workspace, exposed through a Cloudflare tunnel, so ChatGPT fetches only the lines it needs and the repository is not uploaded. There are no API keys and no reverse proxy.

Setup is meant to be done by Codex itself: you paste an install prompt that checks for git and Node.js 20 or later, installs cloudflared, clones and builds the repo with pnpm, installs a skill and runs a setup step that pairs ChatGPT with a code. Chinese and English docs are provided.

## Features

- **Planning in ChatGPT:** Use the web app for planning and review.
- **Execution stays in Codex:** Codex still makes the changes.
- **Read-only MCP bridge:** ChatGPT reads workspace lines on demand.
- **OAuth protection:** The connection is secured with OAuth.
- **One-paste install:** Give an install prompt to Codex to set everything up.
- **Skill-based workflow:** A SKILL.md file drives the flow.

## Good for

- Offload planning from Codex to ChatGPT
- Get a second review of a diff
- Save API quota on coding sessions

## FAQ

### Does my repository get uploaded?

The README says it does not; ChatGPT reads needed lines through a read-only connection.

### Do I need API keys?

No.

### What do I need installed?

git, Node.js 20 or later and cloudflared; the install prompt handles missing ones.

### Which ChatGPT plan?

The README refers to ChatGPT Plus or Pro web quota.

### Is codex-with-chatgpt free?

Yes. codex-with-chatgpt is open source, so you can use and self-host it for free.

### What are the best alternatives to codex-with-chatgpt?

The closest alternatives to codex-with-chatgpt are ECC, firecrawl, ponytail, graphify and orca.

## Alternatives

- [ECC](https://ai-powered.com/tools/ecc): ECC is a freemium AI tool for ai models and llm tooling.
- [firecrawl](https://ai-powered.com/tools/firecrawl-2): firecrawl is a freemium AI tool for web search and scraping.
- [ponytail](https://ai-powered.com/tools/ponytail): ponytail is an open-source AI tool for ai models and llm tooling.
- [graphify](https://ai-powered.com/tools/graphify-2): graphify is a freemium AI tool for knowledge and memory.
- [orca](https://ai-powered.com/tools/orca): orca is an open-source AI tool for coding.
- [claude-mem](https://ai-powered.com/tools/claude-mem): claude-mem is a freemium AI tool for knowledge and memory.
- [taste-skill](https://ai-powered.com/tools/taste-skill): taste-skill is an open-source AI tool for design and media.
- [archify](https://ai-powered.com/tools/archify): archify is an open-source AI tool for design and media.

---
Source: https://ai-powered.com/tools/codex-with-chatgpt
