You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+116-6Lines changed: 116 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,113 @@ This is the Plus version of [CLIProxyAPI](https://github.com/router-for-me/CLIPr
6
6
7
7
All third-party provider support is maintained by community contributors; CLIProxyAPI does not provide technical support. Please contact the corresponding community maintainer if you need assistance.
8
8
9
-
The Plus release stays in lockstep with the mainline features.
9
+
So you can use local or multi-account CLI access with OpenAI(include Responses)/Gemini/Claude-compatible clients and SDKs.
This project is sponsored by Z.ai, supporting us with their GLM CODING PLAN.
16
+
17
+
GLM CODING PLAN is a subscription service designed for AI coding, starting at just $10/month. It provides access to their flagship GLM-4.7 & (GLM-5 Only Available for Pro Users)model across 10+ popular AI coding tools (Claude Code, Cline, Roo Code, etc.), offering developers top-tier, fast, and stable coding experiences.
18
+
19
+
Get 10% OFF GLM CODING PLAN:https://z.ai/subscribe?ic=8JVLJQFSKB
<td>Thanks to PackyCode for sponsoring this project! PackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more. PackyCode provides special discounts for our software users: register using <ahref="https://www.packyapi.com/register?aff=cliproxyapi">this link</a> and enter the "cliproxyapi" promo code during recharge to get 10% off.</td>
<td>Thanks to AICodeMirror for sponsoring this project! AICodeMirror provides official high-stability relay services for Claude Code / Codex / Gemini CLI, with enterprise-grade concurrency, fast invoicing, and 24/7 dedicated technical support. Claude Code / Codex / Gemini official channels at 38% / 2% / 9% of original price, with extra discounts on top-ups! AICodeMirror offers special benefits for CLIProxyAPI users: register via <ahref="https://www.aicodemirror.com/register?invitecode=TJNAIF">this link</a> to enjoy 20% off your first top-up, and enterprise customers can get up to 25% off!</td>
<td>Huge thanks to BmoPlus for sponsoring this project! BmoPlus is a highly reliable AI account provider built strictly for heavy AI users and developers. They offer rock-solid, ready-to-use accounts and official top-up services for ChatGPT Plus / ChatGPT Pro (Full Warranty) / Claude Pro / Super Grok / Gemini Pro. By registering and ordering through <ahref="https://shop.bmoplus.com/?utm_source=github">BmoPlus - Premium AI Accounts & Top-ups</a>, users can unlock the mind-blowing rate of <b>10% of the official GPT subscription price (90% OFF)</b>!</td>
<td>Thanks to Poixe AI for sponsoring this project! Poixe AI provides reliable LLM API services. You can leverage the platform's API endpoints to seamlessly build AI-powered products. Additionally, you can become a vendor by providing AI API resources to the platform and earn revenue. Register through the exclusive CLIProxyAPI <ahref="https://poixe.com/i/m8kvep">referral link</a> and receive a bonus of $5 USD on your first top-up.</td>
<td>Thanks to VisionCoder for supporting this project. <ahref="https://coder.visioncoder.cn"target="_blank">VisionCoder Developer Platform</a> is a reliable and efficient API relay service provider, offering access to mainstream AI models such as Claude Code, Codex, and Gemini. It helps developers and teams integrate AI capabilities more easily and improve productivity.
44
+
<p></p>
45
+
VisionCoder is also offering our users a limited-time <ahref="https://coder.visioncoder.cn"target="_blank">Token Plan</a> promotion: buy 1 month and get 1 month free.</td>
46
+
</tr>
47
+
</tbody>
48
+
</table>
49
+
50
+
## Overview
51
+
52
+
- OpenAI/Gemini/Claude compatible API endpoints for CLI models
53
+
- OpenAI Codex support (GPT models) via OAuth login
54
+
- Claude Code support via OAuth login
55
+
- Amp CLI and IDE extensions support with provider routing
56
+
- Streaming and non-streaming responses
57
+
- Function calling/tools support
58
+
- Multimodal input support (text and images)
59
+
- Multiple accounts with round-robin load balancing (Gemini, OpenAI, Claude)
see [MANAGEMENT_API.md](https://help.router-for.me/management/api)
76
+
77
+
## Usage Statistics
78
+
79
+
Since v6.10.0, CLIProxyAPI and [CPAMC](https://github.com/router-for-me/Cli-Proxy-API-Management-Center) no longer ship built-in usage statistics. If you need usage statistics, use:
Standalone persistence and visualization service for CLIProxyAPI, with periodic data sync, SQLite storage, aggregate APIs, and a built-in dashboard for usage and statistics.
Local-first usage and quota dashboard for CLIProxyAPI. It collects per-request token usage from the Redis-compatible usage queue into SQLite, visualizes daily and recent-window usage by account and model, and shows Codex 5h/7d quota remaining in a local web UI.
88
+
89
+
## Amp CLI Support
90
+
91
+
CLIProxyAPI includes integrated support for [Amp CLI](https://ampcode.com) and Amp IDE extensions, enabling you to use your Google/ChatGPT/Claude OAuth subscriptions with Amp's coding tools:
92
+
93
+
- Provider route aliases for Amp's API patterns (`/api/provider/{provider}/v1...`)
94
+
- Management proxy for OAuth authentication and account features
95
+
- Smart model fallback with automatic routing
96
+
-**Model mapping** to route unavailable models to alternatives (e.g., `claude-opus-4.5` → `claude-sonnet-4`)
97
+
- Security-first design with localhost-only management endpoints
98
+
99
+
When you need the request/response shape of a specific backend family, use the provider-specific paths instead of the merged `/v1/...` endpoints:
100
+
101
+
- Use `/api/provider/{provider}/v1/messages` for messages-style backends.
102
+
- Use `/api/provider/{provider}/v1beta/models/...` for model-scoped generate endpoints.
103
+
- Use `/api/provider/{provider}/v1/chat/completions` for chat-completions backends.
104
+
105
+
These routes help you select the protocol surface, but they do not by themselves guarantee a unique inference executor when the same client-visible model name is reused across multiple backends. Inference routing is still resolved from the request model/alias. For strict backend pinning, use unique aliases, prefixes, or otherwise avoid overlapping client-visible model names.
Browser-based tool to translate SRT subtitles using your Gemini subscription via CLIProxyAPI with automatic validation/error correction - no API keys needed
139
+
A cross-platform desktop and web app to translate and validate SRT subtitles using your existing LLM subscriptions (Gemini, ChatGPT, Claude, etc.) via CLIProxyAPI - no API keys needed.
Standalone persistence and visualization service for CLIProxyAPI, with periodic data sync, SQLite storage, aggregate APIs, and a built-in dashboard for usage and statistics.
Windows-focused, local-first desktop management platform for Codex CLI built on CLIProxyAPI, focused on simplifying local setup, account and runtime management, and providing a more complete Codex CLI experience for local users.
101
203
204
+
### [CLIProxy Pool Watch](https://github.com/murasame612/CLIProxyPoolWidget)
205
+
206
+
Native macOS SwiftUI app for monitoring ChatGPT/Codex account quotas in CLIProxyAPI pools. Displays account availability, Plus-base capacity, 5-hour and weekly quota bars, plan weights, and restore forecasts through the Management API.
207
+
102
208
> [!NOTE]
103
209
> If you developed a project based on CLIProxyAPI, please open a PR to add it to this list.
104
210
@@ -116,6 +222,10 @@ Never stop coding. Smart routing to FREE & low-cost AI models with automatic fal
116
222
117
223
OmniRoute is an AI gateway for multi-provider LLMs: an OpenAI-compatible endpoint with smart routing, load balancing, retries, and fallbacks. Add policies, rate limits, caching, and observability for reliable, cost-aware inference.
118
224
225
+
### [Playful Proxy API Panel (PPAP)](https://github.com/daishuge/playful-proxy-api-panel)
226
+
227
+
A public CLIProxyAPI-compatible fork and bundled management panel. It keeps upstream-style usage while restoring built-in usage statistics, adding cache hit rate, first-byte latency, TPS tracking, and Docker-oriented self-hosted installation docs.
228
+
119
229
> [!NOTE]
120
230
> If you have developed a port of CLIProxyAPI or a project inspired by it, please open a PR to add it to this list.
0 commit comments