Claude Code model router

Claudex

Run Claude Code with GPT models through Raine's claude-code-proxy.

Install

From source
git clone https://github.com/migueltorrezd/claudex.git

From the README

Claudex

Run the Claude Code harness with GPT models from a ChatGPT subscription.

Claudex is a small, opinionated setup layer around Claude Code and Raine's claude-code-proxy. You keep Claude Code's interface, tools, skills, hooks, permissions, and agents while requests are translated to the Codex Responses backend.

The translation layer is the work of Raine (@raine) and the claude-code-proxy contributors. Claudex only packages a launcher, tested defaults, and setup documentation. If this is useful, please star and support the upstream project.

What you get

- ccx: a separate launcher, so normal claude and codex remain untouched.
- GPT-5.6 Sol by default, with shortcuts for the other models currently recognized by the proxy.
- Sol for Claude Code's small/background utility requests instead of silently falling back to a Haiku alias the proxy cannot route.
- Sol at medium effort for the dedicated ccx bg lane.
- An optional custom background sub-agent configured at high effort.
- An interactive wizard that asks which models and effort levels you want.
- Proxy health checks and automatic Homebrew service recovery.
- Bounded sub-agent fan-out, request retries, and request timeouts by default.
- A ccx solo escape hatch that disables the Agent tool for one session.
- No API key in the repository. Authentication is handled by the proxy's Codex OAuth flow.

Requirements

- macOS or Linux with Homebrew, or Windows 10/11 with Windows PowerShell 5.1.
- Claude Code 2.1.217 or newer. That is the first release supporting all three configurable sub-agent limits.
- Homebrew installed.
- claude-code-proxy 0.1.17 or newer. The installer adds it when missing.
- A ChatGPT plan with Codex access. Model availability varies by account and can change.
- Git for cloning this repository.
- On…
Read the full README on GitHub

Details

Language
PowerShell
License
MIT
Last updated
27 September 2026
Topics
ai-agentsclaude-codecodexdeveloper-toolsopenai

FAQ

What is Claudex?

Run Claude Code with GPT models through Raine's claude-code-proxy. It is a model router for Claude Code, from migueltorrezd/claudex on GitHub.

How do I install Claudex?

Clone migueltorrezd/claudex from GitHub and follow the setup steps in its README.

Is Claudex popular?

migueltorrezd/claudex has 36 GitHub stars and 5 forks. It was last updated on 27 September 2026.

More model routers & proxies

Codebuddy2api

33

orangeboyChen/codebuddy2api

Proxy CodeBuddy with OpenAI-compatible and Anthropic-compatible APIs for Codex, Claude Code, and standard SDK clients.

Model routers & proxies10

Opencode Configs

30

jesseoue/opencode-configs

Self-healing, config-as-code stack for the OpenCode AI coding agent — one key, 17 curated OpenRouter frontier models (GLM/DeepSeek/Gemini/Qwen/Kimi), multi-agent teams, cost guards, telemetry off. Claude Code / Cursor alternative on your terminal.

Model routers & proxies17

Pentect

35

EdamAme-x/pentect

Local security proxy that keeps secrets and sensitive data out of AI requests. Supports Codex, Claude Code and more.

Model routers & proxies

Delegate Router

33

pvjbuilds/delegate-router

Claude Code and Codex CLI skill: an LLM router that delegates bulk, already-decided coding tasks to another model you already pay for (GPT via Codex, Gemini via agy, a Claude Opus subagent), on another subscription first. Benchmark-checked routes, cost per task measured on a bench, cross-model review. The host verifies every diff.

Model routers & proxies

Claude Router

38

alexei-led/claude-router

Claude Code plugin that picks the model and effort for each turn (micro, low, medium, or high tier), advised by Jev, Clef, OpenAI, or a local Ollama classifier.

Model routers & proxies/plugin install

Claude Code Gemini Proxy

36

kele527/claude_code_gemini_proxy

这是一个无缝桥接 Anthropic Messages API 与 Google Gemini API的代理工具,它能够实时地将来自客户端(如 Claude Code)的 Anthropic API 格式请求,转换为 Gemini 模型所需的格式,并将 Gemini 的响应再转换回 Anthropic 格式。 适用于没有claude api,但是又想用claude code的用户,用gemini2.5pro的api来替代。

Model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.