CCX is a high-performance AI API proxy and protocol translation gateway for Claude, OpenAI Chat / Codex Responses, and Gemini. It provides a unified entrypoint, built-in web administration, failover, multi-key management, channel orchestration, and model routing.
PROXY_ACCESS_KEY and optional ADMIN_ACCESS_KEYVisual channel management with drag-and-drop priority adjustment and real-time health monitoring.

Supports multiple upstream service types (Claude/Codex/Gemini) with flexible API key, model mapping, and request parameter configuration.
Real-time monitoring of request traffic, success rate, and response latency per channel.

CCX exposes one backend entrypoint:
Client -> backend :3000 -> |- / -> Web UI |- /api/* -> Admin API |- /v1/messages -> Claude Messages proxy |- /v1/chat/completions -> OpenAI Chat proxy |- /v1/responses -> Codex Responses proxy |- /v1/models -> Models API `- /v1beta/models/* -> Gemini proxy
Key properties:
See ARCHITECTURE.md for detailed design notes.
.env file next to the binary:PROXY_ACCESS_KEY=your-super-strong-secret-key
PORT=3000
ENABLE_WEB_UI=true
APP_UI_LANGUAGE=en
http://localhost:3000docker run -d \
--name ccx \
-p 3000:3000 \
-e PROXY_ACCESS_KEY=your-super-strong-secret-key \
-e APP_UI_LANGUAGE=en \
-v $(pwd)/.config:/app/.config \
crpi-i19l8zl0ugidq97v.cn-hangzhou.personal.cr.aliyuncs.com/bene/ccx:latest
git clone https://github.com/BenedictKing/ccx
cd ccx
cp backend-go/.env.example backend-go/.env
make run
Useful commands:
make run make dev make build
Set the default admin UI language with:
APP_UI_LANGUAGE=en
Supported values:
enidzh-CNInvalid values fall back to en.
PORT=3000
ENV=production
ENABLE_WEB_UI=true
PROXY_ACCESS_KEY=your-super-strong-secret-key
ADMIN_ACCESS_KEY=your-admin-secret-key
APP_UI_LANGUAGE=en
LOG_LEVEL=info
REQUEST_TIMEOUT=300000
GET /GET /health/api/*POST /v1/messagesPOST /v1/chat/completionsPOST /v1/responsesPOST /v1beta/models/{model}:generateContentRecommended local workflow:
make dev
Frontend only:
cd frontend
npm install
npm run dev
Backend only:
cd backend-go
make dev
Join the QQ group for discussion: 642217364
MIT