workflowstacks
claude-skill

Use Any LLM with opencodex

Get universal access to LLMs with opencodex, a proxy for startup founders, 241 GitHub stars
12,763 stars942 forksTypeScriptHealth Score 8/10Updated 9/1/2026100% free · open source
What it does

Opencodex allows startup founders to use any large language model with the OpenAI Codex CLI, App, and SDK, providing universal access to LLMs through a proxy

Install / run
git clone https://github.com/lidge-jun/opencodex.git && cd opencodex
When to use it
  • When you want to switch between different LLMs without changing your application code
  • When you need to use a specific LLM that is not natively supported by the Codex CLI or App
  • When you want to test and compare the performance of different LLMs with your application
Quick start
  1. 1Create a configuration file `config.json` in the project root with your LLM provider settings
  2. 2Run `npm install` to install the required dependencies
  3. 3Start the opencodex proxy server with `npm run start`
  4. 4Use the `codex` command-line tool with the `--proxy` option to point to your opencodex server, for example: `codex --proxy http://localhost:8080 complete 'Hello World'`
  5. 5Verify that the opencodex proxy is working correctly by checking the logs and the response from the LLM
Ready-to-paste prompt
codex --proxy http://localhost:8080 complete 'Create a Python function to calculate the factorial of a given number'
Heads up: Make sure you have a valid API key for your chosen LLM provider and that it is correctly configured in the `config.json` file, as opencodex will not work without a valid API key
Saves to your device

Topics

ai-gateway
ai-tools
anthropic
chatgpt
claude
claude-code
codex
codex-cli
deepseek
developer-tools
gemini
grok
kiro
llm
llm-proxy
ollama
openai
openrouter
proxy
typescript
What's inside — free to inspect
No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

15
top-level files
14
folders
120.8M
source size
MIT
license
Key files
AGENTS_INSTALL.md
AGENTS.md
MAINTAINERS.md
package.json
README.md
tsconfig.json
File tree
.github/
assets/
bin/
devlog/
dist/
docs/
docs-site/
gui/
readme/
scripts/
skills/
src/
structure/
tests/
.coderabbit.yaml
.gitattributes
.gitignore
.npmignore
AGENTS_INSTALL.md
AGENTS.md
bun.lock
bunfig.toml
CONTRIBUTING.md
LICENSE
Quick Actions
Details
Creator
lidge-jun
Language
TypeScript
Category
claude-skill
Published
6/18/2026

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.