opencodex
opencodex is a local gateway that lets Codex, Claude Code and similar coding tools use models from other providers such as Claude, Gemini, DeepSeek and Ollama for developers.
What it is good for
- Using Codex or Claude Code with a non-default AI model
- Switching between model providers without changing coding tools
- Running coding agents against local Ollama models
- Pooling several ChatGPT accounts to spread Codex usage
At a glance
- Who it is for
- Setup
- Guided command-line setup
Level 4 of 5. You copy and paste commands into a terminal by following the instructions. Comfortable territory for vibe coders.
- Cost
- Free and open source
- Type
- Agent app
- Tasks
- Works with
- Codex CLI, Claude Code, Claude Desktop, Grok Build, OpenCode, Ollama
Momentum
- Rank this week
- Not ranked yet
- Best rank
- None yet
- GitHub stars
- 18,159
GitHub numbers as of Nov 2, 2026. Updated weekly.
Official links
Setup steps are on the official pages. We do not repeat them here, since they change.
Questions
- Is opencodex free?
- Yes. It is free and open source (MIT license).
- Do I need to know how to code to use opencodex?
- You do not need to write code, but setup means copying and pasting commands into a terminal by following its instructions.
- What does opencodex work with?
- According to its own documentation, it works with Codex CLI, Claude Code, Claude Desktop, Grok Build, OpenCode, and Ollama.
- What is opencodex good for?
- Using Codex or Claude Code with a non-default AI model, switching between model providers without changing coding tools, running coding agents against local Ollama models, and pooling several ChatGPT accounts to spread Codex usage.
Similar agents to opencodex
- pi
Pi is a minimal, extensible coding agent CLI that runs in your terminal for developers who want to customize their own agent setup.
- Orca
Orca is a desktop app that runs and tracks several coding agents at once, each in its own worktree, for developers and vibe coders.
- Gemini CLI
Gemini CLI is an open-source terminal agent that helps developers query, edit, and debug code from the command line.
- rtk
rtk is a command-line proxy that shrinks the output of developer commands before an AI coding agent reads it, to cut token costs.
- OmniRoute
OmniRoute is a self-hosted AI gateway that routes coding requests across many AI providers for developers who want to keep working when one provider runs out of quota.
- Ruflo
Ruflo is a coordination layer that runs teams of AI agents alongside Claude Code and Codex for developers who need multi-agent work done.