CLI Proxy API
Local proxy exposing Gemini, Codex and Claude CLI access as compatible APIs
CLI Proxy API is a server that lets tools built for OpenAI, Gemini or Claude send requests to command-line AI services. It is aimed at developers who already have CLI access to these models and want to point OpenAI-compatible clients and SDKs at them instead. Support covers OpenAI Codex models and Claude Code through OAuth sign-in.
It can work with several accounts at once, which suits local setups that switch between logins. The source code is public under the MIT license, and it is listed for Windows on winget. Qwen Code was recently added as the first Chinese provider.
Alternatives to CLI Proxy API
Products that do a similar job in AI Tools.
magpie
Pools several AI coding subscriptions and fails over to the next when one runs out
cc-switch
Desktop switcher for Claude Code, Codex and other AI coding assistants
agent-orchestrator
Runs and supervises fleets of coding agents from task to merged pull request
OmniRoute
OpenAI-compatible gateway for routing requests across many AI providers
orca
Runs a fleet of AI coding agents on your own subscriptions
9router
Gateway that routes AI coding assistants to many model providers
Maestro
Desktop command center for running AI coding agents
Paradev
Runs many AI coding agents in parallel from the command line