ccproxy-api
by CaddyGlow
is a local reverse proxy providing unified access to multiple AI providers (Claude, Codex) through a single interface, using your existing subscriptions without API key billing.
# Add to your Claude Code skills
git clone https://github.com/CaddyGlow/ccproxy-apiCCProxy API Server
CCProxy is a local, plugin-based reverse proxy that unifies access to multiple AI providers (e.g., Claude SDK/API and OpenAI Codex) behind a consistent API. It ships with bundled plugins for providers, logging, tracing, metrics, analytics, and more.
Supported Providers
- Anthropic Claude API/SDK (OAuth2 flow or Claude CLI/SDK token files)
- OpenAI Codex (ChatGPT backend Responses API using OAuth for paid/pro accounts)
- GitHub Copilot (chat and completions for free, paid, or business accounts)
Each provider adapter exposes the same surface area: OpenAI Chat
Completions, OpenAI Responses, and Anthropic Messages. The proxy maintains a
shared model-mapping layer so you can reuse the same model identifier
across providers without rewriting client code.
Authentication can reuse existing provider files (e.g., Claude CLI SDK
tokens and the Codex CLI credential store), or you can run
ccproxy auth login <provider> to complete the OAuth flow from the CLI;
stored secrets are picked up automatically by the proxy.
Extensibility
CCProxy's plugin system lets you add instrumentation and storage layers without patching the core server. Bundled plugins currently include:
access_log: structured access logging for client and provider trafficanalytics: DuckDB-backed analytics APIs for captured request logsclaude_api: Anthropic Claude HTTP API adapter with health and metricsclaude_sdk: local Claude CLI/SDK adapter with session poolingcodex: OpenAI Codex provider adapter with OAuth supportcommand_replay: generatescurl/xhcommands for captured requestscopilot: GitHub Copilot provider adapter with OAuth token managementcredential_balancer: rotates upstream credentials based on healthdashboard: serves the CCProxy dashboard SPA and APIsdocker: runs providers inside Docker via CLI extensionsduckdb_storage: exposes DuckDB-backed storage for logs and analyticsmax_tokens: normalizesmax_tokensfields to provider limitsmetrics: Prometheus-compatible metrics with optional Pushgatewayoauth_claude: standalone OAuth provider for Claude integrationsoauth_codex: standalone OAuth provider for Codex integrationspermissions: interactive approval flow for privileged tool actions- [
pricing](ccproxy/p...