Discover and explore top open-source AI tools and projects—updated daily.
Proxy API for diverse LLMs
Top 87.8% on SourcePulse
This project provides a unified API gateway for multiple large language models, including Gemini, OpenAI (Codex/GPT), Claude, and Qwen. It enables developers to access these diverse models through a single, OpenAI-compatible API endpoint, facilitating easier integration and potentially leveraging free tiers or multiple accounts for cost-effective and flexible LLM usage. The service targets developers seeking a consolidated interface for various AI models.
How It Works
CLIProxyAPI functions as a proxy server that exposes standardized API endpoints compatible with OpenAI, Gemini, Claude, and Codex. It handles authentication via OAuth flows for each provider and routes incoming requests to the appropriate backend LLM service based on the specified model. The architecture supports multiple accounts per provider, enabling load balancing and resilience. It also integrates with OpenAI-compatible clients and SDKs by simply reconfiguring the base_url
.
Quick Start & Requirements
go build -o cli-proxy-api ./cmd/server
.--login
(Gemini), --codex-login
(OpenAI), --claude-login
(Claude), or --qwen-login
(Qwen)../cli-proxy-api
.config.yaml
file or the --config
flag.Highlighted Details
Maintenance & Community
The project welcomes contributions via pull requests. Standard contribution steps are outlined, but specific details regarding maintainers, community channels (e.g., Discord, Slack), or a public roadmap are not detailed in the provided README.
Licensing & Compatibility
This project is licensed under the permissive MIT License. This license generally allows for commercial use, modification, and distribution, including integration within closed-source applications.
Limitations & Caveats
The project documentation notes that multi-account load balancing for the Gemini CLI is restricted to local access (127.0.0.1
is hardcoded) due to current authentication limitations for remote requests. The README does not explicitly mention alpha status, known bugs, or deprecation warnings.
16 hours ago
Inactive