← all repositories
BenedictKing/ccx

One port, five AI APIs, a web UI, and a prayer

CCX is a Go proxy that unifies Claude, OpenAI, Codex, and Gemini behind a single endpoint with built-in load balancing and a visual admin console.

3.9k stars Go LLMOps · Eval
ccx
Velocity · 7d
+23
★ / day
Trend
accelerating
star history

What it does

CCX sits between your application and five different AI provider APIs—Claude Messages, OpenAI Chat Completions, OpenAI Images, Codex Responses, and Gemini—translating and routing requests through one local port. It bundles a web admin interface, channel orchestration, failover logic, and per-channel key rotation into a single Go binary with embedded frontend assets.

The interesting bit

The “channel orchestration” concept: you configure multiple upstream providers with priorities, health checks, and promotion windows, then drag them around a visual dashboard to control traffic flow. When one provider fails, the circuit recovers automatically. It’s the kind of operational tooling most API proxies leave as a YAML exercise.

Key highlights

  • Single-port deployment serves both the proxy endpoints (/v1/chat/completions, /v1/messages, etc.) and the web UI (/)
  • Dual-key auth separates proxy access from admin access
  • Per-channel controls: API key rotation, custom headers, model allowlists, route prefixes, and proxy settings
  • Session tracking for Codex Responses multi-turn workflows
  • Desktop app available via Microsoft Store and Homebrew Cask

Caveats

  • Docker image is hosted on a personal Alibaba Cloud registry (crpi-...aliyuncs.com), which may raise reliability or trust questions
  • Windows networking quirks explicitly documented: localhost may not resolve from WSL/Docker, requiring raw IPv4
  • Go 1.25+ and Bun required for source builds—bleeding-edge toolchain

Verdict

Worth a look if you’re running multiple AI provider keys in production and tired of hand-rolling failover logic. Overkill for personal API key management; the visual dashboard is the selling point, not the proxying itself.

Frequently asked

What is BenedictKing/ccx?
CCX is a Go proxy that unifies Claude, OpenAI, Codex, and Gemini behind a single endpoint with built-in load balancing and a visual admin console.
Is ccx open source?
Yes — BenedictKing/ccx is open source, released under the MIT license.
What language is ccx written in?
BenedictKing/ccx is primarily written in Go.
How popular is ccx?
BenedictKing/ccx has 3.9k stars on GitHub and is currently accelerating.
Where can I find ccx?
BenedictKing/ccx is on GitHub at https://github.com/BenedictKing/ccx.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.