Claude Code model router
Opencodex
Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code
Install
npm install -g @bitkyc08/opencodexFound in the project README. Check it for setup steps after installing.
git clone https://github.com/lidge-jun/opencodex.gitFrom the README
One local gateway for your AI coding tools and models. Use the models you choose with Codex, Claude Code, Claude Desktop and Grok Build, and connect OpenCode, Pi, Qoder, WorkBuddy, Kilo, Cline, T3 Code and more through managed configs. See every supported tool → Claude Code, running any model The picker is stock Claude Code. The brain behind it isn't. Codex, running any model Pick a provider and go — same workflow, different brain. Claude Desktop, running any model Opus answers, then hands the task to a GPT-5.6 Sol subagent. Grok Build, running any model Sol drives the session and calls a Kimi K3 subagent. English · Français · 한국어 · 简体中文 · 繁體中文 · Русский · 日本語 · Türkçe · 📖 Full documentation → opencodex is a lightweight local gateway between your coding tools and your model providers. It accepts the Responses, Chat Completions and Anthropic Messages APIs and translates each request into whatever your provider speaks, carrying streaming, tool calls, reasoning and images where the client, model and provider support them. Use Claude, Gemini, Grok, GLM, DeepSeek, Kimi, Qwen, Ollama and other providers with Codex, Claude Code, Claude Desktop, Grok Build and the tools listed on the client support page. It can also manage a ChatGPT account pool for Codex auth: add accounts, refresh their quotas in the dashboard, and let new sessions auto-route to the lowest-usage healthy account while existing threads stay pinned to the account that started them. Quick start Personal install (CLI) Use ocx service to run it in the background. Open http://localhost:10100 and configure everything in the web dashboard — add providers (40+ built-ins, or any OpenAI-compatible endpoint), pick models, manage accounts. ocx gui re-opens the dashboard at any time. Connect your…
Details
- Repository
- lidge-jun/opencodex
- Website
- opencodex.me
- Language
- TypeScript
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- ai-gatewayai-toolsanthropicchatgptclaudeclaude-codecodexcodex-clideepseekdeveloper-toolsgeminigrok
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is Opencodex?
Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code It is a model router for Claude Code, from lidge-jun/opencodex on GitHub.
How do I install Opencodex?
Run npm install -g @bitkyc08/opencodex, then follow the setup in the README.
Is Opencodex popular?
lidge-jun/opencodex has 18,182 GitHub stars and 1,437 forks, and is included in 1 curated Claude Code list. It was last updated on 3 November 2026.
More model routers & proxies
Claude Relay Service
13kWei-Shaw/claude-relay-service
Self-hosted relay that pools Claude and other subscriptions behind one endpoint for Claude Code.
claude-code-proxy
3.8k1rgs/claude-code-proxy
Proxy that lets Claude Code run on OpenAI or Gemini models.
Reverse Skill
44kzhaoxuya520/reverse-skill
Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端
copilot-api
4.2kericc-ch/copilot-api
Turns a GitHub Copilot subscription into an Anthropic-compatible API that Claude Code can use.
LibreChat
47kLibreChat-AI/LibreChat
Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
claude-code-proxy
2.8kfuergaosi233/claude-code-proxy
Proxy translating Claude Code requests to any OpenAI-compatible API.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.