router-for-me /CLIProxyAPI
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Series, Claude model through API
★ 58,632⑂ 8,991👁 119⑃ 3,062● 3,768▤ 935
+79
Daily
+611
Weekly
58,632
stars
8,991
forks
119
watchers
3,062
prs
3,768
issues
935
releases
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 3.8 Flash. CLIProxyAPI supports Gemini API, AI Studio, Vertex AI, Gemini CLI, and Antigravity accounts; model availability varies by channel. Gemini 3.8 Flash is Google's latest Flash model for long-horizon software engineering and agentic workflows. Antigravity's official model availability lists Claude Sonnet 5.5 (thinking) and Claude Opus 5.5 (thinking) for Google AI Pro (non-trial), Google AI Ultra, and Enterprise.
xAI Grok models (Grok 4.7, Grok 4.7 Build Fast, etc.). Grok 4.7 is SpaceXAI's latest model for coding, agentic tasks, and knowledge work.
Meta Muse models (Muse Wonder Full, Muse Wonder, Muse Spark 1.3, etc.). CLIProxyAPI supports Muse Code accounts through Meta login and Meta Model API keys, with Muse Spark 1.3 for coding and agentic workflows. Meta has announced Muse Wonder for Meta Model API and Muse Code, and Muse Wonder Full for Muse Code subscribers.
Devin
Devin models (SWE-2, SWE-2 Flash, GPT-6 Astra, Claude Fable 5.1, etc.). Connect a Devin account with --devin-login to route the models available to thatTop issues
#1564能否再难用一点?!54 comments · 2026-02-12#2064mac下正确的快速开始14 comments · 2026-03-11#3251就没人fork 下来,进行二次开发吗?4 comments · 2026-05-07#6188Malwarebytes flags this repo as malware3 comments · 2026-09-29#5874Support credential-level or per-model disable-image-generation for codex-api-key (Azure OpenAI rejects image_generation)3 comments · 2026-09-16#5360上游挂起(无响应体)时凭证轮换不触发,单个凭证吊死至反代超时,低优先级渠道无法接管3 comments · 2026-08-31#7029Responses websocket with Home: the finished turn's credential is not pinned when its selection was released first2 comments · 2026-10-26#6180Feature request: let 429 code value on cooldown be configurable.2 comments · 2026-09-28
Discussions
#7574Is Proxypilot throwing in the towel with Gemini oauth model support?0 comments · 2026-11-15#7567【實測分享】Antigravity 429:如何找出 Agent 內建 System Prompt 的問題片段0 comments · 2026-11-15#7541Antigravity 429 handling (SoftRetry/InstantRetrySameAuth) & request fingerprinting differences vs official agy CLI0 comments · 2026-11-14#7505为什么Antigravity的模型只支持最高档思考强度,有什么说法吗?0 comments · 2026-11-13#7480终于被 Antigravity 封了,在deepseek harness 里反代发了一条信息被封0 comments · 2026-11-12#7483[Feature] Claude OAuth 恢复上游连接复用,并提供可配置的空闲超时(IdleConnTimeout)3 comments · 2026-11-11#7372希望支持对特定得供应商配置代理0 comments · 2026-11-09#7324Mass GPT account bans in CPA this morning — is this due to detection?0 comments · 2026-11-07
Latest release
v8.0.73 v8.0.73 2026-11-15Linux release assets - CLIProxyAPI__linux_.tar.gz is the default Linux build. It supports dynamic library plugins and is built against a GLIBC 2.17 baseline. - CLIProxyAPI__linux__no-plugin.tar.gz is the portable Linux build for musl-based or older systems such as OpenWrt. It does not support dynamic library plugins. FreeBSD release assets - CLIProxyAPI__freebsd_aarch64_no-plugin.tar.gz is the FreeBSD arm64 build. It is built without CGO and does not support dynamic library plugins. Changelog - feat(gemini): add Gemini 4 models to registry (a16da834) - fix(thinking,registry): preserve