whereismyai
OpenCodex
OpenCodex is a local proxy that translates wire formats to run Codex and Claude Code on any language model.
OpenCodex is a local proxy that serves Codex and Claude Code from a single port by translating wire formats to any provider. It supports streaming, tool calls, reasoning, and images in both directions without requiring client patches. Users can connect via five adapters covering Anthropic Messages, Google Gemini, Azure, OpenAI Responses passthrough, and OpenAI-compatible Chat Completions endpoints. The tool features OAuth, API key logins, and a ChatGPT account pool that auto-routes new sessions based on usage quotas. It is designed for developers who want to use alternative language models with Codex CLI, apps, SDKs, and Claude Code.
OpenCodex at a glance
- Best for: Software engineer
- Runs on: macOS, Windows, Linux, CLI
- Pricing: Free
- Released: June 2026
- Category: AI coding tool
- Website: opencodex.me
Key features
- Translates wire formats to run Codex on any language model
- Supports streaming, tool calls, reasoning, and images
- Includes adapters for Anthropic, Google Gemini, Azure, and OpenAI
- Provides OAuth and API key authentication options
- Auto-routes sessions to low-usage accounts in a ChatGPT pool
- Integrates routed models natively into the Codex app model picker
- Launches Claude Code against the same local proxy port
Use it for
- Running Codex and Claude Code with alternative language models
- Managing multiple provider accounts through a single proxy port
- Adding web search and image understanding to non-OpenAI models
- Configuring sub-agents for Codex tasks
Companions
Tools that articles about OpenCodex recommend using with it, each with its job.
- Codex — Built to work with Codex.
- Claude Code — Built to work with Claude Code.
- Context7 — Provides up-to-date documentation for AI agents and code editors.
- Superpowers — Plan, test and execute workflows across harnesses.
- Firecrawl — Provides direct web data access for AI agents with open source flexibility.
- Composio — One login for GitHub, Linear, Slack and 1,000+ apps.
Alternatives to OpenCodex
- Claude Code Proxy — Runs Anthropic-compatible clients with Gemini or OpenAI models.
- Openqodex — It runs automated AI and scanner checks locally before you push code.
- Opencode Claude Code Plugin — Runs Claude models via the official CLI with zero token storage.
- Open Bridge — Keeps your repos, tasks, and work logs in context across coding sessions.
- opcode — Turns terminal Claude Code workflows into an intuitive visual interface.
- Codex Plugin for Claude Code — Delegate tasks and run code reviews with Codex directly inside Claude Code.
- Codex with ChatGPT — Uses idle ChatGPT Plus quotas for coding agent planning and review.
- CodexPro — It connects ChatGPT directly to local codebases through bounded local tools.
- WebCodex — Your code stays on your machine while cloud AI agents interact with local repositories and tools.
- OpenChamber — Run and review multi-model AI coding agents from desktop, browser, and mobile devices.
- Codex Session Operator — Runs OpenAI coding agents securely inside your own Kubernetes cluster.
- CodeGraph — It eliminates file crawling, reducing AI agent tool calls by 88% and cutting costs.
All OpenCodex alternatives