opencodex
A local provider proxy that lets OpenAI Codex (CLI, app and SDK) and Claude Code run on other model providers such as Claude, Gemini, Grok, DeepSeek or local Ollama models.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, coding in the terminal, building AI agents
Use cases
About opencodex
opencodex is listed in our agent infra category and is aimed at builders. A local provider proxy that lets OpenAI Codex (CLI, app and SDK) and Claude Code run on other model providers such as Claude, Gemini, Grok, DeepSeek or local Ollama models. Pricing, as the maker states it: Open source. Maturity: Mature. We last checked the official link on 2026-10-20.
opencodex at a glance
- Category: Agent infra
- Built for: Developers and teams building with AI agents
- Pricing: Open source (as the maker states it)
- GitHub: lidge-jun/opencodex · 17,682 stars (as of Oct 20, 2026)
- Official site: opencodex.me
- Listed on AgentScout: Oct 20, 2026
opencodex FAQ
What is opencodex?
A local provider proxy that lets OpenAI Codex (CLI, app and SDK) and Claude Code run on other model providers such as Claude, Gemini, Grok, DeepSeek or local Ollama models.
How much does opencodex cost?
opencodex's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Where can I find opencodex's source code?
On GitHub at lidge-jun/opencodex, which had 17,682 stars as of Oct 20, 2026.
What are alternatives to opencodex?
Similar tools include OmniRoute, Magpie, Replicate, Together AI, HarnessRouter and HiRoute.
Facts from our link-checked listing, the GitHub repository and the official site. See something wrong? Suggest an edit.
opencodex ratings and reviews
opencodex alternatives
Other agent infra tools in our directory. See all agent infra tools →
OmniRoute
Self-hosted AI gateway that puts hundreds of model providers behind one endpoint for Claude Code, Codex, Cursor and others, with quota-aware fallback and MCP/A2A support.
Magpie
Free, open-source menu bar app and local gateway that lets any coding agent (Claude Code, Codex, Gemini CLI, OpenCode and 60+ more) use any model provider or subscription, with failover when a quota runs out.
Replicate
Run and deploy open models through an API, with Cog for packaging models.
Together AI
AI cloud for running, fine-tuning and serving open models.
HarnessRouter
One API for running coding-agent harnesses such as Codex, Claude Code and Hermes as product backends, with sessions, streaming, files and failure handling.
HiRoute
HiRoute, from the Higress team, is an open-source local model router for long-running agents like Codex and Claude Code: it hands routine stages to cheaper models, saves your strongest model for hard steps and keeps a record of each decision.
Related lists
🏆 Ranked in: CLI-Anything alternatives · LiteLLM alternatives
🔁 Listed in: skills.sh alternatives · CLI-Anything alternatives · LiteLLM alternatives
🧭 Task guides: Local and self-hosted tools for terminal coding · Agent frameworks and SDKs for terminal coding
💲 Estimate API cost: compare per-request and monthly costs for GPT, Claude, Gemini and Grok models.
Badge for makers
Built opencodex? Add this badge to your README or site. It links back to this page. About badges