Overview
The CLI Proxy (CLIProxyAPI) is the backend server that manages authentication and routes API requests to AI providers. ZeroLimit provides a comprehensive interface to manage the proxy lifecycle, configuration, and updates.Server Status
Check the current proxy status from the Settings page:- Running (green indicator) - Server is active and accepting requests
- Stopped (gray text) - Server is not running
You must be logged in to see server status and management controls.
Starting the Proxy
Verify executable path
In the CLI Proxy Server section, confirm that the Executable Path shows the correct path to your
cli-proxy-api.exe or cli-proxy-api-plus.exe.If the path is missing or incorrect:- Click Browse
- Navigate to your CLI Proxy installation folder
- Select the executable file
Start the server
Click the Start button with the play icon.The server will start in the background, and the status will change to “Running” with a green checkmark.
Stopping the Proxy
Configuring the Proxy
Auto-start on Launch
Automatically start the proxy when ZeroLimit opens:- Go to Settings page
- Find Auto-start on launch toggle
- Enable the toggle
- Proxy will start automatically on next app launch
- You use ZeroLimit regularly
- You want seamless startup experience
- You have a local proxy installation
Run in Background
Keep the proxy running when ZeroLimit window is closed:- Go to Settings page
- Find Run in background toggle
- Enable the toggle
- Close ZeroLimit - the app minimizes to system tray
- Proxy continues running
- App icon appears in system tray
- Click icon to restore window
- Right-click icon for menu:
- Open - Restore window
- Quit - Stop proxy and exit completely
- You want the proxy available continuously
- You use other tools that connect to the proxy
- You don’t want to restart the proxy frequently
Executable Path
Change the CLI Proxy executable location:- Go to Settings page
- Click Browse next to Executable Path
- Navigate to the new location
- Select the executable file (
cli-proxy-api.exeorcli-proxy-api-plus.exe) - Path is saved automatically
If the proxy is running when you change the path, you’ll need to restart it for the change to take effect.
Updating the Proxy
Check for Updates
Manually check if a newer version is available:Update to Latest Version
When an update is available:Click Update Now
When the version section shows a green arrow pointing to the new version, click Update Now.
Wait for download
ZeroLimit will:
- Stop the current proxy server
- Download the latest release from GitHub
- Extract the new executable
- Replace the old version
- Restart the proxy automatically
Automatic Update Detection
ZeroLimit automatically checks for updates when:- You click “Check for Update”
- The app starts (if enabled in preferences)
- Current version - Your installed version with build date
- Latest version - Newest available version (if different)
- Green arrow - Indicates update available
Switching Between Standard and Plus
CLIProxyAPI comes in two versions:- Standard - Core providers (Antigravity, ChatGPT, Claude, Gemini)
- Plus - All providers including Kiro and GitHub Copilot
Switch to Plus
If you’re using Standard and want Plus features:Wait for download
ZeroLimit will:
- Stop the current proxy
- Download CLIProxyAPI Plus from GitHub
- Extract to the same directory
- Update the executable path
- Restart the proxy
Switch to Standard
If you’re using Plus and want to downgrade:Remote Server Configuration
If you’re using a remote CLI Proxy server instead of a local installation:Connecting to Remote Server
Enter remote details
On the login screen:
- API Base URL:
https://your-domain.comorhttps://your-domain.com:8317 - Management Key: The
secret-keyvalue from server’sconfig.yaml - Enable Remember credentials to stay logged in
For remote servers, the Start/Stop controls are hidden since you don’t manage the server lifecycle.
Remote Server Features
When connected remotely:- ✅ All provider management works normally
- ✅ Quota monitoring is available
- ✅ Dashboard statistics work (if enabled on server)
- ✅ Settings can be viewed (server-side config)
- ❌ Cannot start/stop the server
- ❌ Cannot update the server version
- ❌ Cannot switch between Standard/Plus
Configuration File (config.yaml)
The CLI Proxy server is configured viaconfig.yaml in the installation directory.
Key Settings
AuthenticationEditing Configuration
You can edit some settings directly from ZeroLimit: Usage Statistics- Go to Settings page
- Find Usage Statistics card
- Toggle Enabled on/off
- Change is applied immediately (no restart required)
- Go to Settings page
- Find Logging card
- Toggle Enabled on/off
- Change is applied immediately
Troubleshooting
Proxy won’t start
Problem: Clicking Start does nothing or shows an error. Solution:- Verify the executable path is correct
- Check if another instance is already running:
- Open Task Manager (Windows)
- Look for
cli-proxy-api.exeorcli-proxy-api-plus.exe - End the process if found
- Try running the executable directly to see error messages
- Check Windows Firewall isn’t blocking the executable
- Run as Administrator if permission errors occur
Port already in use
Problem: Server fails to start with port conflict error. Solution:- Open
config.yamlin the CLI Proxy directory - Change
port: 8317to a different port (e.g.,8318) - Save the file
- Start the proxy
- Update API Base URL in ZeroLimit login:
http://localhost:8318
Cannot connect after starting
Problem: Server shows “Running” but ZeroLimit shows disconnected. Solution:- Check the proxy is actually running:
- Open browser to
http://localhost:8317 - Should see:
{"message": "CLI Proxy API Server"}
- Open browser to
- Verify API Base URL in login matches server address
- Check Windows Firewall isn’t blocking connections
- Try logging out and logging back in
- Restart the proxy from Settings
Update failed
Problem: Update process shows an error. Solution:- Check your internet connection
- Verify you can access
github.com - Check if Windows Defender or antivirus blocked the download
- Try updating manually:
- Download from CLIProxyAPI Releases
- Extract to your installation folder
- Replace the old executable
- Restart ZeroLimit
Version switch stuck
Problem: Switching between Standard/Plus freezes or fails. Solution:- Force-stop the proxy:
- Open Task Manager
- End
cli-proxy-api.exeprocess
- Wait 10 seconds
- Try the switch again
- If still stuck, manually download and install:
- Update executable path in Settings
Auto-start doesn’t work
Problem: Proxy doesn’t start when ZeroLimit launches. Solution:- Verify Auto-start on launch is enabled in Settings
- Check that Executable Path is valid
- Try starting manually to see if there’s an error
- Disable and re-enable Auto-start
- Check antivirus isn’t blocking startup
Next Steps
Add Accounts
Connect provider accounts now that your proxy is running
Troubleshooting
Solutions for common proxy and connection issues