C
lich0821/ccNexus★ 961 · Go
Go API gateway for Claude Code and Codex CLI with failover and protocol conversion
MIT · Commercial Friendlyv5.4.0
Side-by-side 2026 comparison in LLMs & Inference: QuantumNous/new-api leads both total GitHub adoption (★ 53k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs AGPL-3.0 · Copyleft Warning.
Go API gateway for Claude Code and Codex CLI with failover and protocol conversion
Self-hosted Go API gateway for multi-provider model routing, access, and costs
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | lich0821/ccNexus | QuantumNous/new-api |
|---|---|---|
| Total GitHub Stars | ★ 961 | ★ 52,989 |
| 24h / 7d Velocity | +0 / +0 | +21 / +343 |
| 7-Day Trend Curve | ||
| Engineering Health | A · 83/100 | A+ · 91/100 |
| Deployment Signals | Docker · Self-Hosted · API | Docker · Self-Hosted · API |
| Primary Language | Go | Go |
| Commercial License | MIT · Commercial Friendly | AGPL-3.0 · Copyleft Warning |
| Activity | Updated 1mo ago | Updated yesterday |
| Latest Release | v5.4.0 | v1.0.0-rc.52 |
| Best For | Developers and teams that want Claude Code or Codex CLI to use multiple upstreams through one self-hosted endpoint, with failover and centralized usage tracking | Teams operating several authorized model APIs that want a stable client endpoint, centrally managed keys and quotas, and usage-based cost allocation |
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "随便写,不重要",
"ANTHROPIC_BASE_URL": "http://127.0.0.1:3000",
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": "64000", // 有些模型可能不支持 64k
}
// 其他配置
}mkdir -p data docker run --name new-api -d --restart unless-stopped \ -p 127.0.0.1:3000:3000 \ -e TZ=Asia/Shanghai \ -v "$(pwd)/data:/data" \ calciumion/new-api:latest
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy