Claude Code model router
Clipal
Minimal LLM API reverse proxy for Claude Code, Codex CLI & Gemini CLI — YAML routing, hot reload, and automatic provider failover. 极简 LLM API 反向代理:面向 Claude Code / Codex CLI / Gemini CLI,支持 YAML 配置、多上游优先级与自动故障转移。
Install
npm install -g clipalFound in the project README. Check it for setup steps after installing.
git clone https://github.com/PAIArtCom/Clipal.gitFrom the README
Clipal
Your Ultimate Local LLM API Gateway & Manager
English | 中文
Clipal is the local LLM API proxy built for developer productivity. If you use AI coding tools like Claude Code, Continue, Aider, or Cherry Studio, Clipal acts as your intelligent traffic controller. It consolidates multiple model providers, handles automatic failover, manages API keys, and offers a beautiful Web UI—so you can focus on coding, not configuring.
Join the WeChat Group
Scan the QR codes below to join the Clipal WeChat group or contact the author.
WeChat Group
Author WeChat
✨ Why Clipal?
🚀 One-Click CLI Takeover
No more hunting for hidden config files. With a single click in the Web UI, Clipal can automatically take over the configurations for 18 clients, including Claude Code, Codex CLI, OpenCode, Antigravity CLI, Pi, Qwen Code, Kimi Code, Copilot CLI, Grok Build and DeepSeek Harness. See the complete takeover catalog and limits.
- It configures the local base URL for you.
- It backs up your original settings.
- It provides a safe rollback whenever you want.
🛡️ Bulletproof Failover & Multi-Key Rotation
Tired of hitting rate limits or empty balances mid-generation?
- Multi-Key Pool: Configure multiple .api_keys for a single provider. Clipal rotates them automatically and retries locally before giving up.
- Priority Failover: Fall back to secondary models or providers instantly with out-of-the-box circuit breaking and quota management.
- OAuth Upstreams: Authorize Codex, Claude, and Antigravity-backed Google accounts from the Web UI. They participate in the same ordering, pinning, enable/disable, and failover flow as API-key providers, and Clipal refreshes access tokens automatically when a refresh token is available. Antigravity OAuth supports…Details
- Repository
- PAIArtCom/Clipal
- Website
- clipal.paiart.com
- Language
- Go
- Last updated
- 1 November 2026
- Topics
- api-gatewayapi-proxycc-switchccnexusclaude-codecodexgeminigemini-clillm-gatewayproxy-serverreverse-proxy
FAQ
What is Clipal?
Minimal LLM API reverse proxy for Claude Code, Codex CLI & Gemini CLI — YAML routing, hot reload, and automatic provider failover. 极简 LLM API 反向代理:面向 Claude Code / Codex CLI / Gemini CLI,支持 YAML 配置、多上游优先级与自动故障转移。 It is a model router for Claude Code, from PAIArtCom/Clipal on GitHub.
How do I install Clipal?
Run npm install -g clipal, then follow the setup in the README.
Is Clipal popular?
PAIArtCom/Clipal has 158 GitHub stars and 14 forks. It was last updated on 1 November 2026.
More model routers & proxies
Claude Code Provider Proxy
146ujisati/claude-code-provider-proxy
claude-code-provider-proxy
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.
Notion Manager
138SleepingBag945/notion_manager
Local account pool, dashboard & Anthropic-compatible API proxy for Notion AI. Claude Code compatible. Built with Go + React. 本地 Notion AI 多账号池管理与 API 代理工具,兼容 Claude Code,提供配额监控、Web 反向代理与 Anthropic 兼容接口。
BYOKEY
139AprilNEA/BYOKEY
Turn AI subscriptions into standard API endpoints. OpenAI & Anthropic compatible gateway — for Amp Code, Cursor, Factory CLI, and more.
Codex Proxy
164XxxXTeam/codex-proxy
Codex API 代理服务,提供 OpenAI / Claude 多协议兼容接口 用户交流群 : 1081291958
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.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.