一个现代化的 Claude Code & Codex API 代理服务,提供智能负载均衡、用户管理和使用统计功能。
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.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Documented (README)
git clone https://github.com/ding113/claude-code-hubTools 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.1k GitHub stars and was last updated today.
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 100/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 from today, with 40 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.
Deploy claude-code-hub to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/ding113-claude-code-hub)<a href="https://claudewave.com/repo/ding113-claude-code-hub"><img src="https://claudewave.com/api/badge/ding113-claude-code-hub" alt="Featured on ClaudeWave: ding113/claude-code-hub" width="320" height="64" /></a>More Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies