Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 2.5 Pro, GPT 5, Claude, Qwen model through API
git clone https://github.com/router-for-me/CLIProxyAPI.githttps://help.router-for.me/
["1. **Install the CLIProxyAPI**: Use the package manager appropriate for your system to install the CLIProxyAPI. This will typically involve running a command in your terminal.\n\n2. **Configure the Proxy**: Use the CLIProxyAPI configuration command to specify the model you want to use. This will set up the proxy to route your API calls to the correct model.\n\n3. **Update Your Application Code**: Modify your application code to point to the CLIProxyAPI endpoint instead of your current API endpoint. This will involve updating the URL and any necessary parameters in your API calls.\n\n4. **Test the Integration**: Run your application and test the integration to ensure that it is working correctly. Check the output to verify that the API calls are being routed through the CLIProxyAPI and that the responses are as expected.\n\n5. **Monitor Performance**: Monitor the performance of your application to ensure that the integration is not causing any issues. Use tools like logging and monitoring to track the performance of your API calls and the overall performance of your application."]
Easily switch between multiple AI models for coding tasks without managing separate API keys.
Utilize OAuth to authenticate and manage multiple accounts for seamless access to AI services.
Implement a proxy server to streamline API requests and responses for AI coding tools.
Leverage multimodal input support to process both text and images in your automation workflows.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/router-for-me/CLIProxyAPICopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I want to use the CLIProxyAPI to integrate [MODEL_NAME] into my existing application. The application currently uses the OpenAI API format. What are the specific steps I need to follow to make this work? My application is built with [FRAMEWORK] and currently makes API calls to [CURRENT_API_ENDPOINT].
To integrate the CLIProxyAPI with your existing application, follow these steps:
1. **Install the CLIProxyAPI**: First, you need to install the CLIProxyAPI. You can do this by running the following command in your terminal:
```bash
pip install cliproxyapi
```
2. **Configure the Proxy**: Next, you need to configure the proxy to use the model you want. For example, if you want to use Gemini 2.5 Pro, you would configure the proxy like this:
```bash
cliproxyapi configure --model gemini-2.5-pro
```
3. **Update Your Application Code**: Update your application code to point to the CLIProxyAPI instead of the current API endpoint. For example, if your application is built with Flask and currently makes API calls to `https://api.openai.com/v1/completions`, you would update the code to use the CLIProxyAPI endpoint:
```python
import requests
response = requests.post(
'http://localhost:5000/v1/completions',
json={
'model': 'gemini-2.5-pro',
'prompt': 'Your prompt here'
}
)
print(response.json())
```
4. **Test the Integration**: Finally, test the integration to ensure that your application is correctly using the CLIProxyAPI. You can do this by running your application and checking the output.
By following these steps, you can integrate the CLIProxyAPI with your existing application and enjoy the benefits of the free Gemini 2.5 Pro, GPT 5, Claude, and Qwen models through the API.Smart ring for digital payments
Google's multimodal AI model and assistant
Unlock data insights with interactive dashboards and collaborative analytics capabilities.
Advanced foundation models via API and ChatGPT
Fast, flexible flat-file CMS for modern websites
AI assistant built for thoughtful, nuanced conversation
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan