# CLIProxyAPI

> Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the f… Added from the nightly trending feed on 2026-11-11 with 58,200 GitHub stars. Facts were checked against the project's own docs on 2026-11-17.

- Repository: https://github.com/router-for-me/CLIProxyAPI
- Official docs: https://github.com/router-for-me/CLIProxyAPI#readme
- Checked: 2026-11-17

## What it replaces
- Claude Code: Edit code across a repo from the terminal with an AI agent, Use the agent inside VS Code or JetBrains, Connect tools and data through MCP (partial). Draft: which jobs it covers is not checked yet.
  - Use it instead of paying for Claude Code? Personal use: Partly (Needs something paid: AI provider account or API key (Codex/ChatGPT, Claude, Gemini, Grok, Kimi, Devin or an Op…). Business: Partly.

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Confirmed | Yes; the proxy runs on your own computer or server. The models stay with the providers it signs in to | https://github.com/router-for-me/CLIProxyAPI#readme | 2026-11-17 |
| Code licence | Confirmed | MIT | https://github.com/router-for-me/CLIProxyAPI#license | 2026-11-11 |
| Model weights licence | Confirmed | No separate model weights; it forwards requests to Claude, OpenAI, Gemini, Grok, Kimi and other hosted models | https://github.com/router-for-me/CLIProxyAPI#readme | 2026-11-17 |
| Commercial use | Confirmed | The MIT licence allows commercial use of the proxy; the accounts it signs in to keep their own providers' terms | https://github.com/router-for-me/CLIProxyAPI/blob/main/LICENSE | 2026-11-17 |
| Paid services needed? | No | The proxy is free, but it only works with AI accounts you bring: Codex/ChatGPT, Claude Code, Gemini, Grok, Kimi or Devin logins, or API keys | https://github.com/router-for-me/CLIProxyAPI#overview | 2026-11-17 |
| Hardware | Partial | No local model and no GPU; it is a single Go program that forwards requests. No RAM or CPU figures are given | https://help.router-for.me/introduction/quick-start.html | 2026-11-17 |
| Operating systems | Confirmed | Release builds for Windows, macOS and Linux (amd64 and arm64), plus FreeBSD; also a Docker image and Homebrew | https://github.com/router-for-me/CLIProxyAPI/releases/latest | 2026-11-17 |
| Setup effort | Confirmed | Medium; install a release build, Homebrew, the Linux script or Docker, write a config file, then sign in to each provider account | https://help.router-for.me/introduction/quick-start.html | 2026-11-17 |

GitHub: 59785 stars, 9171 forks, last push 2026-12-01, archived: no.

## Alternatives to CLIProxyAPI
- [OpenCode](https://repoquarry.dev/projects/opencode.md): Open-source AI coding agent for the terminal, with a desktop app and IDE extension, that works with any model provider or a local model.
- [Claude Code](https://repoquarry.dev/projects/claude-code.md): Anthropic's agentic coding tool for the terminal, IDE and desktop: it reads your codebase, edits files, runs commands and handles git; needs a paid Claude plan.
- [OpenAI Codex CLI](https://repoquarry.dev/projects/codex-cli.md): OpenAI's open-source terminal coding agent; sign in with a ChatGPT plan or API key, or run local models through Ollama or LM Studio.
- [Gemini CLI](https://repoquarry.dev/projects/gemini-cli.md): Google's open-source terminal coding agent for Gemini models; since June 2026 it needs a paid Gemini API key or a Code Assist licence.
- [OpenHands](https://repoquarry.dev/projects/openhands.md): Self-hosted control center and CLI for AI coding agents, running OpenHands or Claude Code and Codex with any model, including local LLMs.
- [Cline](https://repoquarry.dev/projects/cline.md): Open-source coding agent for VS Code, JetBrains, the terminal and a desktop app, using your own model keys or local models via Ollama or LM Studio.
---
Source: RepoQuarry (https://repoquarry.dev/projects/cliproxyapi). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
