claude-code-hub
一个现代化的 Claude Code & Codex API 代理服务,提供智能负载均衡、用户管理和使用统计功能。
- 3.4k stars
- 398 forks
- 41 open issues
- Language: TypeScript
- License: MIT
- updated
Install
git clone https://github.com/ding113/claude-code-hub- Clone the repository.
- Follow the README for installation and usage instructions.
Editor's note
Claude Code Hub is a self-hosted API proxy and management platform built with Next.js 15, Hono, PostgreSQL, and Redis, designed to route requests from Claude Code and OpenAI-compatible clients through multiple upstream AI providers simultaneously. It supports concurrent connections to Claude, Codex, Gemini CLI, and generic OpenAI-compatible backends, with weighted priority scheduling, circuit breaking, and up to three automatic failover attempts per request. Rate limiting is enforced across RPM, concurrent sessions, and spending windows (5-hour, weekly, monthly) using Redis Lua scripts for atomic operations. A notable technical detail is the auto-generated OpenAPI 3.1.0 documentation covering 39 REST endpoints, browsable through both Swagger and Scalar UIs. Additional features include a real-time dashboard, session-level decision-chain auditing with five-minute context caching, and a paginated price table with LiteLLM sync support. The platform targets engineering teams and organizations that need centralized control, per-user quotas, and full audit trails when sharing API access across multiple developers using Claude Code.
Tools overview
What people ask about claude-code-hub
What is ding113/claude-code-hub?
ding113/claude-code-hub is tools for the Claude AI ecosystem. 一个现代化的 Claude Code & Codex API 代理服务,提供智能负载均衡、用户管理和使用统计功能。 It has 3.4k GitHub stars and its last recorded update is dated 2026-10-22.
How do I install claude-code-hub?
You can install claude-code-hub by cloning the repository (https://github.com/ding113/claude-code-hub) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is ding113/claude-code-hub safe to use?
Our security agent has analyzed ding113/claude-code-hub and assigned a Trust Score of 97/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains ding113/claude-code-hub?
ding113/claude-code-hub is maintained by ding113. The last recorded GitHub activity is dated 2026-10-22, with 41 open issues.
Are there alternatives to claude-code-hub?
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.