#82 · Primary category: AI Gateway & API Infrastructure
codex-shim
Local Responses-API shim that exposes Factory BYOK models (and optional ChatGPT GPT-5.5 passthrough) to Codex Desktop.
Project last updated:08/25/26
GitHub Stars
1.1K
Forks
108
Contributors
11
License
MIT
Why we included this project
Codex Desktop only shows models its server-side config allows, so if you want to use your own API keys with Anthropic, DeepSeek, Gemini, or a local proxy, this shim puts them in the normal picker without rebuilding the client. It runs a small Python/aiohttp server on loopback that speaks the OpenAI Responses API, and translates each request to the matching upstream while keeping the agent loop intact: function calls, tool outputs, reasoning blocks, and streaming SSE survive the translation instead of being flattened to text. An optional passthrough routes Codex's native traffic to your ChatGPT subscription's Codex model, and the auto-router can send each task to the cheapest model that can handle it. If you already run BYOK models or a local proxy in front of your tools, this is a practical way to keep Codex's native UX while moving model routing off the server.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
OmniRoute
Open-source AI gateway: one endpoint, 290+ providers (90+ free), 500+ models, auto-fallback, token compression, MCP/A2A, works with Claude Code, Codex, Cursor, Cline, Copilot.
CLIProxyAPI
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.6 Series, Grok 4.5, Claude model through API
kong
🦍 The API and AI Gateway
novu
The open-source communication infrastructure for agents and products
GPT_API_free
Free API for large models, supports GPT, DeepSeek, etc., 10k free points daily, paid plans at 10-20% of official price.