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: cheaper-inference/OmniRoute leads both total GitHub adoption (★ 92.1k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs MIT · Commercial Friendly.
Go API gateway for Claude Code and Codex CLI with failover and protocol conversion
Self-hosted OpenAI-compatible gateway for multi-provider routing and fallback
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | lich0821/ccNexus | cheaper-inference/OmniRoute |
|---|---|---|
| Total GitHub Stars | ★ 961 | ★ 92,106 |
| 24h / 7d Velocity | +0 / +0 | +150 / +1.5k |
| 7-Day Trend Curve | ||
| Engineering Health | A · 83/100 | A+ · 100/100 |
| Deployment Signals | Docker · Self-Hosted · API | Docker · Self-Hosted · API |
| Primary Language | Go | TypeScript |
| Commercial License | MIT · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 1mo ago | Updated today |
| Latest Release | v5.4.0 | v3.8.54 |
| 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 running coding assistants or internal LLM clients that need one API endpoint, centralized routing policies, and tested fallback across multiple upstream accounts |
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "随便写,不重要",
"ANTHROPIC_BASE_URL": "http://127.0.0.1:3000",
"CLAUDE_CODE_MAX_OUTPUT_TOKENS": "64000", // 有些模型可能不支持 64k
}
// 其他配置
}/v1/chat/completions on port 20128 in the quickstart, authenticated with an OmniRoute API key.auto uses a 16-factor scorer; auto/fast and auto/cheap express preferences rather than performance or price guarantees.# After connecting a provider, create your OmniRoute key in Dashboard → API Keys: curl http://localhost:20128/v1/chat/completions \ -H "Authorization: Bearer YOUR_OMNIROUTE_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy