Claude Code model router

CLIProxyAPI

Proxy that exposes subscription-based CLIs as OpenAI, Gemini or Claude compatible APIs usable by Claude Code.

57,412 stars 8,794 forksModel routers & proxies Source

Install

From source
git clone https://github.com/router-for-me/CLIProxyAPI.git

From 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…
Read the full README on GitHub

Details

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

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