# CLIProxyAPI

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.6 Series, Grok 4.5, Claude model through API

Repository: https://github.com/router-for-me/CLIProxyAPI
Canonical: https://ross.abutalabs.com/products/cliproxyapi
Language: Go
License: MIT
License Family: permissive
Topics: claude-code, cluade, gemini, openai, codex, antigravity
Last push: 2026-08-26T21:31:42+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 30
- inputs: {"age_days": 428, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 824}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 48891, forks 7516 (observed 2026-08-28T04:12:11.554659+00:00)

## What it is
A Go-based proxy server that exposes OpenAI/Gemini/Claude/Codex-compatible API endpoints backed by CLI AI assistant accounts (Claude Code, ChatGPT Codex, Gemini/Antigravity, Grok, Kimi). It lets any OpenAI- or Claude-compatible client or SDK access these models locally, with multi-account support and a companion desktop management UI.

## Use cases
- use claude code subscription models through an openai-compatible api
- expose gemini cli accounts as a local api endpoint
- call gpt and claude models from any openai sdk
- proxy multiple ai cli accounts behind one api
- self-host an llm api gateway for coding assistants
- use codex or antigravity models in third-party tools

## When to choose
- you have CLI AI subscriptions and want to use those models via standard OpenAI/Gemini/Claude APIs
- you need a self-hosted proxy that unifies multiple LLM providers behind one endpoint
- you want multi-account rotation for CLI-based AI services

## When to avoid
- you need a fully sanctioned, officially supported API integration for production workloads
- you only have standard API keys and don't use CLI AI tools
- your usage may violate the underlying providers' terms of service

## Facets
- artifact type: service
- maturity: active
- function: proxy, api-framework, http-server, llm-inference, chatbot
- domain: large-language-models, apis, self-hosted, developer-tools, artificial-intelligence
- platform: windows, self-hosted, go, cli
- tags: openai-compatible-api, gemini-api, claude-api, api-gateway, llm-proxy, oauth-accounts, model-agnostic, linux, macos, docker

## Member repositories
- router-for-me/CLIProxyAPI (main) score 81
- router-for-me/Cli-Proxy-API-Management-Center (frontend) score 80
- router-for-me/EasyCLIProxyAPI (frontend) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:11.554659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:20:36.379406+00:00, confidence not recorded.
  - readme: https://github.com/router-for-me/CLIProxyAPI (fetched 2026-08-28T04:12:11.554659+00:00, sha 117e7cb0131a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
