OpenCodex
Open-source local API proxy routing to diverse AI coding providers.
Quick Keypoints
- Local transparent proxy hosting Codex and Claude Code protocols.
- Routes requests across 40+ LLM backends including Gemini and Ollama.
- Supports bi-directional tool calling, reasoning, and image files streaming.
- Configures instantly without client-side modifications or patches.
What is OpenCodex?
Open-source local API proxy routing to diverse AI coding providers.
OpenCodex is an open-source local API proxy designed to route coding agent protocols. By acting as an OpenAI-compatible completion translator, it allows developers to point coding CLI clients or extensions to 40+ alternative backends, including Ollama, Google Gemini, Anthropic, and Groq.
Who Needs OpenCodex?
Software developers and system architects requiring LLM vendor flexibility in their coding terminals.
Primary Use Cases
- Autocompleting code syntax and logic blocks in real-time.
- Explaining complex functions and debugging codebase errors.
- Generating boilerplate code and unit test suites automatically.
Important Features
- Provider Agnostic: Swap backends dynamically across cloud models or local inferences.
- Zero Client Patches: Operates transparently as a local port translation gateway.
- Full Streaming: Preserves agent streaming speeds and structure call behaviors.
Current Updates About OpenCodex
- Added Baseten Model APIs preset, updated /v1/models list to advertise reasoning-effort, and clarified pool routing.
- Current Version: v2.10.0
Alternatives to OpenCodex
If you want to check similar software, these alternative tools offer comparative features:
Pricing Plans
| Plan | Price |
|---|---|
| Open SourceMIT-licensed proxy server to translate provider-specific API calls into various LLM formats. | Free |