Claude Code model router
Codex Openai Proxy
Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility
Install
git clone https://github.com/Securiteru/codex-openai-proxy.gitFrom the README
Codex OpenAI Proxy A proxy server that allows CLINE (Claude Code) and other OpenAI-compatible extensions to use ChatGPT Plus tokens from Codex authentication instead of requiring separate OpenAI API keys. Overview This proxy bridges the gap between: - Input: Standard OpenAI Chat Completions API format (what CLINE expects) - Output: ChatGPT Responses API format (what ChatGPT backend uses) Features - ✅ OpenAI API Compatibility: Accepts standard OpenAI Chat Completions requests - ✅ ChatGPT Plus Integration: Uses your existing ChatGPT Plus tokens - ✅ Cloudflare Bypass: Handles ChatGPT's Cloudflare protection with browser-like headers - ✅ HTTPS Support: Works with extensions requiring secure connections (via ngrok) - ✅ Streaming Responses: Full streaming support for real-time responses - ✅ CLINE Compatible: Tested extensively with CLINE VS Code extension - ✅ Array Content Support: Handles both string and array message formats from OpenAI SDK - ✅ Universal Routing: Bulletproof request routing that bypasses complex warp conflicts Quick Start 1. Build and Run 2. Setup HTTPS Tunnel (Required for CLINE) Most VS Code extensions require HTTPS: Security Note: Always use your own unique ngrok domain. Do not share your domain publicly to prevent unauthorized access to your proxy. 3. Configure CLINE Extension In VS Code CLINE settings: - Base URL: https://your-static-domain.ngrok-free.app - Model: gpt-5 (or gpt-4) - API Key: Any value (not used, but required by extension) 4. Test Connection How It Works Request Flow 1. CLINE → Chat Completions format → Proxy 2. Proxy → Converts to Responses API → ChatGPT Backend 3. ChatGPT Backend → Responses API format → Proxy 4. Proxy → Converts to Chat Completions → CLINE Format Conversion Chat Completions Request: Responses API…
Details
- Repository
- Securiteru/codex-openai-proxy
- Language
- Rust
- License
- MIT
- Last updated
- 8 August 2025
FAQ
What is Codex Openai Proxy?
Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility It is a model router for Claude Code, from Securiteru/codex-openai-proxy on GitHub.
How do I install Codex Openai Proxy?
Clone Securiteru/codex-openai-proxy from GitHub and follow the setup steps in its README.
Is Codex Openai Proxy popular?
Securiteru/codex-openai-proxy has 144 GitHub stars and 16 forks. It was last updated on 8 August 2025.
More model routers & proxies
Figaro
154byt3bl33d3r/figaro
Orchestrate fleets of Claude Code & Claude Computer Use agents across containers, VMs, and physical devices. Live desktop streaming, intelligent task delegation, and multi-channel human-in-the-loop gateway. Schedule tasks with self-healing and self-learning.
Zen Proxy
12712errh/zen-proxy
Use OpenCode Zen's free models in any coding agent. OpenAI + Anthropic compatible, so Claude Code works too. No account, no API key.
BYOKEY
139AprilNEA/BYOKEY
Turn AI subscriptions into standard API endpoints. OpenAI & Anthropic compatible gateway — for Amp Code, Cursor, Factory CLI, and more.
Cligate
135codeking-ai/cligate
Private AI assistant, AI agent, and unified model proxy for Claude Code, Codex CLI, Gemini CLI & OpenClaw. Skills, MCP, tools, channels, tasks,model routing, accounts, keys, logs, dashboard.
Edgee
142edgee-ai/edgee
Official Edgee CLI to interract with Edgee's Agent Gateway. Route Claude Code, Codex, Cursor, VS Code + Copilot, and more through Edgee's hosted gateway to cut token spend.
Claude Code Anymodel
99antonoly/claude-code-anymodel
Use Claude Code with any AI model — proxy tools for OpenRouter, Ollama, and 200+ models
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.