Claude Code model router
CLIProxyAPI
Proxy that exposes subscription-based CLIs as OpenAI, Gemini or Claude compatible APIs usable by Claude Code.
Install
git clone https://github.com/router-for-me/CLIProxyAPI.gitFrom the README
CLI Proxy API
English | 中文 | 日本語
If you want to use CLIProxyAPI on your desktop, we recommend our EasyCLIProxyAPI desktop client. It provides a graphical configuration UI, automatic updates, system tray integration, and one-click start/stop for the CLIProxyAPI service.
CLIProxyAPI is a proxy server that provides OpenAI/Gemini/Claude/Codex/Grok compatible API interfaces for CLI.
You can access the following providers locally and with multiple CLI accounts through any OpenAI (including Responses), Gemini (including Interactions), or Claude-compatible client or SDK.
Provider
Description
Kimi series models (Kimi K3.1 Pro, K3.1 Pro Highspeed, K3, K2.8 Preview, etc.). Kimi K3 is Moonshot AI’s previous-generation flagship and the world’s first open 3T-class model. With 2.8 trillion parameters, native vision, and a 1-million-token context window, K3 is built for long-horizon coding, knowledge work, and reasoning. CLIProxyAPI supports Kimi through OAuth or compatible API interfaces. Try a Kimi Code plan (中文站 | Global), or get an API key from the Kimi Open Platform (中文站 | Global). Thanks to Kimi for supporting CLIProxyAPI and the open-source community!
OpenAI GPT-6 models (GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna), including access through Codex OAuth. Astra is the flagship for complex reasoning and coding, Sol balances capability and cost, Terra focuses on visual reasoning and computer use, and Luna handles focused, high-volume work.
Anthropic Claude models (Claude Fable 5.1, Claude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5). Fable 5.1 is built for ambitious, long-running coding and knowledge work; Opus 5.5 brings strong agentic coding at a lower cost.
Google Gemini models include Gemini 4 Argon and Gemini…Details
- Repository
- router-for-me/CLIProxyAPI
- Language
- Go
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- antigravityclaude-codecluadecodexdevingeminimuseopenai
FAQ
What is CLIProxyAPI?
Proxy that exposes subscription-based CLIs as OpenAI, Gemini or Claude compatible APIs usable by Claude Code. It is a model router for Claude Code, from router-for-me/CLIProxyAPI on GitHub.
How do I install CLIProxyAPI?
Clone router-for-me/CLIProxyAPI from GitHub and follow the setup steps in its README.
Is CLIProxyAPI popular?
router-for-me/CLIProxyAPI has 57,412 GitHub stars and 8,794 forks, and is included in 2 curated Claude Code lists. It was last updated on 3 November 2026.
More model routers & proxies
CC Switch
152kfarion1231/cc-switch
Cross-platform desktop app for switching Claude Code providers, configs and MCP servers.
Claude Code Router
38kmusistudio/claude-code-router
Routes Claude Code requests to different models and providers based on rules you configure.
Rtk
85krtk-ai/rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Headroom
79kheadroomlabs-ai/headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Caveman
117kJuliusBrussee/caveman
why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
OmniRoute
84kcheaper-inference/OmniRoute
Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.