Status: [UNTESTED] Endpoints found: http://localhost:8300/v1/chat/completions Source: https://github.com/starhunt/star-cliproxy [English](./README.md) | [한국어](./README.ko.md) # star-cliproxy > Turn the AI CLI **subscriptions you already pay for** (Claude Max, ChatGPT Pro, Gemini, Copilot, Grok, Antigravity) into one **OpenAI-compatible API** — no extra API keys, no per-token billing. ![Dashboard](docs/images/dashboard.png) ## What is this? star-cliproxy runs your installed AI CLIs as subprocesses and exposes them behind a single local **OpenAI-compatible** endpoint (`/v1/chat/completions`, `/v1/messages`, `/v1/models`, `/v1/images/generations`). Point any OpenAI SDK at it — change only `base_url`, keep your code: ```python from openai import OpenAI client = OpenAI(base_url="http://localhost:8300/v1", api_key="sk-proxy-...") client.chat.completions.create( model="claude-sonnet", messages=[{"role": "user", "content": "Hello!"}], ) ``` ## Why star-cliproxy? - 💸 **Subscriptions, not API keys** — bill against Claude Max / ChatGPT Pro / etc. instead of metered API tokens. - 🔌 **One endpoint, many backends** — 6 active built-in CLIs (Claude, Codex, Copilot, Antigravity, Grok, Kimi) **+** any OpenAI-compatible HTTP server (vLLM, Ollama, MLX, LM Studio) **+** custom plugins. - 🧭 **Smart routing** — alias-based model mapping with priority fallback chains, per-model provider overrides, and session reuse (`codex exec resume`). - ⚙️ **Multiple execution modes** — `cli`, Claude **Agent SDK**, Codex **app-server**, and the new **channel-worker** bridge mode. - 📡 **Real SSE streaming** — native NDJSON/JSONL event pipes, not fake post-hoc chunking. - 📊 **Full dashboard** — live monitoring, Playground, request tracing with raw payloads, model/key management, rate limits, EN/KO + dark mode. - 🔒 **Hardened** — Zod-validated config (fail-fast at startup), SHA-256 key auth, prompt/CLI injection guards, timing-safe comparisons, secret redaction. - 🟣 **Anthropic Messages API** — `/v1/messages` lets native Claude Code / Anthropic SDK clients connec