Claude Code model router
Chatgpt Codex Proxy
An Anthropic-compatible /v1/messages proxy that lets Claude Code use the ChatGPT Codex backend.
Install
git clone https://github.com/insightflo/chatgpt-codex-proxy.gitFrom the README
ChatGPT Codex Proxy Run Claude Code on your ChatGPT Plus/Pro subscription — zero workflow change. - 한국어 README What is this? This proxy lets Claude Code talk to ChatGPT's Codex backend instead of Anthropic's API. You keep using claude exactly as before — same UI, same slash commands, same MCP tools — while inference is served by GPT. When to use this Why this, not ChatMock or similar tools ChatMock and similar projects expose an OpenAI/Ollama-compatible API — great for general-purpose clients, but you'd have to switch away from Claude Code entirely. This proxy is built specifically for Claude Code: - Zero workflow change — claude command, keybindings, CLAUDE.md, slash commands, all work unchanged. - MCP tools cross the boundary — Claude Code's MCP servers (Stitch, Linear, Chrome DevTools, etc.) are normally only available to Claude's backend. This proxy reads ~/.claude.json at startup, connects to your MCP servers, and injects their tool schemas into every GPT request. GPT gets the same tool access Claude would have. - Parallel tool call safety — the proxy detects mutating tools (Edit, Write, Delete, Bash) and automatically disables parallel_tool_calls to prevent unsafe concurrent file operations. - Claude model name passthrough — use --model claude-sonnet-4-20250514 as usual; the proxy maps it to the right Codex model automatically. Or use GPT model names directly in passthrough mode. Example session Features - Anthropic Messages API compatible (POST /v1/messages) - OAuth 2.0 login — no API key, just your ChatGPT subscription - Full request/response transformation (Anthropic ↔ Codex) - SSE streaming - Claude → Codex model mapping with env overrides - MCP tool injection (see below) Quick start Then in another terminal: That's it. Claude Code is now…
Details
- Repository
- insightflo/chatgpt-codex-proxy
- Language
- TypeScript
- Last updated
- 20 July 2026
- Topics
- anthropicapi-proxychatgptclaudeclaude-codecodexdxtexpressmcpnodejsopenaiproxy
FAQ
What is Chatgpt Codex Proxy?
An Anthropic-compatible /v1/messages proxy that lets Claude Code use the ChatGPT Codex backend. It is a model router for Claude Code, from insightflo/chatgpt-codex-proxy on GitHub.
How do I install Chatgpt Codex Proxy?
Clone insightflo/chatgpt-codex-proxy from GitHub and follow the setup steps in its README.
Is Chatgpt Codex Proxy popular?
insightflo/chatgpt-codex-proxy has 44 GitHub stars and 11 forks. It was last updated on 20 July 2026.
More model routers & proxies
Claude Opus Interface Toolkit
56noBlock125/claude-opus-interface-toolkit
Claude Code Desktop Pro 2026 - AI Pair Programmer & CLI Tool
Nvidia Anthropic Proxy
40evanlong-me/nvidia-anthropic-proxy
A Cloudflare Worker proxy that enables Claude Code to use NVIDIA NIM API models
Agentmail To Claude Code
48mvanhorn/agentmail-to-claude-code
Email gateway that opens a Claude Code session per inbound AgentMail message (cmux or Ghostty)
Claude Code Local For Vscode
46justimyhxu/claude-code-local-for-vscode
Claude Code VS Code extension patched for Force Local mode — run CLI locally, proxy file ops to remote server via VS Code Remote SSH
Copilot Proxy
45Jer-y/copilot-proxy
Turn GitHub Copilot into an OpenAI/Anthropic-compatible server with Claude Code and Codex support.
Qcc Plus
42yxhpy/qcc_plus
Claude Code CLI 代理服务器 - 多租户、自动故障切换、Web 管理界面
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.