← Directory

Opencodex

Open Source
★ 15,902 • Updated Sep 22, 2026, 03:07 PM

Opencodex is an open-source universal provider proxy designed for OpenAI Codex and Claude Code.

Use Cases ▼
01

Use Gemini models with OpenAI Codex CLI

02

Run Claude Code with local Ollama models

03

Connect Codex SDK to DeepSeek API

04

Switch Codex App between multiple cloud LLM providers

05

Self-host a proxy to centralize LLM access for development teams

06

Test coding agent behavior across different LLM backends

What Problem It Solves ▼

Coding assistants like OpenAI Codex and Claude Code typically require using their own proprietary models, making it difficult to switch to alternative LLMs such as Gemini, Grok, DeepSeek, or local models via Ollama. Opencodex solves this by providing a universal proxy that lets these tools route requests to any supported LLM provider, reducing vendor lock-in and enabling flexible model selection.

Key Features ▼
✓

Open source and self-hostable

✓

Supports multiple LLM providers including Claude, Gemini, Grok, DeepSeek, and Ollama

✓

Works with Codex CLI, App, SDK, and Claude Code

✓

Helps avoid vendor lock-in

✓

Enables use of local models for privacy

Overview

Opencodex is an open-source universal provider proxy designed for OpenAI Codex and Claude Code. It enables the Codex CLI, Codex App, Codex SDK, and Claude Code to work with any large language model provider rather than being limited to a single vendor. Supported providers mentioned in its description include Claude, Gemini, Grok, DeepSeek, and Ollama, among others.

Full Description ▼

The project acts as an intermediary layer that translates requests from Codex- and Claude Code-compatible clients into calls to different LLM APIs. This allows developers to switch between cloud and local models, such as Ollama for local inference, without modifying their existing coding agent workflows. Opencodex is distributed as open-source software on GitHub.

By decoupling the coding assistant interface from the underlying model provider, Opencodex helps reduce vendor lock-in and gives users more control over cost, privacy, and model choice. The repository is hosted at github.com/lidge-jun/opencodex.

Pros & Cons

Pros

+

Open source and self-hostable

+

Supports multiple LLM providers including Claude, Gemini, Grok, DeepSeek, and Ollama

+

Works with Codex CLI, App, SDK, and Claude Code

+

Helps avoid vendor lock-in

+

Enables use of local models for privacy

Cons

−

Requires configuration and technical setup

−

Exact provider compatibility may vary

−

Limited public documentation in the provided metadata

−

Depends on upstream Codex and Claude Code interfaces

−

No formal support or SLA mentioned

Similar Tools

LiteLLM OpenRouter Portkey Ollama LocalAI LM Studio

More in Dev Tools