---
slug: "opencodex"
name: "opencodex"
effect: "Local proxy that lets Codex and Claude Code run on Gemini, Grok, DeepSeek, Ollama or other LLMs"
category: "model-api"
tier: "rising"
url: "https://opencodex.me/"
github: "lidge-jun/opencodex"
pricing: "open-source"
license: "MIT"
tags: ["proxy", "llm-gateway", "codex", "claude-code", "multi-provider", "ollama"]
platforms: ["claude-code", "codex", "claude-desktop", "macos", "linux", "windows"]
install_kind: "npm"
date_added: "2026-10-16"
rank: 7
rising_score: 62
stars: 17472
star_velocity: 146.2
velocity_basis: "since creation"
created_at: "2026-06-18T23:03:18Z"
pushed_at: "2026-10-16T11:22:43Z"
signals_status: "ok"
signals_fetched_at: "2026-10-16T11:45:34.912Z"
page: "https://agenttooldrop.com/tools/opencodex"
---

# opencodex

Local proxy that lets Codex and Claude Code run on Gemini, Grok, DeepSeek, Ollama or other LLMs

Category: Models and APIs. Tier: new and rising, rank 7 by new and rising score (62 of 100). Pricing: Open source. License: MIT.

Platforms: claude-code, codex, claude-desktop, macos, linux, windows.

## Why you would want it

opencodex is a local proxy that translates Codex's Responses API into whatever the provider speaks, covering streaming, tool calls, reasoning tokens and images. The README says it works with Codex, Claude Code, Claude Desktop and Grok Build, with 40+ built-in providers plus any OpenAI-compatible endpoint. A web dashboard on localhost:10100 is where you add providers, pick models and manage accounts, and it shows a live request log. Models are targeted with provider/model syntax such as codex -m "ollama/llama3", and combos give one virtual model id with failover or weighted round-robin across providers. ocx stop restores Codex to its original configuration.

## Best for

- Running Codex on non-OpenAI models
- Using Claude Code with other providers
- Failover across providers with combos

## Use it when

You want Codex or Claude Code to use another provider's model, including a local Ollama model, and you are fine running a local proxy with a dashboard.

## Skip it if

The README warns that some providers, notably Anthropic, may suspend or restrict accounts that route traffic through third-party proxies, and says the project is independent and not affiliated with OpenAI or Anthropic. It handles provider API keys, OAuth logins and optionally a pool of ChatGPT accounts, and ocx init wires Codex to the proxy, so read AGENTS_INSTALL.md for what it writes to disk. The desktop app is labelled beta and the Cursor adapter experimental; the from-source route pipes a curl installer for Bun into bash, which the npm route avoids.

## Editor note

Other routes in the README: desktop app (beta), Docker Compose, install from source. Docs at opencodex.me.

## Install

Install with npm:

```sh
npm install -g @bitkyc08/opencodex   # Node 18+; the Bun runtime is bundled automatically
ocx start                         # proxy + dashboard on localhost:10100
```

Source: https://github.com/lidge-jun/opencodex#personal-install-cli

## Live signals

Fetched 2026-10-16T11:45:34.912Z (status: ok).

- Repository: lidge-jun/opencodex
- Repository created: 2026-06-18
- Stars: 17,472 (GitHub's count; it cannot be authenticated)
- Stars per day, since repo creation: 146.2 (an average over the repo's life, not a growth rate)
- Forks: 1,335
- Open issues and PRs: 72
- License (GitHub): MIT
- Last push: 2026-10-16
- Latest release: v2.86.0 (2026-10-14)

## Links

- Website: https://opencodex.me/
- GitHub: https://github.com/lidge-jun/opencodex
- Install instructions verified at: https://github.com/lidge-jun/opencodex#personal-install-cli
- Source for this entry: https://github.com/lidge-jun/opencodex#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/opencodex
- Full catalog (JSON): https://agenttooldrop.com/tools.json
