CLIProxyAPI
58,198
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
Go
语言
创建时间
最近更新
项目能做什么
将多种 AI 代码工具封装为兼容 OpenAI/Gemini/Claude 等规范的 API 服务。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# CLI Proxy API
English | [中文](README_CN.md) | [日本語](README_JA.md)
If you want to use CLIProxyAPI on your desktop, we recommend our [EasyCLIProxyAPI](https://github.com/router-for-me/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.
<table>
<tbody>
<tr>
<th align="center" width="100">Provider</th>
<th align="center">Description</th>
</tr>
<tr>
<td align="center"><a href="https://www.kimi.com/code/?aff=cliproxyapi"><img src="./assets/logo/kimi.svg" alt="Kimi" width="28" height="28" /></a></td>
<td>Kimi series models (Kimi K3.1 Pro, K3.1 Pro Highspeed, K3, K2.8 Preview, etc.). <a href="https://platform.kimi.ai/docs/guide/kimi-k3-quickstart">Kimi K3</a> 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 <strong>Kimi Code plan</strong> (<a href="https://www.kimi.com/code?aff=cliproxyapi">中文站</a> | <a href="https://www.kimi.ai/code?aff=cliproxyapi">Global</a>), or get an <strong>API key</strong> from the Kimi Open Platform (<a href="https://platform.kimi.com?track_id=track-f15622e7182046baa22ca35e006e13a7&aff=cliproxyapi">中文站</a> | <a href="https://platform.kimi.ai?track_id=track-8a28e4b291d84f62af2fccc3e7a21cb3&aff=cliproxyapi">Global</a>). Thanks to Kimi for supporting CLIProxyAPI and the open-source community!</td>
</tr>
<tr>
<td align="center"><a href="https://developers.openai.com/api/docs/models"><img src="./assets/logo/openai.svg" alt="OpenAI" width="28" height="28" /></a></td>
<td>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.</td>
</tr>
<tr>
<td align="center"><a href="https://www.anthropic.com/claude/fable"><img src="./assets/logo/claude.svg" alt="Anthropic" width="28" height="28" /></a></td>
<td>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.</td>
</tr>
<tr>
<td align="center"><a href="https://antigravity.google/"><img src="./assets
阅读完整原文
商业机会分析 AI 生成
跨平台本地大模型 CLI 凭据与代理桌面管理软件
| 产品构想 | 基于 Go 核心封装轻量级跨平台桌面客户端(如 Wails/Tauri),提供可视化的 Cookie/Session/Token 导入、健康检测和本地标准 API 端口映射服务。 |
| 核心功能 | 一键会话授权、可视化健康检测与多账号轮询、本地标准 OpenAI/Claude API 虚拟端口管理、自动启动后台守护进程。 |
| 目标用户 | 不熟悉命令行配置、需要在 Cursor/Continue/LibreChat 中无缝使用免费/CLI 渠道模型的个人开发者与非技术人员。 |
| 难度/周期 | 中等 · 3 - 5 周 · 成本:< $300(代码签名证书、基础打包分发基础设施) |
| 收费模式 | 免费提供基础版,高级版(多账号智能负载均衡、自动化 Token 刷新脚本、多设备配置同步)实行买断制($19 - $39)。 |
| 竞争风险 | 上游官方平台(OpenAI、Anthropic 等)更新协议或加强风控导致凭据频繁失效;代码签名和平台审查风险。 |
| 依据 | 数据支持的判断 |
团队级混合 AI 聚合网关与降级路由系统
| 产品构想 | 转向合规与混合部署架构,将逆向接口与官方付费 API 结合,提供带熔断、故障降级、敏感词过滤与请求审计的自托管网关中间件。 |
| 核心功能 | 多协议(OpenAI/Claude/Gemini)相互转码、官方 API 与免费配额无缝自动降级切换、团队成员额度配额控制与调用日志审计。 |
| 目标用户 | 成本敏感型初创公司研发团队、中小型软件外包团队。 |
| 难度/周期 | 中等偏高 · 6 - 8 周 · 成本:< $500(开发服务器、测试 API 账单) |
| 收费模式 | 采用 Open-Core 开源核心,企业功能(SSO 登录、精准审计追踪、自动化合规过滤)按席位收取月度订阅费($15/人/月)。 |
| 竞争风险 | 如果过度依赖非官方逆向通道,易面临法律合规(ToS 违规)风险,需引导客户主要将逆向通道用于非生产测试。 |
| 依据 | AI推测 |
私有化多模型代理自动化部署与保活运维工具箱
| 产品构想 | 提供针对轻量级 VPS/云函数的一键部署脚本、自动化容器镜像更新服务及告警通知 Bot(如 Telegram/Discord)。 |
| 核心功能 | 一键 VPS 部署脚本、Cloudflare Workers 边缘反代配置生成器、上游接口失效即时推送告警、多节点容灾切换配置器。 |
| 目标用户 | 具备基础技术能力的独立黑客、自建 API 服务的技术博主。 |
| 难度/周期 | 低 · 2 - 3 周 · 成本:< $100(域名与轻量测试服务器) |
| 收费模式 | 通过 Gumroad/爱发电售卖自动化运维脚本包、进阶部署运维视频教程与专属答疑群($9 - $29 单次收费)。 |
| 竞争风险 | 用户更替频繁,单客生命周期价值(LTV)低,产品护城河浅容易被开源脚本替代。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| nextlevelbuilder/ui-ux-pro-max-skill | 中文介绍暂未生成 An AI skill that provides design intelligence for building p |
147,746 | Python |
| Graphify-Labs/graphify | 中文介绍暂未生成 Turn any codebase, with its docs, SQL schemas, configs, and |
145,554 | Python |
| addyosmani/agent-skills | 中文介绍暂未生成 Production-grade engineering skills for AI coding agents. |
115,031 | JavaScript |
| ComposioHQ/awesome-claude-skills | 中文介绍暂未生成 A curated list of awesome Claude Skills, resources, and tool |
79,213 | Python |
| colbymchenry/codegraph | 中文介绍暂未生成 Pre-indexed code knowledge graph, auto syncs on code changes |
77,296 | TypeScript |
| asgeirtj/system_prompts_leaks | 中文介绍暂未生成 Leaked system prompts of ChatGPT, Claude, Gemini and more. T |
71,143 | Python |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 ,发布过 100 个 Release |
| 社区活跃 | Star 58,198 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/router-for-me/CLIProxyAPI.git cd CLIProxyAPI # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。