Tools/router-for-me/CLIProxyAPI

CLIProxyAPI

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

58.2k ★+640/wkestablishedGoMIT License →trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

CLIProxyAPI turns coding-agent subscriptions you already pay for (ChatGPT Codex, Claude Code, Antigravity, Grok Build, Devin, Kimi, Meta's Muse Code) into an OpenAI-, Gemini- and Claude-compatible API you can point other tools at. Log in once per account and it serves those quotas as an endpoint, with round-robin load balancing across multiple accounts. MIT licensed, a Go binary or Docker.

Setup is a single binary or docker compose, a config file, and OAuth logins per provider. It stores those tokens on the proxy host and exposes a management API, so lock it down if it ever leaves localhost. Releases ship almost daily, and Gemini CLI support moved into a separate plugin.

There's no paid tier; the cost is the subscriptions you proxy, and the risk is those accounts. Anthropic's terms say Claude plan credentials can't be routed through third-party apps, and Google's Antigravity terms call third-party access grounds for suspension. Google already ran a ban wave in February 2026 that also locked people out of Gemini CLI. Use the official APIs for anything in production.

The catch: this exists to stretch consumer plans past their intended use, and the README's sponsor wall now advertises residential proxies with one IP per account for multi-account operations. That's account-ban territory, and you're the one holding the account.

Free vs Self-Hosted vs Paid

fully free

Free: Everything. MIT licensed, self-hosted Go binary or Docker.

Self-hosted: Single binary or docker compose plus a config file. Stores provider OAuth tokens on the host and exposes a management API. Usage statistics require third-party add-ons since v6.10.

Paid: None from this project. You pay for the subscriptions you proxy. The org also publishes a separate SSPL-licensed Business edition repo with no published price. The real cost is account risk: Anthropic and Google terms prohibit routing subscription credentials through third-party tools, and Google has suspended accounts for it.

Free under MIT, but it runs on subscription accounts whose terms prohibit this use. The price is the risk of a ban.

What to do by team size

Solo
Use at your own risk; your subscription accounts are on the line
Small team
Skip; use official APIs
Medium team
Skip; terms violations aren't a foundation for team tooling
Large team
Skip
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
91/100 · A+
Adoption30/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 26,561 starsActive community: 4,408 forksPermissive license (MIT)

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
Router-For.ME (Organization)
Stars
58,238
Forks
8,946

Also by Router-For.ME

Explore Further

More tools in the directory

Featured in The Open Source Drop #4