Claude Code model router
Claudecodex
Use Claude Code's UI with OpenAI GPT-5.6 (Sol/Terra/Luna) as the engine — powered by your ChatGPT Plus/Pro subscription via a local Codex proxy. One-line install; plain claude stays untouched.
Install
git clone https://github.com/karem505/claudecodex.gitFrom the README
claudecodex — Run Claude Code with GPT-5.6 using your ChatGPT subscription claudecodex lets you use Claude Code with OpenAI models — GPT-5.6 (Sol / Terra / Luna) as the engine — billed to your ChatGPT Plus/Pro subscription through a local Codex proxy, without an Anthropic API key or an OpenAI API key. You keep the Claude Code agent workflow you like (file edits, terminal flow, approvals, MCP servers, skills) but the model answering is GPT-5.6, running on the ChatGPT subscription you already pay for instead of your Anthropic usage. One-line install. Plain claude stays completely stock. How it works claudecodex launches the real Claude Code UI, points it at a local Anthropic-compatible proxy on 127.0.0.1:18765, and the proxy forwards requests to GPT-5.6 via Codex auth on your ChatGPT subscription: Jump to: Install · Usage & model switching · Configuration · vs alternatives · Troubleshooting · FAQ: Claude Code without an Anthropic API key Demo *(8× speed — watch the full demo video)* Why run Claude Code with OpenAI models? - Claude Code UI + GPT models — the best agentic coding interface, driving OpenAI's strongest coding model (GPT-5.6 Sol at max reasoning effort). - Uses the ChatGPT subscription you already have — no pay-per-token API bills; requests go through Codex auth on your Plus/Pro plan. - Zero interference — a thin launcher that execs claude with process-local environment variables. Your normal claude command, login, settings, and Anthropic models are untouched. - Full 372K context window — configured to GPT-5.6 Sol's real Codex context limit, so the context gauge and auto-compaction are accurate. - Model switching built in — flip between Sol (best), Terra (mid), and Luna (fast/cheap) per launch or mid-session. claudecodex is a thin…
Details
- Repository
- karem505/claudecodex
- Website
- aboelmakarem.pro
- Language
- Shell
- License
- MIT
- Last updated
- 24 October 2026
- Topics
- agentic-aiai-coding-assistantai-pair-programminganthropicbashchatgptchatgpt-plusclaudeclaude-codeclicodexcodex-cli
FAQ
What is Claudecodex?
Use Claude Code's UI with OpenAI GPT-5.6 (Sol/Terra/Luna) as the engine — powered by your ChatGPT Plus/Pro subscription via a local Codex proxy. One-line install; plain claude stays untouched. It is a model router for Claude Code, from karem505/claudecodex on GitHub.
How do I install Claudecodex?
Clone karem505/claudecodex from GitHub and follow the setup steps in its README.
Is Claudecodex popular?
karem505/claudecodex has 35 GitHub stars and 3 forks. It was last updated on 24 October 2026.
More model routers & proxies
Claude Code Model Router
35luwill/Claude-Code-Model-Router
A lightweight API gateway that lets you switch to third-party AI models when using Claude Code.
Krouter
33sifxprime/krouter
Universal AI router — save 20-40% tokens with RTK and never stop coding. Connect Claude Code, Cursor, Antigravity, Kiro, Copilot, Codex, Cline & any OpenAI-compatible client to 40+ providers & 100+ models via one local endpoint. Zenith sub-1ms failover, MITM, multi-account.
Helm API
31EasyMetaAu/helm-api
Self-hosted LLM gateway — route OpenAI/Anthropic/Gemini traffic by config, not code. Fallback, protocol translation, telemetry.
Squeezr
34sergioramosv/squeezr
AI-powered Claude Code proxy that uses Haiku to semantically compress context and save thousands of tokens
LocalCodeCli
33Corporationakht/LocalCodeCli
A powerful local proxy for Claude Code CLI and Codex CLI supporting NVIDIA NIM, Google,Gemini, DeepSeek, and local Ollama models. Use claude code and codex for free in the terminal, VSCode extension, and discord like OpenClaw (voice supported)
Claude Code Proxy
32daodao97/claude-code-proxy
Claude code proxy, friendly view request log, enhance request stability
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.