cliproxyapi
brew install cliproxyapi
v7.2.20
MIT
Go daemon that exposes Claude, Gemini, Codex, and Qwen CLI tools as OpenAI-compatible API services.
Why you might care
Unify access to multiple AI code assistants behind a single API interface, enabling local CLI workflows and multi-account management without vendor lock-in. Useful if you're building tools that need to support multiple AI backends or want to route requests through a proxy for cost management and account switching.
4.3k
30-day installs · #675
13.0k
90-day · #707
24.4k
365-day · #975
38.0k
★ GitHub stars · updated today
Build dependencies
GitHub topics
antigravity
claude-code
cluade
codex
gemini
openai
Links
- https://github.com/router-for-me/CLIProxyAPI
- GitHub: router-for-me/CLIProxyAPI
- Brew formula source: Formula/c/cliproxyapi.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"ollama",
"vLLM",
"LiteLLM"
],
"build_dependencies": [
"go"
],
"categories": [
"proxy",
"api-server",
"networking"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Wrap Gemini CLI, Codex, Claude Code, Qwen Code as an API service",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:27+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cliproxyapi",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-20T23:25:30Z",
"github_readme_excerpt": "# CLI Proxy API\n\nEnglish | [\u4e2d\u6587](README_CN.md) | [\u65e5\u672c\u8a9e](README_JA.md)\n\nA proxy server that provides OpenAI/Gemini/Claude/Codex/Grok compatible API interfaces for CLI.\n\nIt now also supports OpenAI Codex (GPT models) and Claude Code via OAuth.\n\nSo you can use local or multi-account CLI access with OpenAI(include Responses)/Gemini/Claude-compatible clients and SDKs.\n\n## Sponsor\n\n[](https://www.packyapi.com/register?aff=cliproxyapi)\n\nThanks to PackyCode for sponsoring this project!\n\nPackyCode is a reliable and efficient API relay service provider, offering relay services for Claude Code, Codex, Gemini, and more.\n\nPackyCode provides special discounts for our software users: register using \u003ca href=\"https://www.packyapi.com/register?aff=cliproxyapi\"\u003ethis link\u003c/a\u003e and enter the \"cliproxyapi\" promo code during recharge to get 10% off.\n\n---\n\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"180\"\u003e\u003ca href=\"https://www.aicodemirror.com/register?invitecode=TJNAIF\"\u003e\u003cimg src=\"./assets/aicodemirror.png\" alt=\"AICodeMirror\" width=\"150\"\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003eThanks to AICodeMirror for sponsoring this project! AICodeMirror provides official high-stability relay services for Claude Code / Codex / Gemini, with enterprise-grade concurrency, fast invoicing, and 24/7 dedicated technical support. Claude Code / Codex / Gemini official channels at 38% / 2% / 9% of original price, with extra discounts on top-ups! AICodeMirror offers special benefits for CLIProxyAPI users: register via \u003ca href=\"https://www.aicodemirror.com/register?invitecode=TJNAIF\"\u003ethis link\u003c/a\u003e to enjoy 20% off your first top-up, and enterprise customers can get up to 25% off!\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"180\"\u003e\u003ca href=\"https://shop.bmoplus.com/?utm_source=github\"\u003e\u003cimg src=\"./assets/bmoplus.png\" alt=\"BmoPlus\" width=\"150\"\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003eHuge thanks to BmoPlus for sponsoring this project! BmoPlus is a highly reliable AI account provider built strictly for heavy AI users and develope",
"github_repo": "router-for-me/CLIProxyAPI",
"github_stars": 37965,
"github_topics": [
"antigravity",
"claude-code",
"cluade",
"codex",
"gemini",
"openai"
],
"homepage": "https://github.com/router-for-me/CLIProxyAPI",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 4254,
"installs_365d": 24396,
"installs_90d": 13000,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:46:20+00:00",
"llm_model": "claude-haiku-4-5",
"name": "cliproxyapi",
"oldnames": [],
"one_liner": "Go daemon that exposes Claude, Gemini, Codex, and Qwen CLI tools as OpenAI-compatible API services.",
"optional_dependencies": [],
"rank_30d": 675,
"rank_365d": 975,
"rank_90d": 707,
"raw_hash": "fad5386a4c481796",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cliproxyapi.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "7.2.20",
"versioned_formulae": [],
"why_use_this": "Unify access to multiple AI code assistants behind a single API interface, enabling local CLI workflows and multi-account management without vendor lock-in. Useful if you\u0027re building tools that need to support multiple AI backends or want to route requests through a proxy for cost management and account switching."
}