What is CLIProxyAPI?
CLIProxyAPI is an open-source proxy server that provides OpenAI, Gemini, Claude, Codex, and Grok-compatible API interfaces for CLI models. CLIProxyAPI serves developers who want to access supported providers locally through compatible clients or SDKs. The repository describes support for services including Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, and Devin, with authentication and model access depending on the connected provider.
What CLIProxyAPI can do
CLIProxyAPI combines compatible API endpoints with authentication, response handling, and account distribution features. CLIProxyAPI supports OpenAI Responses and Gemini Interactions alongside Claude-compatible client access. The listed capabilities cover text and image inputs, tool use, and different response modes, while account-level support includes round-robin load balancing for Gemini, OpenAI, Claude, and Grok. WebSocket responses are explicitly limited to supported connections.
- CLIProxyAPI exposes compatible API endpoints for CLI models.
- CLIProxyAPI supports streaming and non-streaming responses.
- CLIProxyAPI provides WebSocket responses where supported.
- CLIProxyAPI supports function calling and tools.
- CLIProxyAPI accepts text and image inputs.
- CLIProxyAPI balances requests across multiple supported accounts.
How CLIProxyAPI works
CLIProxyAPI connects supported provider accounts or API interfaces to clients and SDKs using compatible protocols. CLIProxyAPI lists OAuth login for OpenAI Codex, Claude Code, and Grok Build, plus CLI authentication flows for Gemini, OpenAI, Claude, and Grok. Kimi access can use OAuth or compatible API interfaces, while Muse Code access supports Meta login and Meta Model API keys. Devin accounts connect through the documented --devin-login option.
Who CLIProxyAPI is for
CLIProxyAPI is for developers working with AI CLI services and applications that already use compatible clients or SDKs. CLIProxyAPI can support workflows that need local access to several providers, authenticated account connections, or request distribution across multiple accounts. Developers using tools or image inputs can also use the corresponding capabilities listed in the repository, subject to the support available through the selected provider connection.
- CLIProxyAPI connects compatible applications to supported CLI models.
- CLIProxyAPI supports local access to multiple provider accounts.
- CLIProxyAPI enables tool-calling workflows through supported interfaces.
CLIProxyAPI pricing and access
CLIProxyAPI is available from its public GitHub repository under the MIT license. CLIProxyAPI does not list software subscription tiers in the supplied page text. The repository separately describes provider account connections, API keys, and provider plans, so the open-source software license should not be read as a promise of unrestricted access to every upstream model. Sponsor offers describe separate services rather than CLIProxyAPI software plans.
CLIProxyAPI strengths and limitations
CLIProxyAPI brings compatible API interfaces, multiple authentication paths, and multi-account load balancing into an open-source project. CLIProxyAPI also has a recommended desktop companion, EasyCLIProxyAPI, for graphical configuration, automatic updates, system tray integration, and service start and stop controls. The main boundaries concern upstream availability and connection support: the repository notes that Gemini model availability varies by channel and that WebSocket responses are available only where supported.
- CLIProxyAPI requires authentication for account-based provider connections.
- CLIProxyAPI model access depends on the connected account and channel.
- CLIProxyAPI does not promise WebSocket support for every connection.
CLIProxyAPI FAQ
What is CLIProxyAPI?
CLIProxyAPI is an open-source proxy server that exposes CLI models through OpenAI, Gemini, Claude, Codex, and Grok-compatible API interfaces. CLIProxyAPI lets developers access supported providers locally using compatible clients or SDKs and supports connections to multiple CLI accounts.
Is CLIProxyAPI free?
CLIProxyAPI is available as an open-source project under the MIT license, and the supplied page lists no software subscription plans. CLIProxyAPI connects to provider accounts and API interfaces, so the software license does not establish free access to every upstream model.
Does CLIProxyAPI support multiple accounts?
CLIProxyAPI supports multiple accounts with round-robin load balancing for Gemini, OpenAI, Claude, and Grok. CLIProxyAPI also lists CLI authentication flows for those providers, allowing supported account connections to be used through compatible clients or SDKs.
Does CLIProxyAPI support tool calling and images?
CLIProxyAPI supports function calling and tools, along with multimodal inputs containing text and images. CLIProxyAPI also lists streaming and non-streaming responses, with WebSocket responses available where supported.
Does CLIProxyAPI have a desktop interface?
CLIProxyAPI recommends the separate EasyCLIProxyAPI desktop client for desktop use. The recommended client provides a graphical configuration interface, automatic updates, system tray integration, and controls to start or stop the CLIProxyAPI service.
From the community
No reviews yet
Be the first to review this tool. What you write helps the next person choose.




